I'm not sure what the actual behavior is supposed to be, but what I expected when I do set_enabled(false), nothing on the tree should work. What happens is the div containing the UL gets set as disabled.
Overall this is a minor issue to me as I have a work around.
Overall this is a minor issue to me as I have a work around.
5 Answers, 1 is accepted
0
Hi Mike,
I checked the following code with the latest version and it works as expected - disabled node doesn't navigate:
What version of Telerik.Web.UI.dll and what browser do you use?
All the best,
Helen
the Telerik team
I checked the following code with the latest version and it works as expected - disabled node doesn't navigate:
<asp:ScriptManager ID="sm1" runat="server"></asp:ScriptManager><telerik:RadTreeView runat="server" ID="RadTreeView1"> <Nodes> <telerik:RadTreeNode Text="PressEnter to Navigate!" NavigateUrl="http://www.google.com/"> <Nodes> <telerik:RadTreeNode Text="Child Shows up!" /> </Nodes> </telerik:RadTreeNode> </Nodes></telerik:RadTreeView><script type="text/javascript"> function pageLoad() { var tree = $find("<%=RadTreeView1.ClientID %>"); tree.get_nodes().getNode(0).set_enabled(false); }</script>What version of Telerik.Web.UI.dll and what browser do you use?
All the best,
Helen
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.
0
Mike
Top achievements
Rank 1
answered on 12 Apr 2013, 10:08 AM
I'm calling set_enabled on the tree object not on the nodes.
my dll version is 2012.3.1016.40
I will update to the latest when the style issue is solved with the anchor tags on the treeview.
my dll version is 2012.3.1016.40
I will update to the latest when the style issue is solved with the anchor tags on the treeview.
0
Hi Mike,
We identified a problem in IE8 when the tree is disabled. Link are still functional.
I logged it for fixing.
Is it the exact problem that you experience?
Greetings,
Helen
the Telerik team
We identified a problem in IE8 when the tree is disabled. Link are still functional.
I logged it for fixing.
Is it the exact problem that you experience?
Greetings,
Helen
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.
0
Mike
Top achievements
Rank 1
answered on 12 Apr 2013, 11:28 AM
Yes, that is the exact issue.
0
Hi Mike,
We will try to fix it for the official release - expected in the middle of June.
I updated your points for the bug report.
Regards,
Helen
the Telerik team
We will try to fix it for the official release - expected in the middle of June.
I updated your points for the bug report.
Regards,
Helen
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.