473,388 Members | 1,426 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

master pages and atlas

I have a treeview menu on my master page, When I click a menu option the page
"flickers" and loads the content section.

is it possible to add atlas somehow to stop the flickering when I make a
menu selection and load the content section? If so how?
Sep 18 '06 #1
5 1532
Most likely not. here is the most probable scenario.

1. User clicks on menu
2. New page is requested
3. Menu is painted in
4. Menu is opened exactly as it was prior to the click

In these cases, the flicker is caused by the fact that the menu is set up in
a default condition and then opened with JavaScript. Atlas will not help
here, unless you change the paint mechanism, but you can change that without
Atlas, as well.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"igotyourdotnet" <ig************@nospam.nospamwrote in message
news:95**********************************@microsof t.com...
>I have a treeview menu on my master page, When I click a menu option the
page
"flickers" and loads the content section.

is it possible to add atlas somehow to stop the flickering when I make a
menu selection and load the content section? If so how?


Sep 18 '06 #2
You may want to take a look at this MSDN article:

http://msdn.microsoft.com/msdnmag/is...e/default.aspx
"igotyourdotnet" <ig************@nospam.nospamwrote in message
news:95**********************************@microsof t.com...
>I have a treeview menu on my master page, When I click a menu option the
page
"flickers" and loads the content section.

is it possible to add atlas somehow to stop the flickering when I make a
menu selection and load the content section? If so how?


Sep 18 '06 #3
how can I change the "paint mechanism" with or without atlas?
The flickering is annoying

"Cowboy (Gregory A. Beamer)" wrote:
Most likely not. here is the most probable scenario.

1. User clicks on menu
2. New page is requested
3. Menu is painted in
4. Menu is opened exactly as it was prior to the click

In these cases, the flicker is caused by the fact that the menu is set up in
a default condition and then opened with JavaScript. Atlas will not help
here, unless you change the paint mechanism, but you can change that without
Atlas, as well.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"igotyourdotnet" <ig************@nospam.nospamwrote in message
news:95**********************************@microsof t.com...
I have a treeview menu on my master page, When I click a menu option the
page
"flickers" and loads the content section.

is it possible to add atlas somehow to stop the flickering when I make a
menu selection and load the content section? If so how?


Sep 18 '06 #4
Alec suggested this, but I am not completely sure it will solve the issue:
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

The only sure fire way to avoid flicker is to hand paint each time rather
than rely on ViewState to JavaScript out to the correct representation. But,
this is a lot of work and might still cause a slight flicker as the page
reloads. You can possibly circumvent by causing the page content to load via
Ajax, but this may push you to a point where all of your data access is
Ajax, which is a hard app to maintain.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
"igotyourdotnet" <ig************@nospam.nospamwrote in message
news:88**********************************@microsof t.com...
how can I change the "paint mechanism" with or without atlas?
The flickering is annoying

"Cowboy (Gregory A. Beamer)" wrote:
>Most likely not. here is the most probable scenario.

1. User clicks on menu
2. New page is requested
3. Menu is painted in
4. Menu is opened exactly as it was prior to the click

In these cases, the flicker is caused by the fact that the menu is set up
in
a default condition and then opened with JavaScript. Atlas will not help
here, unless you change the paint mechanism, but you can change that
without
Atlas, as well.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************** **
Think outside of the box!
*********************************************** **
"igotyourdotnet" <ig************@nospam.nospamwrote in message
news:95**********************************@microso ft.com...
>I have a treeview menu on my master page, When I click a menu option the
page
"flickers" and loads the content section.

is it possible to add atlas somehow to stop the flickering when I make
a
menu selection and load the content section? If so how?




Sep 18 '06 #5
Hello,

I think the flickering is due to the TreeView control will postback for
node selecting unless the TreeNode is configured as a navigate link(has
NavigationUrl ).

Yes, the Atlas has provided an UpdatePanel which can help postback and
rerender partial of a page without postback. However, any codebehind that
executed and the controls referenced by the updatepanel is also limited to
the controls within that UpdatePanel. For your scenario, you'll load some
certain content at the TreeNode's select event, I think the content area
should be in a different part on the page other than the TreeView's. Thus,
UpdatePanel won't quite work.

BTW, if the load content operation and codelogic does include many
server-side setting changes, I think it's reasonable to postback the page.
Would you provide us some detailed info on how you change the content in
TreeView's SelectedNode change event?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 19 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content...
5
by: Vincent A. | last post by:
Hello, I'm developping an asp.net application which used master page on which i add several web control. One of the them is a menu control which as several button in order to develop each sub...
1
by: amir | last post by:
Hi, When compiling a page in VS2005 this morning I received 101 messages regarding schema problems in my web.config file. When I go to view an aspx page in my IIS, IE just displays a blank...
4
by: Diane Yocom | last post by:
I'm trying to use an Atlas UpdatePanel to just update a label when a text box has changed. The problem is that my textbox is in a user control and I'm using Master Pages - with the combination of...
0
by: Andrew_Vodo | last post by:
Hi, I'm developning ASP.Net 2.0 application which will use Google Map. The page with Google Map uses master page. As Google map uses client-side script, the first problem is where do I have...
0
by: JT | last post by:
I have created master pages in the past but it was a while ago. Today I installed the Atlas download (July 2006 version). I went to create a website project and went to the Solution Explorer,...
2
by: igotyourdotnet | last post by:
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...
3
by: Shailesh Patel | last post by:
Hi, Where can I find good tutorial for AJAX with Masterpages. Thank you in advance. Shailesh
0
by: Proogeren | last post by:
Hello I have a problem I am using ajax and I have a aspx page that belongs to a master page. I am using the update panel on the aspx page and want to acheive the following When the user...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.