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

[Solved] OnClientNodeHighlighting event?

1 Answer 123 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
terrysmith
Top achievements
Rank 1
terrysmith asked on 30 Apr 2008, 05:00 PM
In RadTreeView "Classic" we are using the BeforeClientHighlight event to cancel a node highlight if we are currently in the process of an Ajax update. We allow drag and drop to a table that is within an Ajax panel, and if the user has dragged-and-dropped and that panel is still refreshing we don't want the user to drag something else. Not only that, we don't want the user to be able to highlight a node AS IF they could drag it.

The "Migrating from RADTreeView for ASP.NET to ASP.NET AJAX" page says that BeforeClientHighlight has been replaced with OnClientNodeHighlighting; however I don't see that event in Intellisense and it is not listed in the Client-Side Programming section of the help doc.

Does it exist? And if not, is there an alternative?

Thank you,
Terry

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 01 May 2008, 11:54 AM
Hi terrysmith,

Thanks for your report.

Such an event does not exist - OnClientNodeHighlighting. You could use the OnClientMouseOver instead, however, this event cannot be canceled and the node will be highlighted. You can also try to use the OnClientNodeDropping event and cancel the drop action there.

Hope this helps.

Your points have been updated for your report.

Greetings,
Nick
the Telerik team

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