Hi,
I am adding some ASP.Net user controls (.ascx file) dynamically on the
button click. The user control will get added as many times userhits
the button. Now on the click of the submit button, I want to do some
form level validations.
For example suppose my .ascx file contains a text box with id say
"trialTextBox".
Now if user hits the button thrice, 3 user controls will be there on
the page and as a result 3 textboxes mentioned above will be there.
Can any one tell me :
1) How can I get access to that user control (.ascx file) through the
java script? (While adding that user control I have given unique ids
to that user control).
2) If I get access to that user control, how can I access the controls
(Like text box mentioned earlier) and its values.
Any help or hint will be appreciated.