dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: ASPNET
Expertise: Intermediate
Feb 16, 2002

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Better user experience with the SmartNavigation property

During a page postback, the page is redrawn by default and users see a short but annoying flickering. Worse, the scroll position isn't preserved during postbacks (the page scrolls to its top) and the first control on the page takes the input focus. This behavior contrasts with the experience that users have with regular Windows applications and tends to be confusing.

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.
  • This property is especially useful for forms that do a lot of postbacks but whose contents don

    Francesco Balena
     
    Comment and Contribute

     

     

     

     

     


    (Maximum characters: 1200). You have 1200 characters left.

     

     

    Sitemap
    Thanks for your registration, follow us on our social networks to keep up-to-date