Prevent Navigation Attempt After Node Click

2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    2 posts
    Member since:
    Feb 2015

    Posted 24 Feb 2015 Link to this post

    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).
  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    830 posts

    Posted 25 Feb 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top