User Control problem

bungpeng

Well-known member
Joined
Sep 10, 2002
Messages
906
Location
Malaysia
When I include user control in my aspx file, system will automatic append the user control name in front of my original textbox (or other controls) ID or Name. Is there anyway to avoid it? or disable it?

For example: In my user control "UserControl1", there is a textbox with ID = "txtEmployee". When I include this user control to "a.aspx". My textbox ID will become
"UserControl1_txtEmployee".

Is there anyway I can avoid it? or I can get to know what is my User control name? because programmer can use whatever name they want when apply this user control.
 
Back
Top