Here is my case : I create a user control which contains One checkbox
control to enable/disable the other two textbox control. I'm using server
control instead of HTML control, and I don't want to post back to server to
do the disable.
The problem is I there is no easy way for me to find the ID in the
javascript since the ID or name are all prefixed with parent name. Even
worse, this control could be wrapped with another user control which stop me
to hardcode the ID.
I know I could create java function to accept control ID as input params ,
and use WebControl.clientID to form the function call on the server side.
Here I'm looking for if there is other alternative. Thanks