I am using <%= ClientID %> in the javascript to get the ID of a dynamically loaded user control.
Everything works fine until multiple instances of the same control are loaded. The ID points to the ClientID of the user control that was added last.
How do I solve this issue?
EDIT: I am doing a: var clID = <%= ClientID %> in javascript. The problem is clID is being overwritten everytime the same UC is loaded