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

Div item click is not firing on Rad Tree Context menu

1 Answer 61 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Hari Prasad
Top achievements
Rank 1
Hari Prasad asked on 27 Jun 2011, 12:27 PM
Hi,

I have user control with Div tag, I am adding all colors to that div tag. In another user control, I have Rad Tree View, in OnLoad event I am adding this user control dynamically to the Rad TreeView Context menu. Basically my intention is to change the Color of Rad Tree Node. In the usercontrol where div tag exists, I am writing the JQuery for item click. From this if i write click on Rad Tree Node, "Color" option will come and if i mouse hover to that particular option, i can view all colors so that i can change the color. So if i click on particular color, the div item click event is not firing. Suppose if put this in usercontrol, in .ascx page(not in context menu option), it's working fine. But if i add this dynamically to the Context menu, it's not firing.

Please help me on this.

Thanks in Advance,
Hari.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 29 Jun 2011, 04:28 PM
Hello Hari Prasad,

We may suggest you using RadColorPicker instead of the div. Please take a look at the following demo.

Kind regards,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TreeView
Asked by
Hari Prasad
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or