.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to maintain scroll position after postback in asp.net 3.5

Posted By: Ramesh     Posted Date: June 08, 2009    Points:2   Category :ASP.Net
Hi,
how to maintain scroll position after postback in asp.net 3.5. In asp.net 1.1 smart navigation property were there to maintain scroll position is there anything equivalent to do so in asp.net 3.5

Responses
Author: Amit Mehra             
Posted Date: June 08, 2009     Points: 5   

HI,
There are two way you can do that

1) in Page directives set "MaintainScrollPositionOnPostback" to "ture" like this


<%@ Page Title="" Language="C#" MaintainScrollPositionOnPostback="true" ...../>


2) If you want in project level than in your web.config file inside "Page" tag you can set this property to true

Hope this helps.

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend