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
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
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.htmlAnd http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.Dialog.htmlThanks
|
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 :)
|