i have a placeholder control which has many comboboxes with the treeview control, i set the OnClientNodeClicking for all treeview controls, if i click a node how can i select the right treeview using javascript ?
1 Answer, 1 is accepted
0
Veselin Vasilev
Telerik team
answered on 29 Jul 2008, 03:20 PM
Hi Mark Galbraith,
I have already replied to your support ticket:
One of the possible ways is to have a global javascript variable:
var currentCombo;
which you can initialize in OnClientDropDownOpening event of every combobox:
function OnClientDropDownOpeningHandler(sender, eventArgs)
{
currentCombo = sender;
}
So, in the OnClientNodeClickingHandler handler you can access the global variable currentCombo.
Best wishes,
Veskoni
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.