Viewing "Wilson's" Blogs

Jul
12

Something to know about Update Panel (Programmer edition blog)

By Wilson Chan | Posted on 2007 4:44 PM | Comments on 3 comments

 

Update Panel is a great tool for presentation layer but not performance...

An UpdatePanel used this way improves the user experience, but it does little to reduce the volume of data being passed over the wire. The UpdatePanel hardly reduces the load on the server, either—up to the point that the controls inside the UpdatePanel render, the processing performed on the server is almost identical to what happens during a full-blown postback. It has to be this way because one of the benefits of the UpdatePanel control is that server-side event handlers like GetCityAndState work no differently inside an asynchronous callback than they do in a traditional postback. That means controls on the page have to be instantiated, they have to be initialized, they have to have access to view state, and so on.

http://msdn.microsoft.com/msdnmag/issues/07/06/WickedCode/

This post is categorized under: ASP.Net

  • Blog Tools:
  • Del.cio.us
  • Google
  • Stumbleupon
  • Yahoo
  1. Paul Oliveira said on 1/17/2008 2:45 PM Approve this comment

    @!*$

  2. Paul Oliveira said on 1/17/2008 2:54 PM Approve this comment

    ****in ****

  3. Jennifer Jones said on 7/24/2008 10:48 AM Approve this comment

    This is true, but it also depends on the scenario you are using them and the load of data. Also, it is important to only update the part of the page that you want refreshed using triggers. An easy mistake that can be made is wrapping the update panel around the entire area, including the section that triggers the event.

Leave a Comment

* Name:
* Email: (will not be displayed)
URL:
* Comment:
Enter the code shown:

  • Anonymous Comments Are Enabled
  • Moderated Comments Are Enabled
  • Fields marked with an asterisk (*) are required.
  • a, strong, em and code tags are allowed. Line breaks and paragraphs are automatically generated. Inappropriate comments will be either deleted or edited.