views:

19

answers:

0

Hi, how can I access my UserControl as a JavaScript Object for calling some function declared into my control.

I have create a UserControl, and I want in the page I'm using this control access it through javascript code.

var myControl = $get('<%= myContro.ClientID %>');
myControl.someMethod();