I have a rather complicated user control - the user control has several update panels.
I am trying to use such a control inside the update panel:
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<asp:Button ID="btn1" runat="server" Text="Sample Button" /> <asp:Label ID="lblTime" runat="server"></asp:Label>
<cc1:MyCustomControl ID="MyCustomControl1" runat="server" >
</cc1:MyCustomControl>
</ContentTemplate>
</asp:UpdatePanel>
When I click the button on the update panel, it returns an asynchronous post and "screen flicker" does not appear. When I click the button in my custom control, the page flickers and makes the full post back.
Inside the custom control, there are update panels that try to make full callbacks (based on triggers).
How can I do an UpdatePanel at the page level without doing a full postback no matter what happens inside the custom control?
source
share