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.
Unfortunately, activation email could not send to your email. Please try again.

Moving scroll position programmatically when AutoScroll is true

Thread ID:

Created:

Updated:

Platform:

Replies:

24257 Jan 31,2005 10:19 AM Feb 1,2005 08:24 AM Windows Forms 1
loading
Tags: HTMLUIControl
Adam Flynn
Asked On January 31, 2005 10:19 AM

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 08:24 AM

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

CONFIRMATION

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.

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.

;