FCK Editor with Modal PopUp Extender

Posted by Sutotpal under ASP.NET AJAX on 8/23/2012 | Points: 10 | Views : 1503 | Status : [Member] | Replies : 3
Hi,

I am showing FCK Editor in Modal Modal PopUp Extender but when page load it's throwing a JS Error, i.e.
htmlfile: Could not complete the operation due to error 800a025e

and here is my simple code. This code working fine on Button Click .

<asp:Button ID="btnAddSections" runat="server" Text="Add NIT/RFP" />

<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" CancelControlID="btnCancel"
OkControlID="btnOk" TargetControlID="btnAddSections" PopupControlID="Panel1"
Drag="false" BackgroundCssClass="ModalPopupBG">
</asp:ModalPopupExtender>

<asp:Panel ID="Panel1" runat="server" CssClass="Popup">
<FCKeditorV2:FCKeditor ID="txtMesg" BasePath="~/res/fckeditor/" runat="server" Height="400px"
Width="100%" />
</asp:Panel

i havn't got any Solution .....

Thanks in advance.....

Best Regards,
Sutotpal



Responses

Posted by: Rambabu123 on: 8/23/2012 [Member] Starter | Points: 25

Up
0
Down
i think your code is b/w updatepanel
once comment updatepanel its work fine

OR
<asp:UpdatePanel ID="updPnl" runat="server">
<ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnAddSections" />
</Triggers>
</asp:UpdatePanel >
</ContentTemplate>

Sutotpal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sutotpal on: 8/23/2012 [Member] Starter | Points: 25

Up
0
Down
No, I haven't take any update panel..

Best Regards,
Sutotpal

Sutotpal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sutotpal on: 8/23/2012 [Member] Starter | Points: 25

Up
0
Down
Ya I tried this, but not working ..

Best Regards,
Sutotpal

Sutotpal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response