Home Search Member List Faq Register Login  
UltimateEditor
Re: Ultimate Editor - Modal Dialog

Thread Starter: bhenke   Started: 05-31-2006 5:38 PM   Replies: 7
 Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Ultimate Editor - Modal Dialog
 Printable Version    « Previous Thread   Next Thread »
  31 May 2006, 5:38 PM
bhenke is not online. Last active: 8/28/2010 7:33:09 PM bhenke

Top 10 Posts
Joined on 03-16-2006
Posts 13
Ultimate Editor - Modal Dialog
Can the ultimate editor be placed on a web page which is shown as a modal dialog through IE?  When I show the page with the editor on it (as a modal dialog), the page will display OK.  However, I can't type anything into the textbox editor portion. 

When I click in the textbox area of the editor, the default style, font and size drop downs go blank. 

Thanks!

  
  02 Jun 2006, 1:22 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Ultimate Editor - Modal Dialog
We sent you a zip file, but couldn't get any response. Could you verify you received it and whether it resolved your problem.
  
  02 Jun 2007, 6:40 AM
The Traveller is not online. Last active: 8/31/2007 7:42:53 AM The Traveller

Not Ranked
Joined on 03-08-2006
Posts 4
Re: Ultimate Editor - Modal Dialog
Does the Ultimate Editor work if it's in a modal dialog (in IE)? If I use a window.open to open a page with the editor, then put in some content, it is preserved when I do a postback. However, when I type something in the editor that is contained in a modal dialog window, the content disappears after postback. Is there a work around to preserve the text in the editor using modal dialog? thanks.

(I'm using the March 22/07 version of the UltimateEditor.dll)

  
  02 Jun 2007, 1:16 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Ultimate Editor - Modal Dialog

We fixed this issue and it will be included in the new release.

There are couple things to note. First, you should add the following to the HEAD section of your modal dialog page:

<base target=_self>

Otherwise, the page opens another window when submitted.

The second thing to note is that even though the new JavaScript file will let your page retain the editor HTML value after the postback, there might be some other UltimateEditor functionality which might not work properly because of the nature of the modal windows. They do not work the same way the windows opened as regular (non-modal) windows. One common problem is that the modal windows are cached and this behavior might cause unexpected behavior.


  
  06 Jun 2007, 4:12 AM
The Traveller is not online. Last active: 8/31/2007 7:42:53 AM The Traveller

Not Ranked
Joined on 03-08-2006
Posts 4
Re: Ultimate Editor - Modal Dialog
I was unable to receive the javascript file because my mail server blocked it. Can you please send me the javascript file in a zip format? Thanks.

Currently, except for the content not being retained on postback, I haven't noticed any other unexpected behavior. Do you know of any other known issues from having Ultimate Editor in a modal dialog?

  
  06 Jun 2007, 10:49 AM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Ultimate Editor - Modal Dialog
We have already sent it in .zip format. This time, we will change its extension to .zip1.
  
  07 Jun 2007, 12:40 PM
The Traveller is not online. Last active: 8/31/2007 7:42:53 AM The Traveller

Not Ranked
Joined on 03-08-2006
Posts 4
Re: Ultimate Editor - Modal Dialog
Thank you, the .js file fixed the issue.

Do you know of any other unexpected behaviour from using Ultimate Editor in a modal dialog?


  
  07 Jun 2007, 12:54 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Ultimate Editor - Modal Dialog
We haven't heard of any other issues regarding using UltimateEditor inside modal dialog, however, we just wanted to let you know that there are some differences such as DOM event handling and caching the page between a regular window and a modal window, which might possibly cause issues down the road.
  
 Page 1 of 1 (8 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Ultimate Editor - Modal Dialog

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2021 Karamasoft LLC. All rights reserved.