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

[Solved] RadTreeNode clickable image

1 Answer 115 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 24 Apr 2008, 12:36 PM
Hi

I am using the RadTreeNode, where I can have a "NavigateUrl" and also an "ImageUrl" (and "ImageExpandedUrl").

The NavigateUrl works as I want when the user clicks on the name of the node, but it appears that the image is also clickable - is that correct? The problem is that when the user clicks on the image they get a javascript error. Is there anyone who has an idea about why this happens? (I don't really need the image to be clickable, but if it is then I would like it to go to NavigateUrl as well).

Thanks, Peter

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 25 Apr 2008, 04:00 PM
Hello Peter,

Please check out this KB Article. It shows how to implement redirect upon image click.

As for the javascript error you receive, it could be caused by some custom javascript code on your page.

If you still receive the error after trying the approach in the KB, could you post your client code, so that I can examine it?

Sincerely yours,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Peter
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or