Project Description
The ASP.NET AJAX UpdatePanel requires the whole page to render, but sends only the contents of the UpdatePanel to the client.
The goal of this project is the development of a component that really renders only the partial contents. This will increase the rendering speed and unload server resources.

Image1.png

If you want to support the development of PartialUpdatePanel, please click the following link
btn_donateCC_LG.gif
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=457272

Usage scenarious
Example scenarious where you better use the PartialUpdatePanel might be
  • Autonomous sections of your page that require PostBack-support but not the environment information of the whole page (e.g. data lists with paging support where the user can browse through news, feeds, mails, etc.)
  • User feedback when your control have to complete long operations. In this case use a PartialUpdatePanel with render method "Clientside". The surrounding page will be displayed with a waiting message. The user get's feedback that something is going on he has to wait for.

Technologies used
  • C#
  • ASP.NET
  • ASP.NET AJAX
  • .NET Framework 4.00

Things supported so far
The PartialUpdatePanel supports
  • Maintaining the viewstate. The viewstate of the partial content will be maintained during postbacks. Because evey PatialUpdatePanel manages it's own viewstate, less data is transfered between client and server than the AJAX UpdatePanel does.
  • PostBacks from childcontrols. Full postback support with event handling.
  • Parameters can be declared which will be transfered as GET-Parameters to the control. These parameters can be modified during runtime via JScript.
  • Autorefreshing the content every n milliseconds
  • Render the control initially synchronous (with all other controls on the page) or asynchronous (the page is sent to the client which requests the control to load)
  • Automatically execute JavaScript snippets from your Control via ScriptManager.RegisterStartupScript or ScriptManager.RegisterClientScriptBlock
  • Set a timeout after the LoadingTemplate should be shown
  • You can use controls from the AJAX Control Toolkit inside the PartialUpdatePanel
  • Globalization
  • Encrypt path to your UserControl
  • Using custom ScriptManagers (including ToolkitScriptManager)
  • Using ToolkitScriptManager.CombineScriptsHandlerUrl
  • Change UserControl path during runtime via JavaScript
  • Provides a PartialUpdatePanel.IsPostBack property for checking asynchronous post backs
  • Works with .NET 3.5 as well as .NET 4.0

Find a detailed description of the source code here: http://www.codeproject.com/KB/ajax/PartialUpdatePanel.aspx

Contact me at my blog http://www.iucon.biz/blog

Last edited Sep 13, 2010 at 1:24 PM by iucon, version 18