471,073 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,073 software developers and data experts.

master page - reload/flickering

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
2 3677
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
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.

Similar topics

5 posts views Thread by sconeek | last post: by
1 post views Thread by Dunc | last post: by
reply views Thread by CSharpguy | last post: by
2 posts views Thread by CSharpguy | last post: by
5 posts views Thread by igotyourdotnet | last post: by
4 posts views Thread by Janet | last post: by
reply views Thread by John | last post: by
10 posts views Thread by =?Utf-8?B?RGFuaQ==?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.