I have a grid which I have delete , edit and addnew buttons. standard buttons nothing more.
The update works fine. User clicks on it and then makes changes and presses standard grid on line edit check button and the codebehind fires. When the user clicks on the delete button a row is immediatly deleted from the grid but no code behind is executed. Now if I click on another control that forces a autopostback then all of a sudden the codebehind fires. Do I need to set a property i am not aware of?
<Columns><telerik:GridEditCommandColumn ButtonType="ImageButton"
FilterControlAltText="Filter EditCommandColumn column"></telerik:GridEditCommandColumn><telerik:GridClientDeleteColumn ButtonType="ImageButton"
FilterControlAltText="Filter column1 column"
UniqueName="column1">
</telerik:GridClientDeleteColumn>
<telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="MMType">
<ItemTemplate>
<asp:Label ID="lblMMType" runat="server"><%# DataBinder.Eval(Container.DataItem, "MultiMediaLookupText")%>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="MM_Dropdown" runat="server" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="MultiMediaText" HeaderText="MultiMediaText" UniqueName="MultiMediaText" />
</Columns>
The update works fine. User clicks on it and then makes changes and presses standard grid on line edit check button and the codebehind fires. When the user clicks on the delete button a row is immediatly deleted from the grid but no code behind is executed. Now if I click on another control that forces a autopostback then all of a sudden the codebehind fires. Do I need to set a property i am not aware of?
<Columns><telerik:GridEditCommandColumn ButtonType="ImageButton"
FilterControlAltText="Filter EditCommandColumn column"></telerik:GridEditCommandColumn><telerik:GridClientDeleteColumn ButtonType="ImageButton"
FilterControlAltText="Filter column1 column"
UniqueName="column1">
</telerik:GridClientDeleteColumn>
<telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="MMType">
<ItemTemplate>
<asp:Label ID="lblMMType" runat="server"><%# DataBinder.Eval(Container.DataItem, "MultiMediaLookupText")%>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="MM_Dropdown" runat="server" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="MultiMediaText" HeaderText="MultiMediaText" UniqueName="MultiMediaText" />
</Columns>