Rank: Member Groups: Member
Joined: 7/17/2008 Posts: 13
|
I get an error when placing a dialog and having the link that calls "eo_GetObject('dialogname').show(true);" in the same user control. The error occurs when I place that user control multiple times on the same page.
When clicking on the link, I get the error 'function eo_GetObject encountered multiple objects with the same id'.
Is there a work around for this?
-chris
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Yes. You would use something like the following instead:
eo_GetObject('<%=Dialog1.ClientID%>');
That should give eo_GetObject a different value for each instance of your control.
Thanks
|