<asp:DataGrid id="dg1" runat="server"> <columns> <asp:templatefield> <itemTemplate> <asp:Label ID="lblid" runat="server" /> </itemtemplate> </asp:Templatefield> <asp:templateField> <itemTemplate> <asp:GridView id="gv2" runat="server"> <columns> <asp:TemplateField> <FooterTemplate> <Asp:DropDownList id="ddl1" runat="server" önSelectedIndexChanged="ddl_SelectedIndexChanged" AutoPostBack="true"/> </FooterTemplate> <asp:templateField> <asp:TemplateField> <FooterTemplate> <Asp:DropDownList id="ddl2" runat="server" /> </FooterTemplate> <asp:templateField> <columns> </asp:GridView> <itemtemplate> <asp:templatefield> </columns> </asp:DataGrid>
protected void ddl_SelectedIndexChanged(object sender,EventArgs e) { // here i want to find parent grid control "lblid". }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)