Rank: Advanced Member Groups: Member
Joined: 6/9/2007 Posts: 98
|
Hi,
I have a little question. Can i implement an event on the clientside, that raised when the link edit dialog is displayed, in the editor control. I want use that to implement an select control to set the eo_editor_insertlink_target textbox. I can use the onchange event of the select control to write the selected value to the textbox, but when i want edit the link over the dialog, then i can't set the current selected value from the textbox to the select control.
Have you an solution for my problem
Thanks Philipp
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, I believe you can do that by following these steps: 1. Provide a custom dialog template as outlined here: http://www.essentialobjects.com/ViewDoc.aspx?t=Editor%2fcustomize_dialog.html2. On your custom dialog template set ClientSideOnInitDialog: http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.Dialog.ClientSideOnInitDialog.htmlYou can do whatever you'd like to do inside your ClientSideOnInitDialog handler. Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 6/9/2007 Posts: 98
|
Hi,
It works fine. Thanks for your help.
Philipp
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Glad to hear it's working. Thanks for the update!
|