Scrollbar position in radtreeview

3 posts, 0 answers
  1. Colince
    Colince avatar
    11 posts
    Member since:
    Apr 2013

    Posted 20 Jun 2013 Link to this post

    Hi

    I have and issue regarding the scrollbar position. As you can see in the code below i have the radtreeview inside the radlistbox and il would like that when i click on the node, the scrollbar scrolls to the selected node position.

    <asp:Panel ID="Panel2" runat="server">
        <telerik:RadListBox ID="RadListBox1" runat="server" Height="200" Width="250"
                            AllowTransfer="true" ButtonSettings-Position="Right"
                            ButtonSettings-TransferButtons="All" TransferMode="Copy"
                            SelectionMode="Multiple" TransferToID="rlbDealers"
                            AutoPostBackOnTransfer="true" CausesValidation="false"
                            OnTransferred="rlbListAvailable_Transferred">
            <ItemTemplate>
                <div>
                    <telerik:RadTreeView ID="rtvDealersAvailable" runat="server"
                                         OnLoad="rtvDealersAvailable_Load"
                                         MultipleSelect="true"
                                         OnClientNodeClicked="selectFatherAndChildNodes">
                    </telerik:RadTreeView>
                </div>
            </ItemTemplate>
            <Items>
                <telerik:RadListBoxItem />
            </Items>
        </telerik:RadListBox>
        <telerik:RadListBox ID="RadListBox2" runat="server" SelectionMode="Multiple"
                            Height="200" Width="250">
        </telerik:RadListBox>
    </asp:Panel>

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Jun 2013 Link to this post

    Hi,

    One suggestion is you can use scrollIntoView  function. Please have a look into this documentation.
    Hope this will help you.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Jun 2013 Link to this post

    Hi,

    One suggestion is you can use scrollIntoView  function. Please have a look into this documentation.
    Hope this will help you.

    Thanks,
    Shinu.
Back to Top