Feb 02, 2011, 12:34 PM
IDMode in a UserControl
Hi!
I have an usercontrol with some ext.net elements inside. This usercontrol has a JS file referenced.
The question is, which mode have to set to the elements of the usercontrol if I want to embed this more than once in the same page?
Is correct IDMode="Legacy" or with it I can't reference the control from JS?
In other way, what's the use of ClientIDMode or the diferences between IDMode and ClientIDMode.
Thanks in advance.
I have an usercontrol with some ext.net elements inside. This usercontrol has a JS file referenced.
The question is, which mode have to set to the elements of the usercontrol if I want to embed this more than once in the same page?
Is correct IDMode="Legacy" or with it I can't reference the control from JS?
In other way, what's the use of ClientIDMode or the diferences between IDMode and ClientIDMode.
Thanks in advance.