Custom Scrollbar question

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    406 posts
    Member since:
    Feb 2007

    Posted 02 Dec 2011 Link to this post


    I try to use the demo

    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?

  2. Slav
    Slav avatar
    1359 posts

    Posted 06 Dec 2011 Link to this post

    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,
    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
Back to Top