<igtbl:TemplatedColumn Hidden="false" BaseColumnName="Add" Key="Add"> <CellTemplate> <asp:ImageButton ID="btnAdd" runat="server" ImageUrl="~/images/Add.gif" OnClick="btnAdd_Click" /> </CellTemplate> </igtbl:TemplatedColumn>
I have this setup in the InitializeLayout
protected void UltraWebGrid1_Initializelayout(object sender, Infragistics.WebUI.UltraWebGrid.UltraGridEventArgs e){ UltraWebGrid1.DisplayLayout.AddNewBox.Hidden = false; UltraWebGrid1.DisplayLayout.AllowAddNewDefault = Infragistics.WebUI.UltraWebGrid.AllowAddNew.Yes; }
When I click on Add new row, except the templated column, all other bound columns get added. Any suggestions please
If I need to use the UltraWebGridColumn of Type="Button", then how to handle its server side event. Could anyone tell what is the server side event for Type Button
I answered similar questions in this thread.