This is a migrated thread and some comments may be shown as answers.

Custom Scrollbar question

1 Answer 52 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Fit2Page asked on 02 Dec 2011, 11:00 AM
Hi,

I try to use the demo
http://demos.telerik.com/aspnet-ajax/slider/examples/customscrollbar/defaultcs.aspx

And rebuild the JavaScript so that I can jump to anchors in the <DIV> which scrolls

I can locate the y-coords of the anchor, but I cannot accomplish the right value setting of the RadSlider in javascript.
I try to jump to the anchors from RadTreeView clicks on the client.

Can somebody help?

Marc

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 06 Dec 2011, 05:37 PM
Hello Marc,

It seems that you are trying to simulate click on anchors, which is an approach that I wouldn't recommend. My suggestion is use the JavaScript properties scrollTop and ScrollLeft in order to position the content of the main HTML element and the RadSlider.

If the information listed above does not help you resolve your difficulties please open a regular support ticket and send a simple, runnable project that isolates your case so that we can inspect it locally and suggest a solution.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Slider
Asked by
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Slav
Telerik team
Share this question
or