Question

I have control/user controls placed in a scroll able container. Now if a user has scrolled, then the control's position changes. I want to save the position of a few user controls (which are movable), so that I can load it on a specified position on the next load. The issue is, if a user has scrolled in the container then the positions are not the exact location in the container. How can I get the exact position in the container?

I tried to add scroll position which will fix the issue, but my user control may be used in nested scrollable controls in the future so it will create issues. The save position code is at user control.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top