Solved

AJAXControlToolkit HtmlEditorExtender not working with ModalPopupExtender

Posted on 2011-09-27
1
3,136 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to find a web event on the IIS server 4 54
Best book for Internet security 4 55
.NET Redemption/Outlook Examples 3 35
How do I "share" on social sites? 2 40
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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