473,669 Members | 2,471 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1547
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.nospamw rote in message
news:95******** *************** ***********@mic rosoft.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.nospamw rote in message
news:95******** *************** ***********@mic rosoft.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.nospamw rote in message
news:95******** *************** ***********@mic rosoft.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.nospamw rote in message
news:88******** *************** ***********@mic rosoft.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!
************** *************** *************** *****
"igotyourdotne t" <ig************ @nospam.nospamw rote in message
news:95******* *************** ************@mi crosoft.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
3150
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 pages? Kinda sorta a critical point no? Am I missing something? Rob. P.S. the day I find a book that actually is useful rather than just a
5
3476
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 menu. When i click on this button it rises a postback and refresh all my controls. My question is the following : is it possible the postback acts only on one web control ? Thanks in advance
1
1966
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 page. I have the June Atlas CTP installed.
4
3913
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 these two things, the page flashes everytime my textbox changes and the panel is updated. If I just use a regular textbox along with the Master Page, it works fine. If I use by user control without the Master Pages, it works fine. When I...
0
1308
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 to run Google Map creation and population script? I can't run it in master page on load, as this master page is used by another pages, which do not use Google map.
0
1075
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, highlighted my project, right-clicked and clicked on Add New Item... Under Visual Studio installed templates, I expected to see a Master Page template but it is no longer there. I uninstalled Atlas and the Master Page template is still not there. ...
2
3854
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 menu selection.
3
5278
by: Shailesh Patel | last post by:
Hi, Where can I find good tutorial for AJAX with Masterpages. Thank you in advance. Shailesh
0
1036
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 clicks a ButtonLink in the aspx page I want it to trigger the button OnClick on the master page. I have tried the following;
0
8465
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8894
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8803
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2792
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2029
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.