Friday, March 16, 2012

on Post Back send page to top

I have a datagrid with paging allowed, changing the data results page through postback. when i postback, how can i set the webpage to be at the top possition instead of possition before postback?

I have to scroll down the webpage to find the navigation, then on postback the page is changed and stuck at the bottom of the next data results pageHi,

...and stuck at the bottom of the next data results page. Strange, that's just what most people are asking for.

Do you have smartnavigation set to true? This can make it possible to hold the scrolling position. So first check this (it can be set on the page or in the web.config).

Grz, Kris.
Yep! it was enabled, but not now.

Now im back to the top :)

Thanks

0 comments:

Post a Comment