Auto post back!!!!!!!!!
-
Hi all, I have an issue!!! I have a dropdown list(somewhere near the bottom) in my page with autopostback set on. The problem is as soon as i select an item from the list, due to auto postback,the control goes to the top of the page!(the page is long enough, so the user has to scroll down to completely fill the form). so the user has to again scroll down till bottom of the page. Thank You Ramesh Bhojan
-
Hi all, I have an issue!!! I have a dropdown list(somewhere near the bottom) in my page with autopostback set on. The problem is as soon as i select an item from the list, due to auto postback,the control goes to the top of the page!(the page is long enough, so the user has to scroll down to completely fill the form). so the user has to again scroll down till bottom of the page. Thank You Ramesh Bhojan
If you are using ASP.NET 2.0, you have one option called maintainScrollPositionOnPostBack. This accepts boolean value, which you can use with the page tag.Or you can check this[^] for an alternative method that uses javascript. But I suggest you to use the first method, It is cross browser too.
Navaneeth My Website
-
If you are using ASP.NET 2.0, you have one option called maintainScrollPositionOnPostBack. This accepts boolean value, which you can use with the page tag.Or you can check this[^] for an alternative method that uses javascript. But I suggest you to use the first method, It is cross browser too.
Navaneeth My Website
Hi navaneeth! where do i find the maintainScrollposition on postback option? i could not find that in the properties window of the dropdown list!!!!
-
Hi navaneeth! where do i find the maintainScrollposition on postback option? i could not find that in the properties window of the dropdown list!!!!
Hi Simply add MaintainScrollPostionOnPostBack = True in the Page directive if you are using VS.Net 2005. Check this link[^]
Harini
-
Hi all, I have an issue!!! I have a dropdown list(somewhere near the bottom) in my page with autopostback set on. The problem is as soon as i select an item from the list, due to auto postback,the control goes to the top of the page!(the page is long enough, so the user has to scroll down to completely fill the form). so the user has to again scroll down till bottom of the page. Thank You Ramesh Bhojan
you have one option called maintainScrollPositionOnPostBack in ASP.NET 2.0. I hope this will help you. Puneet Srivastava