I have a host page that dynamically loads multiple instances of the same user control by assigning different IDs.
After the UC loads, I will need to use JS to get a reference to a textbox. For this, I need the User control Client ID. I do have access to the UC Client ID on the server side and can set a hidden form variable with this information. But I run into the problem of referencing this form variable from javascript as I need the UC client ID to be able to do so.
What's the best approach for this problem?