Treeview Itemclick error

2 posts, 0 answers
  1. Matthew
    Matthew avatar
    25 posts
    Member since:
    Aug 2011

    Posted 24 May 2012 Link to this post

    I have a treeview within a RadPan which is inside a radSplitter which is inside a MasterPage. The nodes are dynamically created and the NavigateUrl looks like this :
    cn.NavigateUrl = "Secure/" & row("NavigateURL").ToString() 

    The HTML source for a particular node looks like this:

    On the click of the node I get the following error.

    The 'href' property had a malformed URL: Cannot use a leading .. to exit above the top directory..

    What could be the problem?
  2. Plamen
    Plamen avatar
    3079 posts

    Posted 28 May 2012 Link to this post

    Hello Matthew,

    It looks like an issue connected with the path to the desired directory. You can try to add "../" or @ to the NavigateUrl string of the files in order to find correctly the desired location- as mentioned in this forum thread.

    Hope this will be helpful.

    Plamen Zdravkov
    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.
Back to Top