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

Treeview Itemclick error

1 Answer 30 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 24 May 2012, 05:35 AM
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:
href="Secure/TaskManager.aspx"

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?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 28 May 2012, 03:46 PM
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.

Greetings,
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.
Tags
TreeView
Asked by
Matthew
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or