Welcome Guest Search | Active Topics | Sign In | Register

Dialog inside user control Options
Chris
Posted: Friday, September 12, 2008 12:33:58 PM
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
eo_support
Posted: Friday, September 12, 2008 1:25:07 PM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.