This is a migrated thread and some comments may be shown as answers.

Prevent Navigation Attempt After Node Click

1 Answer 69 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 25 Feb 2015, 12:03 AM
I am adding a tree of RadTreeNodes directly to the control and when node is click it attempts to navigate.

new RadTreeNode(item.Name, item.Path)
{
    ImageUrl = GetNodeImage(item.TypeName),
    ToolTip = item.Name,
    PostBack = false
}

I attempted setting PostBack to false, and in the past setting NavigateUrl to "#" based on another thread. These have no yielding any help to prevent the message (that I know at least shows in Chrome).

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 25 Feb 2015, 04:37 PM
Hello,

Could you please explain how does the node attempt to navigate? If you do not set the NavigateUrl property of a RadTreeView node or if you set it to "#" it won't try to navigate on click. Or you are trying to disable the navigation link on the bottom of the page, which Chrome shows when hovering over a node that has NavigateUrl set?

Regards,
Ivan Danchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TreeView
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or