Solved

AJAXControlToolkit HtmlEditorExtender not working with ModalPopupExtender

Posted on 2011-09-27
1
3,042 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now