开发者

Scroll to a position in page Jquery Asp.net?

开发者 https://www.devze.com 2023-01-14 01:52 出处:网络
开发者_如何学CI have a long form which I want to be scrolled at a point where my gridview is located after a successfull partial postback with an update panel. How can I achieve this with JQuery. I am

开发者_如何学CI have a long form which I want to be scrolled at a point where my gridview is located after a successfull partial postback with an update panel. How can I achieve this with JQuery. I am using update panels in VSS 2005.


How about the jquery scrollTo plugin? http://plugins.jquery.com/project/ScrollTo


I would use the scrollTo plugin as suggested in another answer post (http://plugins.jquery.com/project/ScrollTo). you can write a simple function that calls the scrollto method. Then, use the .NET ScriptManager to call that function at an appropriate point during the processing of the update panel

0

精彩评论

暂无评论...
验证码 换一张
取 消