Hi,
I'm afraid there's no way to prevent the master page from reloading after
postback.
At run time, master pages are handled in the following sequence:
1. Users request a page by typing the URL of the content page.
2. When the page is fetched, the @ Page directive is read. If the directive
references a master page, the master page is read as well. If this is the
first time the pages have been requested, both pages are compiled.
3. The master page with the updated content is merged into the control tree
of the content page.
4. The content of individual Content controls is merged into the
corresponding ContentPlaceHol der control in the master page.
5. The resulting merged page is rendered to the browser.
From the browser's point of view, it's a single html page, so there's no
way to only reload a part of it if it's posted back.
To reload part of the page without causing a postback of the whole page,
you may need to use some Ajax solution such as Atlas. Since Atlas is not
released yet, it's not supported in MSDN Managed Newsgroup yet. You can
refer to following websites for more information on it:
#ATLAS ASP.NET Web: The Official Microsoft "ATLAS" Site : Atlas
http://atlas.asp.net/Default.aspx?tabid=47
#ASP.NET Forums - "Atlas" Preview
http://forums.asp.net/default.aspx?ForumGroupID=34
Sincerely,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.