This feature is useful especially when you need to maintain the page position after browsing from other pages.
A quick win will be using anchor in the url, but the catch is if you are using controls like telerik grid ajax postback, the anchor point #XXX in your url will be subtracted and you won't be able to do what you want.
One more point is that it is good to use this function in $(document).ready(function ()) instead of pageLoad() so that it only move to your position once when page is loaded not ajax postback.
checkout this blog for more information.
Thursday, April 22, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment