modalpopupextender not showing all controls

Posted on 2012-08-20
Medium Priority
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
  • 2
LVL 20

Assisted Solution

informaniac earned 600 total points
ID: 38312775
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

Graham_Forbes earned 0 total points
ID: 38315186
when I copy the code to a test page it works, I think the problem might be badly formed controls.

Author Closing Comment

ID: 38333856
the problem was overlapping HTML table code.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

750 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