Monday, November 20, 2006

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
Post a Comment