I have a RadTreeViewContextMenu on a RadTree that contains an Item Template with a textbox. button, and customvalidator. On Postback, I need to display the RadTreeViewContextMenu if validation fails. I'm at a loss on how to do this. Any ideas?
Thanks in advance,
Gene.
3 Answers, 1 is accepted
0
Veselin Vasilev
Telerik team
answered on 18 Aug 2009, 09:39 AM
Hi Gene,
Here is how you can do this: if the validation fails register a javascript by using RegisterStartupScript method of the ScriptManager class. That javascript will do the following: finds the context menu and shows it using the showAt client-side method of the menu.