How can I use double buffering in asp.net C#?
I want smthng like开发者_开发百科 that : I dont want full page refresh when I click a button in a web page.. I think it can be solved with double buffering. When a button clicked for redirect a content page (button-in master page), current page will not go until the redirected page completely load in the background..
Can anybody help me, please ?
Have a look at
- UpdatePanel control
- UpdatePanel Control Overview
- UpdatePanel tutorial ASP.NET AJAX
- Using the ASP.NET UpdatePanel Control
The UpdatePanel control is probably the most important control in the ASP.NET AJAX package. It will AJAX'ify controls contained within it, allowing partial rendering of the area.
Then don't use the postback model in provided in ASP.NET! ASP.NET will cache some content on it's own, so some round trips will be faster, but the postback thing gets used by default all the time.
Using updatable controls, AJAX, or straight client-side scripting are all ways to avoid round trips. Which you use depends on what you need done on the page.
精彩评论