I suggest you ...

Allow clearing of client ScrollPosition value as a Page Method

There is currently no server-side way to clear the values set by the Page.MaintainScrollPositionOnPostback property.

The only way to "reset" the client scroll position is a messy javascript injection hack. Can a method be included to clear the scroll position, e.g.
Page.ClearScrollPosition
Page.ClearScrollPositionX
Page.ClearScrollPositionY

Alternative can the internal method LoadScrollPosition (
http://referencesource.microsoft.com/#System.Web/xsp/system/Web/UI/Page.cs#4f5017a57b4c846d) be overrideable?

4 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
CodePal Dave shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base