Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

How execute javascript when selected = true

$
0
0

Hi,

 I have a javascript function who is executed when the client click :

 treeView.OnClientNodeClicking = "MyJavascriptFunction"

It works great.

So, i have another code-behind function who select a node like that :

Dim node4 As RadTreeNode = treeView.FindNodeByValue(txtHiddenModele.Value)


If node4 IsNot Nothing Then
  node4.Selected = True          
End If

 

It works too, the node is selected but the javascript function is not executed (MyJavascriptFunction)

 

How can i solve this?

 

Thanks!

 

 

 


Viewing all articles
Browse latest Browse all 99250

Trending Articles