Welcome Guest Search | Active Topics | Sign In | Register

ClientSide Event on show edit link dialog Options
Philipp Jenni
Posted: Friday, October 24, 2008 3:03:38 AM
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
eo_support
Posted: Friday, October 24, 2008 4:34:13 AM
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.html

2. On your custom dialog template set ClientSideOnInitDialog:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.Dialog.ClientSideOnInitDialog.html

You can do whatever you'd like to do inside your ClientSideOnInitDialog handler.

Thanks!

Philipp Jenni
Posted: Friday, October 24, 2008 5:24:57 AM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
Hi,

It works fine. Thanks for your help.

Philipp
eo_support
Posted: Friday, October 24, 2008 5:32:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Glad to hear it's working. Thanks for the update!


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.