maintain scroll on asp.net 2.0 page

Hi all,

all of you know SmartNavigation feature in asp.net 1.1 which maintain scroll position of aspx pages and it has alot of draw backs & problems.

now,asp.net 2.0 is shipped with a mazing feature equivelant to Smart Navigation but with out problems (unitl the time i post this thread),simply u can maintain your scroll position on any aspx page by applying one attribute on html view of your page.

on page tag put this attribute :

<%@ Page Language="C#" AutoEventWireup="true"
MaintainScrollPositionOnPostback=”true” />

that set…. :)

happy .net programming.


Regards,
Moustafa arafa

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>