?
Solved

AJAXControlToolkit HtmlEditorExtender not working with ModalPopupExtender

Posted on 2011-09-27
1
Medium Priority
?
3,304 Views
Last Modified: 2013-11-27
I'm trying to add a HtmlEditorExtender to a ModalPopupExtender, but the html editor isn't showing up correctly.  If I remove the html editor and just leave the textbox the modal popup is working fine.

I'm also using the newest Toolkit.

Here's an image of what I get as a result
Screen Shot of Result
And here's the code I'm using:
 
<asp:Panel ID="pnlModalAboutUs" runat="server" style="display:none;" CssClass="modalPopup">
        <asp:TextBox ID="tbxAboutUs" runat="server" Columns="60" Rows="8" TextMode="MultiLine" />
        <asp:HtmlEditorExtender runat="server" TargetControlID="tbxAboutUs" />
        <br />
        <asp:Button ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
    </asp:Panel>
    <asp:ModalPopupExtender ID="mpe1" runat="server" 
        TargetControlID="lnkbEditAbout"
        PopupControlID="pnlModalAboutUs" 
        BackgroundCssClass="modalBackground" 
        CancelControlID="btnCancel" />

<asp:LinkButton ID="lnkbEditAbout" runat="server" OnClick="lnkbEditAbout_Click" CausesValidation="false">Edit</asp:LinkButton>

Open in new window

0
Comment
Question by:chshelpdesk
1 Comment
 

Accepted Solution

by:
chshelpdesk earned 0 total points
ID: 36712421
Issue fixed.  Had to remove the style="display:none;" in the panel.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The most up-to-date version of this article is on my Blog https://iconoun.com/blog/
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question