I have the following grid, but have found that the Itemcommand event is not fired when I click btnEdit2 on the detail table. It does fire correctly when I click the button on the master table. Do I need to do anything else to get this to work?
Thanks
Thanks
<telerik:RadGrid ID="testgrid" runat="server" OnItemCommand="ItemCommand" DataSourceID="dsAppointments"> <MasterTableView Name="Master" DataSourceID="dsAppointments" DataKeyNames="TaskID" EditMode="PopUp" AllowAutomaticUpdates="true" CommandItemDisplay="Top"> <CommandItemSettings ShowAddNewRecordButton="false" ShowExportToCsvButton="false" ShowRefreshButton="false" /> <Columns> <telerik:GridTemplateColumn UniqueName="Edit"> <ItemTemplate> <asp:LinkButton ID="btnEdit1" runat="server" CommandName="JumpTo" CommandArgument='<%# Eval("TaskID") %>' CausesValidation="false" PostBackUrl="~/Default.aspx"> Edit </asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> <DetailTables> <telerik:GridTableView Name="Detail" DataSourceID="dsAttendees" CommandItemDisplay="None" DataKeyNames="TaskID" TableLayout="Auto" HorizontalAlign="NotSet" ShowHeader="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true"> <ParentTableRelation> <telerik:GridRelationFields MasterKeyField="TaskID" DetailKeyField="TaskID" /> </ParentTableRelation> <Columns> <telerik:GridTemplateColumn UniqueName="Edit"> <ItemTemplate> <asp:LinkButton ID="btnEdit2" runat="server" CommandName="JumpTo" CommandArgument='<%# Eval("TaskID") %>' CausesValidation="false" PostBackUrl="~/Default.aspx"> Edit </asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </telerik:GridTableView> </DetailTables> </MasterTableView></telerik:RadGrid>