master page - reload/flickering

G

Guest

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.
 
W

Walter Wang [MSFT]

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 ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
==================================================

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

Walter Wang [MSFT]

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 ([email protected], 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top