Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Hi , i have a p[age in asp.net in which a lot of controls are present which have auto post back property true.
so i want that after post back position should be same but it goes to top of the page after every post back .
MaintainScrollPositionOnPostback="true"
property doesn't work at all.
Posted 15-Nov-12 23:26pm
Comments
Nelek at 16-Nov-12 4:28am
   
Please don't think we can read minds or do astral projections to see your monitor. If you need help, the least you could do is to explain your problem in such a way, that the users of CP can understand it. Otherwise, nobody will be able to help you.
what have you tried?[^]
Nelek at 17-Nov-12 4:58am
   
And the relevant code? There are many ways to trigger a problem, we can not know which one is your favourite

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Some time sit maynot work in Firefox or Chrome.
 
If your problem is that you can find answer for this here:
 
http://www.aspsnippets.com/Articles/ASPNet-MaintainScrollPositionOnPostback-not-working-in-Firefox-and-Chrome.aspx[^]
 

You can use the same code even you are facing the problem for IE also.
 
This link is very helpful for your problem
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.150302.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100