maintain scroll on 2.0 page

Hi all,

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

now, 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.

Moustafa arafa

Leave a Reply

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