• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 465
  • Last Modified:

multiview position question

i have 3 views in my page

view1
view2
view3


when it goes from 1 to 2 to 3  i want them to start from the top of the view.  
in some cases it starts at the middle of the view.  is there anyway to control this?
0
gianitoo
Asked:
gianitoo
  • 3
1 Solution
 
ksaulCommented:
This might be happening because you have MaintainScrollPositionOnPostback="true"  

You can take it out of the @Page directive or set it in code: Page.MaintainScrollPositionOnPostBack = false;

0
 
CJ_SCommented:
In addition to ksauls comment I'd like to add that the same behavior will happen when you use an asp:UpdatePanel.
0
 
gianitooAuthor Commented:
i am using those 2 scenarios.  
0
 
gianitooAuthor Commented:
ok how can fix this if my issue has to do with update panel?
0
 
gianitooAuthor Commented:
please helppppppppppppppp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now