|
-
Aug 28th, 2004, 08:27 PM
#1
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.
Last edited by Danial; Aug 29th, 2004 at 09:56 AM.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|