Solved

500 points --- Flickering of Page

Posted on 2004-10-30
190 Views
Last Modified: 2006-11-17
Hi,

I am a professional ASP Developer and learning ASP.Net also. At the moment working for a client for a website project in ASP.Net.

What he is saying that he doen't want the left pane, right pane and header of the website to disappear and re-appear on every click on the menu. That seems to me that what he wants can be possible only by using frames. But just now I read that ...
--------------------------------------------------------------------------------------------------------------------------------------------
"If you're working with Internet Exporer 5.0 or a later version, you can overcome all these shortcomings by setting the SmartNavigation property to True, which performs the following tasks:


Eliminates the flashing that usually occurs when a page is reloaded.
Preserves the scroll position in longer pages.
Maintains the input focus between postbacks.
Retains only the last page state in the browser's history."
--------------------------------------------------------------------------------------------------------------------------------------------

Please let me know if its possible in any other than using frames.

Thanks,

Khurram.
0
Question by:khurram007
    5 Comments
     
    LVL 18

    Expert Comment

    by:tusharashah
    Yes, you are right on that... SmartNavigation is very useful feature of Web Application and will give your Web Application enhanced and user friendly effect.

    Smart Navigation is only supported in IE 5.0 or later browser. There for when you are targetting an application for a general browser, this feature won't be very helpful.

    You can Turn on SmartNavigation using one of the following way:

    1).
    <%@ Page ... ... SmartNavigation = "true" %>

    2). Specifing in web.config will enable SmartNavigation for your entire site...

    <pages smartNavigation="true|false"/>

    2nd Option is the option you should choose.. & you dont need to worry about any pages inside your Application..

    -tushar
    0
     
    LVL 25

    Assisted Solution

    by:nauman_ahmed
    If you are not sure who will be your targetted end-users, or in other words you are not developing a specific IE web application, then it will be better to go with frames as it will work on most of the browsers and you will be saving yourself from complains ;).

    Best, Nauman.
    0
     
    LVL 2

    Author Comment

    by:khurram007
    Thanks both of you,

    But the question is still there. Will SmartNavigation will work same as frames? Like only the center page will change and the left and right pane will remain constant???

    Khurram
    0
     
    LVL 25

    Expert Comment

    by:nauman_ahmed
    YOu will not need to use the smartnavigation if you will use frames. Your frame page middle section will be changing and the rest of other will remain the same. Here is a good tutorial on frames:

    http://www.w3schools.com/html/html_frames.asp

    Best, Nauman.
    0
     
    LVL 18

    Accepted Solution

    by:
    But the question is still there. Will SmartNavigation will work same as frames? Like only the center page will change and the left and right pane will remain constant???
    Well it depends upon what you are doing in next page.. if you're just changing Pages of DataGrid then SmartNavigation will serve ultimatly better.. But if in case you are opening totally new page with LOST of data in it.. as it's a new page it'll flicker for sure. Also, if you are going back to that page from IE back button that would be pretty fast and the focus of your page will remain still.

    Try it with MSDN website
      - Go to  http://msdn.microsoft.com/
      - Now Scroll Down and click on any Link from bottom of the Page
      - Now click back button of IE and see effect of Smart Navigation..

    -tushar
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now