ID/Name of controls in UserControl [resolved]
Hi,
I am creating some custom ASP.net controls as Web User Control.I have client side scripting within those control. Now when i place those control with in an aspx control the Name/ID of the element(textbox, buttons) are renamed with a prefiex e.g ControlName_.
Now since the ID/Name of the control has been changed now my client side script wont work. For example if i have a control called txtInput and my Web User Control is named AddEvent, txtInput is now renamed as AddEvent1_txtInput.
How can I refrence this txtInput ?
Thanks for any help.
BTW : I am using C# as my ASP.net language.