Welcome Guest Search | Active Topics | Sign In | Register

Multiple Controls To Open eo:Dialog Options
Jason S
Posted: Thursday, April 10, 2008 4:28:19 PM
Rank: Member
Groups: Member

Joined: 5/30/2007
Posts: 23
Hello,

I am curious is there a way to attach multiple controls to the ShowButton event of the eo:Dialog control.

Basically what I want to do is have multiple links on a page open 1 dialog box, and based on the specific link clicked, anchor the dialog box to that link.

My other option is to have a Dialog control for each link, and when one is clicked, previously shown Dialog(s) close on the client side.

Any input is greatly appreciated.

Thanks in advance,
Jason
eo_support
Posted: Thursday, April 10, 2008 5:01:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi Jason,

You will need to use our client side JavaScript interface to do it. In a nutshell it would be something like this:

<div onclick="Dialog1.show();">click to show dialog</div>

For more details you will need to go through this:

http://www.essentialobjects.com/ViewDoc.aspx?t=clientapi_howto.html

And

http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.Dialog.html

Thanks
Jason S
Posted: Thursday, April 10, 2008 5:18:39 PM
Rank: Member
Groups: Member

Joined: 5/30/2007
Posts: 23
That's perfect! Thanks for the info, did not see that documentation or I wouldn't have bothered ya :)


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.