Best alternative solution for ASP.NET AJAX UpdatePanel for dynamically add and remove user controls without full postback
To nest UpdatePanel controlsIn the AJAX Extensions tab of the toolbox, double-click the ScriptManager control to add it to the page. In the toolbox, double-click the UpdatePanel control to add an UpdatePanel control to the page.
UpdatePanel controls are a central part of AJAX functionality in ASP.NET. They are used with the ScriptManager control to enable partial-page rendering. Partial-page rendering reduces the need for synchronous postbacks and complete page updates when only part of the page has to be updated.
If the UpdateMode property is set to Conditional, and one of the following conditions occurs: You call the Update method of the UpdatePanel control explicitly. The postback is caused by a control defined as a trigger by using the Triggers property of the UpdatePanel control.
Triggers for a given UpdatePanel, by default, automatically include any child controls that invoke a postback, including (for example) TextBox controls that have their AutoPostBack property set to true.
Use jQuery with ASP.NET Ajax PageMethods:
http://encosia.com/2008/05/29/using-jquery-to-directly-call-aspnet-ajax-page-methods/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With