Infragistics how to show ultrawebgrid edit template

ultrawebgrid punya suatu fitur untuk menampilkan suatu form bila user mengedit  lalu ada button ok dan cancel

bagaimana cara memunculkannya?

 

protected void GridViewRTSH_InitializeLayout(object sender, Infragistics.WebUI.UltraWebGrid.LayoutEventArgs e)
    {
       
        // Allow users to edit the data in the grid but only via a drop down template on the row
        e.Layout.Bands[0].AllowUpdate = Infragistics.WebUI.UltraWebGrid.AllowUpdate.RowTemplateOnly;
        // Go into edit mode as soon as a user enters a cell. This allows for fast data entry
        e.Layout.Bands[0].CellClickAction = Infragistics.WebUI.UltraWebGrid.CellClickAction.Edit;

    }

Share this post: | | | |
Published Friday, April 11, 2008 4:54 PM by cipto
Filed under:

Comments

No Comments