Completed
Last Updated: 07 Nov 2018 15:57 by Evgeny
The ClientNodeClicking and server-side NodeClick events are triggered when tap-to-scroll the Treeview in Android (taphold event).

Steps to reproduce:
1. Open http://demos.telerik.com/aspnet-ajax/treeview/examples/overview/defaultcs.aspx in mobile Chrome of Android device (or in Chrome emulator)
2. Tap over a node to Scroll the Treeview

Result - the tapped node gets selected

Expected - the Treeview detect the tap from holdtap events and the node is not selected when scrolling occurs
Approved
Last Updated: 04 Nov 2018 22:22 by Natondra
ADMIN
Created by: Peter Milchev
Comments: 1
Category: TreeView
Type: Bug Report
0
Workaround: 

function OnClientLoad(sender, args) {
    sender._isEditableElementInTemplate = function (target) {

        return target && $(target).closest(".rtTemplate").length > 0 &&
                (target.tagName.toUpperCase() == 'INPUT' ||
                target.tagName.toUpperCase() == 'TEXTAREA' ||
                (target.isContentEditable));
    }
}

<telerik:RadTreeView OnClientLoad="OnClientLoad" ID="RadTreeView1" runat="server" ... >
Completed
Last Updated: 20 Jun 2017 14:51 by ADMIN
Approved
Last Updated: 05 Jun 2017 15:59 by ADMIN
Completed
Last Updated: 16 May 2017 14:09 by Mirang
Approved
Last Updated: 05 Mar 2017 13:59 by Naren
http://screencast.com/t/CySy2iAoiG4n
Completed
Last Updated: 20 Jan 2017 14:00 by ADMIN
Under Review
Last Updated: 02 Aug 2016 13:38 by Wesley
I think that TreeView incorrectly handles the case of  a drop beneath a node that is expanded.

When a node (with or without children) is _not_ expanded, then dropping directly beneath (meaning lower down on the page) that node indicates that the node should be made the next sibling of the node.

-  A
+ B
------   <- Drop indicator means that dropping here will cause the dropped node to be the next sibling of B, which makes sense.
-  C

This case makes perfect sense.

However, when the node is expanded, the drop indicator doesn't change it's behavior, and I think it should.

-  A
+ B
------   <--- Dropping here will cause the dropped node to be the next sibling of B, but this is not visually where it will appear in the tree.
    - B.1
    - B.2
<--- This is where the node will appear after drop.
-  C

This is counter-intuitive to most people.  People think that dropping between B and B.1 would make the dropped item to become a child of B and a prior sibling of B.1.  But instead, it has the same effect as if the B node wasn't expanded and adds the new dropped node as the next sibling of B.  Note that in this case, the newly dropped node doesn't show up where it was dropped.  When a node doesn't appear in the tree where it was dropped, people assume that that's a bug. 

To see the issue, go here:

http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx

In the "RadTreeView1" treeview, try to drag the "Deleted Items" item to be the last item in the list (but not a child of "Search Folders").  If you drag toward the bottom of the tree, after you drag down past "Unread Mail", you see the drop indicator that shows that you can drop to make it be the next sibling of "Unread Mail".  If you keep dragging down, you _don't_ see an indicator that you can drop to make the next sibling of "Search Folders".

However, if you drag between "Search Folders" and "Form Follow Up", then you _will_ see an indicator that shows that the item will be made the next sibling of "Search Folders".  And if you drop there, it will indeed be made the next sibling of "Search Folders", but of course it will appear at the bottom of the tree (not where you dropped it).

The kendo TreeView has the same behavior as the RadTreeView.  However, I have found some TreeViews that handle it in the way I would prefer.  See http://mbraak.github.io/jqTree/  for an example. 
Approved
Last Updated: 01 Aug 2016 11:49 by ADMIN
ADMIN
Created by: Hristo Valyavicharski
Comments: 0
Category: TreeView
Type: Feature Request
1
At the moment it is not possible to rebind the RadTreeView on the client if the datasource is changed when treeview is bound to a ClientDataSource or WebService.

