How to load pages only in the content area without posting the entire page back to the server?


Can anyone suggest a method by which I could possibly load only the content area as I don't want the menu and other images around the content area to be loaded again with the same content as the data in the content area only changes without any change in the surrounding area of the pages.

Is there any method other than using controls to load the content area without a postback?


Karthik Muthuswamy
Programmer Analyst
3/25/2007 4:32:26 PM 93655 articles. 5 followers. Follow

4 Replies

Similar Articles

[PageSpeed] 14

It looks like what you need is the UpdatePanel to do partial-page rendering. This part of the Microsoft AJAX extensions.  

Check out this link:

Happy programming!


3/25/2007 5:24:24 PM


Does partial page rendering retrieve and display an entire page? I want the menu area and the header to remain static while the content area only loads. If partial page rendering does the trick then can you help me out with a simple example.


Karthik Muthuswamy
Programmer Analyst
3/26/2007 11:23:43 AM

hello my friend,

try the following example provided in this article

Refreshing only part of your Web Page

hope it helps,


 NOTE:This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
 Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,Microsoft cannot make any representations regarding the quality,safety, or suitability of any software or information found there.

Jessica Cao
Microsoft Online Community Support

“Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
3/27/2007 5:29:42 AM
Thank you, that was what I was looking for. Really userful

Karthik Muthuswamy
Programmer Analyst
3/27/2007 8:47:28 AM

Similar Artilces:

Change content pages of Master Page without Master Page posting back?
so Master + content pages seems like exactly what I want except that they are assembled on postbacks. I am trying to make a site where both Master and Content pages have updatepanels, and the site switches content pages (40+ content pages) without the master page refreshing. Master Pages are assembled on postbacks so I don't think simple master page will work without annoying postbacks. I tried an approach where load content pages inside an Iframe, but the content pages take too long to load becuase each content page loads its own scriptmanager. View/Multiview will probably work but dif...

Master Page Loads without Content page server controls data
My question is I have a Master Page, Content Page, and Code Behind File. I have some asp tags for Server Controls between the Content ID in the Content  Page. However, the code in my code behind is obviously not being ran because when I run the Content page my controls are empty. Could someone please tell me what is going on?   Thanks In Advance, Ronald hi, try using reinstalling the framework and register the aspnet in iis by aspnet_regiis -i, otherwise post the samplePlease Mark as Answer if it helps you...

Can you post a page back to the server without a form?
Can you post a page back to the server without a form from the HTML side? What are my options?  I am using Sharepoint with webparts that do not have a form in the code. I need to seperate a few things/functions based on some criteria that I can't get unless I submit the page back to the server.   any suggestions? Not sure if this is useful to help get me an answer But something like onclick="__doPostBack('CheckBox1','') but I all I want to do is post the entire page back....I dont care about checkboxes or txt boxes.  Just posting it back to s...

A page can have only one server-side Form tag
I have a web user control in my web page.  The user control (ascx) consist of a text box and button. The web page consist of text boxes and buttons also.  Both pages have form tags with runat=server.  When I run the web page it comes up with the error "A page can have only one server-side Form tag." Both the user control and web page need the form tag with runat=server.  Is there a way I can code these pages where there won't be a conflict between the web user control and the web page? Thanks   JohnMo wrote:Both the user control and web page need the form tag wit...

Can my web page with a form submit to other web pages forms?
I was wondering if I created an aspx page that had a form on it that I could use the submit button to submit this form's contents to other web pages forms(servers accepting those form's data). I am thinking this would be a great way to update data on particular web pages without having to actually visit those similar web pages. Any ideas, examples would be much appreciated. Thanks in advance.  Yes you can.  It's called Cross Page Posting: might ...

