`

ASP.NET AJAX Tips and Tricks

阅读更多

ASP.NET AJAX Tips and Tricks


By default ASP.NET AJAX will load and render your controls even if they do not need to be updated.
Example:



In this case the Panel marked as "Slow loading area" will be updated by default even on DropDownList1 selected index changed.

What can we do to prevent this?

You can set Panel1.Visible to true/false according to the current ajax request.

Example:



Enjoy!

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics