modalpopupextender not showing all controls

Posted on 2012-08-20
Last Modified: 2012-08-26

I have a modalpopupextended which works with plain text, but when I add a ListView the listview appears on the main page rather than in the control I wanted to display in the modalpopup.
<asp:Panel ID="pnlAvanteAddress" runat="server" CssClass="modalPopup" align="center" style = "display:none">

    This is an ASP.Net AJAX ModalPopupExtender Example
<%--    <div style="height: 400px; overflow: auto; width: 100%;">--%>
Customer # : <asp:Label ID="lblCode" runat="server" Text="test line 1"></asp:Label><br/>
Customer # : <asp:Label ID="Label15" runat="server" Text="test line 2"></asp:Label><br/>

                        <asp:RadioButtonList ID="testcontrol" runat="server" ForeColor="#0066FF"> 
                            <asp:ListItem Text="Completed" Value="1"></asp:ListItem> 
                            <asp:ListItem Text="Not Done Yet" Selected="True" Value="0"></asp:ListItem> 
Customer # : <asp:Label ID="Label16" runat="server" Text="testline 3"></asp:Label><br/>

Open in new window

when I press the button to trigger the modalpopup I see test line 1 and 2 in the popup, but everything else is on the main page.

I am using a panel to contain the controls I want to appear in the modalpopup.


Question by:Graham_Forbes
    LVL 20

    Assisted Solution

    Is this the entire code of the Panel i.e. PopupControlID?

    And in the question you have mentioned ListView but in the code it is RadioButtonList. Is it correct?

    Can you check if any css is getting applied to the RadioButtonLIst because as per the samplel of ModalPopup it should work properly.

    Accepted Solution

    when I copy the code to a test page it works, I think the problem might be badly formed controls.

    Author Closing Comment

    the problem was overlapping HTML table code.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    733 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

    18 Experts available now in Live!

    Get 1:1 Help Now