Greetings, all...
Well, I thought I was brewing up some "new hotness" with FCKEditor and the ModalPopupExtender available in the Microsoft Ajax 1.0 Control Toolkit release.
I was hoping the "hidden div" problem detailed in http://wiki.fckeditor.net/Troubleshooti ... ab9d551417 would help me resolve the issue, but it has not.
When I trigger the ModalPopup, the FCKEditor that is contained within this new div is not permitting input. Mouseover events on the buttons still produce the image swap behavior, but there's nothing I can do to click into the edit region of FCK.
Has anyone found a cross-browser solution that will allow this scenario to work properly?
Thanks in advance,
Ric
Fri, 03/30/2007 - 07:46
#1
RE: FCK, ModalPopupExtender not playing nice!
Instead of using a link button I use a javascript function to display the modal popup. So I have the following as my JS function:
<script language="javascript">
function openPopup()
{
$find('MP1').show();
FCKeditorAPI.GetInstance("ctl00_MainContent_lblBody").EditorDocument.designMode = "on";
}
Where the first item shows the modal popup and the second line sets the editor designmode. For reference, here is the modal popup I'm using:
<ajaxToolkit:ModalPopupExtender runat="server" ID="MP1" BehaviorID="MP1"
TargetControlID="lnkButton" PopupControlID="pnlModal" BackgroundCssClass="modalBackground"
DropShadow="true" OkControlID="OkButton" OnOkScript="onOk()" OnCancelScript="onCancel()" CancelControlID="CancelButton" />
Richard
RE: FCK, ModalPopupExtender not playing nice!
Thanks for the reply, and this works great on FF and IE6 as you state, but it's all borked up on IE7...
Has anyone found a solution to this for IE7?
Ric
RE: FCK, ModalPopupExtender not playing nice!
Richard
Re: FCK, ModalPopupExtender not playing nice!
Thanks,
Totenkopf