By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,665 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,665 IT Pros & Developers. It's quick & easy.

master page - reload/flickering

P: n/a
Is there a way to prevent the master page to reload every time the user makes
a selection off of the menu? I want to give it a "Frame" like appearance were
only the content section changes with a menu selection.
Sep 13 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 ContentPlaceHolder 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.

Sep 14 '06 #2

P: n/a
Hi,

Besides above suggestion, if you could depict your actual requirement, we
might find other possible workaround to achieve your goal.

Would you please reply here so that I can know the status of this post?

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 18 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.