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

how to stop OnClientNodeClicked event

3 Answers 48 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
pankaj
Top achievements
Rank 1
pankaj asked on 16 Oct 2008, 09:43 AM
Hi,

I am using a RadTreeView control in RadCombobox. All the combobox are being generated at runtime and nodes are also added at runtime. I have checkboxes enabled in my treeview and depth of treeview is of 1 level. I am changing the RadCombobox text at OnClientNodeChecked event.
My problem is when there is no check box is selected and if I click on some node, combobox text is automatical updated with the concatenated string containing the text of all nodes. When I check or uncheck a check box, proper event is firing and my custom code is being called. But in case of node click or some times even on treeview click combobox text is being updated.

How can I resolve this.

Thanks,
Pankaj

3 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 16 Oct 2008, 01:33 PM
Hi Pankaj,

Please check the attached files which demonstrate the needed approach.

Best wishes,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
pankaj
Top achievements
Rank 1
answered on 17 Oct 2008, 01:17 PM
Hi Yana,

Solution you have provided is working fine in IE but this is not working in FireFox. I need a cross browser support for my client.

Thanks,
Pankaj
0
Yana
Telerik team
answered on 17 Oct 2008, 02:15 PM
Hello Pankaj,

I tested the project in Firefox and it works without a problem. I have captured a short movie showing this. Please download the attached file.

Best wishes,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
pankaj
Top achievements
Rank 1
Answers by
Yana
Telerik team
pankaj
Top achievements
Rank 1
Share this question
or