We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Moving scroll position programmatically when AutoScroll is true

Thread ID:





24257 Jan 31,2005 03:19 PM UTC Feb 1,2005 01:24 PM UTC WinForms 1
Tags: HTMLUIControl
Adam Flynn
Asked On January 31, 2005 03:19 PM UTC

I have a long html document with the autoscroll property set to true. I have enabled the span element click event to change the formatting of a sentence if clicked (via a change of the span tag class attribute value). If I scroll down and click on a sentence within a span tag, the formatting is correctly applied. But the document also scrolls up to the top when the formatting is applied to the element. How can I either prevent the scoll-position being changed when the formatting is applied or reset the scroll position of the docuemnt back to where it was when I clicked on the element?

Davis Jebaraj [Syncfusion]
Replied On February 1, 2005 01:24 PM UTC

Hi Adam, I see the behavior with the scroll position returning to the beginning after applying a style. Currently there is no means to automatically position the scroll position near the pre change position. I have asked our development team to move the scroll position back to the original position after a change is made. We will also be adding means to manually change the scroll position based on element positions. Thank you for your patience. Regards, Davis


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon