<asp:UpdatePanel ID="updateitem" runat="server" UpdateMode="Conditional">
<asp:Panel Id="Panel1" runat="Server"> this is actual panel in design page <asp:Panel Id="PanelD1" runat="Server"> this is dynamic created panel in code behind <asp:Panel Id="PanelD1Child1" runat="Server"> this is dynamic child panel of PanelD1 in code behind </asp:Panel> <asp:Panel Id="PanelD1Child2" runat="Server"> this is dynamic child panel of PanelD1 in code behind </asp:Panel> </asp:Panel> </asp:Panel>
if (DynamicPanel.Controls.Contains(CustPanel)) { DynamicPanel.Controls.Remove(CustPanel); CustPanel.Dispose(); updateitem.Update(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)