Scenarios: 
- Changed nodes on the server (database) cannot be refreshed on the client.
- TreeView is populated based on a custom parameter value.
Completed
Last Updated: 12 May 2016 11:00 by ADMIN
Pending Review
Last Updated: 23 Mar 2016 11:15 by Douw
Created by: Douw
Comments: 0
Category: TreeView
Type: Feature Request
1
Hello,
Please add support to bind to System.Dynamic.DynamicObject: 
https://msdn.microsoft.com/en-us/library/system.dynamic.dynamicobject%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
Regards,
Douw
Completed
Last Updated: 16 Mar 2016 14:29 by ADMIN
The TreeView wrapper is not expanded depending on its nodes width when used in LightWeight render mode. As a result of that the horizontall scrollers of the control's parent element are never shown thus the nodes of the control appear truncated.


The problem can be reproduced with the following configuration:
ASPX:

        <div style="width: 100px; height: 400px; border: 1px solid black; overflow: auto;">
            <telerik:RadTreeView ID="RadTreeView" runat="server" RenderMode="Lightweight">
            </telerik:RadTreeView>
        </div>

C#:

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string[] cars = new string[] { "Porsche Carrera", "Ferrari F430", "Aston Martin DB9 and some more words foe a long node" };
            RadTreeView.DataSource = cars;
            RadTreeView.DataBind();
        }
    }
Pending Review
Last Updated: 10 Feb 2016 11:13 by Ernst
At the moment when disabling a RadTreeNode on server/client side the complete node gets disabled with the CheckBox.
We had a use case where we would like the node to stay functional (collapsable/expandable/clickable/hover-effect) but only the checkbox to become disabled.
As this can't be achieved with the RadTreeView we had to build a work-around for that. Most likely people in need of this feature make a new HTML-variable to store/transmit/apply the state of the checkbox since the manipulation of the Checkboxes gets lost in a postback.

This would have to be implemented as a server/client-feature as it is with the enabled/disabled-state of the RadTreeNode.

Kind regards
Completed
Last Updated: 19 Jan 2016 11:04 by ADMIN
Completed
Last Updated: 18 Jan 2016 09:01 by swegele
Pending Review
Last Updated: 31 Dec 2015 16:56 by swegele
Created by: swegele
Comments: 0
Category: TreeView
Type: Feature Request
0
The RadTreeView adds a CSS class to selected nodes "rtSelected".  Is it possible to fire an event then, since you know when you are adding that class?

If I were to do a jQuery each on the <li> elements and subscribe to changes in the attribute "Class" I could probably mimic similar behavior.  

I have noticed this feature has been desired for several years.  
The work-arounds suggested by your staff are basically to capture onKeyPressing event and check for a newly selected node after a setTimeout.  This works but is more like a hammer to kill a fly.

Thank you
Sean
Completed
Last Updated: 12 Oct 2015 13:42 by ADMIN
ADMIN
Created by: Hristo Valyavicharski
Comments: 0
Category: TreeView
Type: Bug Report
1

			
Completed
Last Updated: 18 Sep 2015 13:02 by ADMIN
ADMIN
Created by: Dimitar
Comments: 2
Category: TreeView
Type: Bug Report
1

			
Declined
Last Updated: 31 Jul 2015 07:12 by ADMIN
Created by: أشرف
Comments: 1
Category: TreeView
Type: Bug Report
0
Keyboard navigation for the RadTreeView control should neglect  invisible nodes when deciding which node to select based on user navigation.

To know what I mean, please try the following:
- Navigate to the example at
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/keyboard/defaultcs.aspx

- In the console of the developer tools of your browser, type the following:
$telerik.findTreeView("ctl00_ContentPlaceholder1_RadTreeView1").get_nodes().getNode(0).get_nodes().getNode(0).set_visible(false)

This will hide the "Calendar" tree node.

- Using your mouse, click on the "Mailbox - John Smith" root node.

- Press the ↓ key once. Notice how the selection disappears, while it should have gone to the "Contacts" node.

- Type the following in the console:
$telerik.findTreeView("ctl00_ContentPlaceholder1_RadTreeView1").get_selectedNode().get_visible()

The console prints "false" which means that the currently selected node is invisible, which is a wrong behaviour.

- Press ↓ once again, and the "Contacts" node will be selected.


This problem annoys me because I have a situation where I hide tree nodes based on what the user types in a filter text box. After the user filters the tree and tries to navigate using the keyboard, the procedure becomes weird.
1 2