Clientside SHIFT + Arrow up not working correctly

2 posts, 0 answers
  1. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 21 Jan 2014 Link to this post


    I'm running the latest version of RadTreeView and think I have found a bug.

    I have a treeview Control where users can use the arrow keys to change node and to select nodes.

    The user holds down the SHIFT key while pushing the Arrow Down key to select multiple nodes.

    This works fine but..

    If the user holds down the SHIFT key and presses the Arrow Up key, only two nodes can be selected and then the selection stops.

    Is there a workaround for this?


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

    Posted 23 Jan 2014 Link to this post


    As a work around please have a look into the sample code snippet which works fine at my end.

    <telerik:RadTreeView ID="RadTreeView1" runat="server" MultipleSelect="true" TabIndex="1"
            <telerik:RadTreeNode Text="Node1">
            <telerik:RadTreeNode Text="Node2">
            <telerik:RadTreeNode Text="Node3">
            <telerik:RadTreeNode Text="Node4">
            <telerik:RadTreeNode Text="Node5">

    <script type="text/javascript">
        var flag = 0;
        function key(event) {
            if (event.keyCode == 38 && event.shiftKey == true) {
            if (flag >= 2) {
                var tree = $find("<%=RadTreeView1.ClientID %>");
                var item = index = tree.get_selectedNodes();

  3. DevCraft R3 2016 release webinar banner
Back to Top