Home Search Member List Faq Register Login  
UltimateEditor
Modal window/update panel

Thread Starter: Tosh   Started: 07-31-2009 6:08 PM   Replies: 3
 Karamasoft Support Forums » General Discussions » UltimateEditor » Modal window/update panel
 Printable Version    « Previous Thread   Next Thread »
  31 Jul 2009, 6:08 PM
Tosh is not online. Last active: 8/1/2009 5:47:51 AM Tosh

Not Ranked
Joined on 08-01-2009
Posts 1
 Modal window/update panel
I have the UE inside of a modal window and an update panel. The UE works fine except for the toolbar items that use a dropdown (font, font size, etc). You can click on the controls but not make a selection (the menu does not expand).

During my testing, I noticed that if I try to change the font on the UE in the modal window, the font menu on a UE on the main page is expanded. The UE in the modal window behaves the same way whether or not there is a second UE on the page. Help... Thanks.

  
  31 Jul 2009, 7:29 PM
Karamasoft is not online. Last active: 9/8/2010 11:48:21 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,334
Re: Modal window/update panel
If you send us a self-contained web app having this issue, we can try it in our test environment and will try to resolve the issue from there. Thanks.
  
  31 Jan 2010, 6:20 AM
UmairAijaz is not online. Last active: 3/18/2010 3:48:39 AM UmairAijaz

Top 10 Posts
Joined on 01-26-2010
Posts 5
Re: Modal window/update panel
HI, I had the same problem with the Editor,

The Problem

the problem is the Z-index for the ultimate editor's Dropdown is set to 1
and for the modal popup background element (the black transparent div) is set to 1001 by default.

THE WORK AROUND


Instead of the usual post back 


Modalpopupextender.show()
 


I wrote a javascript function "showViewPopup()" to call the modal popup , and set the button's onClientClick property to  "showViewPopup();return false;"

if you dont use return false; it will cause a postback and wont show the modal popup

The function showViewPopup calls the modal popup extender's .show method
finds the div for the modal popup's background and then change the z-index to 0 and the z-index of the panel or holder which houses all the controls to 1

This way the Ultimate editor's drop down shows properly
here is the java code for that


function showViewPopup(){     var modalPopup = $find('<Behaviour ID of the modal popup> ');     modalPopup.show();     document.getElementById('<modal Popup Name>_backgroundElement').style.zIndex=0;    document.getElementById('ctl00_<name of the container>').style.zIndex=1;}
 


  
  31 Jan 2010, 9:55 PM
Karamasoft is not online. Last active: 9/8/2010 11:48:21 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,334
Re: Modal window/update panel
Thank you for sharing your findings with other UltimateEditor developers.
  
 Page 1 of 1 (4 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Modal window/update panel

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-2010 Karamasoft LLC. All rights reserved.