Load different content pages in content place holder without refreshing the whole page using ajax
Hi, I have built a ajax enabled website, where i have a master page which holds a content placeholder, and two content pages, where one is the home screen and another is a dashboard, a menu is placed in master page , by default home page is made to display, when the menu item dashboard is clicked , the the contentplace holder should load the dashboard page without postbacking the whole page, how to do that through ajax? Pleas help me...... Its very urgent, I am stucked......rprinfo hello. i'd say that you cannot do that in your scenario. i'd refactor the site and transform the ...

Having Problem in Posting Value from a Content Page to another Content Page within a Same Master Page
Hello, I have a Master Page which contains two Content pages named: Default.aspx and Default2.aspx. I want to post a TextBox1 value (in Default.aspx) to Default2.aspx in the Master Pages and all my pages are in ContentPlaceHolder, but it is not working.   Is there Any kind of help?  Hi,you can pass value between two web forms by Query string, session  or by using cookieFor query string  refer : save session in default.aspx Session("t1")=text1.text retrieve session astext2.text = session(&quo...

Could PB .NET Web Form POST security Information to others web page??
This is a multi-part message in MIME format. ------=_NextPart_000_00F9_01C9C4D5.8FB45C90 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Hi,=20 Have anyone came across the requesion to POST security informations from = PB .NET web form web page to other web site?? I have tried many datys, Could any kind man give me some suggessions?? thanks & Best regards Leon ------=_NextPart_000_00F9_01C9C4D5.8FB45C90 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML P...

How to preserve values in a web form when navigating to a different page and then going back to the original page using the back button ?
   I am working on a C#/ASP.NET web application. The web application basically consist of 3 web forms. Each form contains several controls such as an edit box, and some drop down list box controls. Basically I need to find out how to preserve the values in a web form when a person navigates to a different page. For example, suppose that in my web application I navigate from my first page (First.aspx) to my second page (Second.aspx). Now if I press the browsers back button, I want the application to retain the values for the controls that were in my first web form "first....

Web Page replaces page, but without BACK capability
Name: Mark Barnes Email: mbarnesatifshomedotcom Product: Firefox Summary: Web Page replaces page, but without BACK capability Comments: When I Click on a link it opens on the same page, and sometimes (not always) it appears as if it's the first time that page was opened and does not give a back capability. It is usually when I click to fill out a form or something like that. I'm not adept enough to go through the rigorous bug testing criteria and I don't see a user's group to see if others are having this problem, so I just thought I should let you know. It h...

how to load the content page without reflesh the master page?
i am working on a web UI , i crate a master page and 3 content the master page have a javascript , that it click a hyperlink to change the background color of the html table, in that hyperlink also link to an other content page. but not working. i try to use javascript to do it , it only go to the content page, not keep the color i click with, looks master have been reflesh. any tips please Time & space Hello, Yes, you have a master page and three content pages, but when it's all said and done, you have 3 separate pages.  The master page is just a way to ...

Page is posted back to Page Load Event on round trip
I am implementing ASP.NET AJAX in out project but on every round trip, the page is posted back to Page Load Event.Is am Missing anything.. This is my Source Code   <form id="frmClientJob" runat="server"> <ajax:ScriptManager ID="sClientJob" runat="server" EnablePartialRendering="true"> </ajax:ScriptManager> <ajax:UpdateProgress ID="uppNewClientJob" runat="server" AssociatedUpdatePanelID="uppnlNewClientJob"> <ProgressTemplate> <img src="images/ajax-loader.gif&qu...

How to pass the form contents of aspx page in .Net to Jsp page
Hi,   I want to pass the login information from aspx page to jsp page. plz help me how to do it. Please reply asap. Thanks...

Web page .aspx is slow when loading. Pages have web user controls on them that are loaded dynamically
I have written a web application using VS 2003. Several of my forms have web user controls on them. The controls are loaded dynamically at runtime. The problem is that the web pages are very slow to load. Does anyone know if there is a way to speed up the pages being loaded into the browser? Here is an example of some code I use to dynamically load the controls:  private void Page_Load(object sender, System.EventArgs e)  {   // Put user code to initialize the page here   // Put user code to initialize the page here    Co...