I have a web app using many Modal Popup Extenders on different pages for adding/entering data. The design works great but as the app continues to grow so do the page sizes because modal popup panels are always included in the html .NET sends to the client. The popups are not actually show to the client until they click on the corresponding button, but the controls, etc are always included in the page. I am trying to hide the <asp:Panel 's used for the modal popups untili the corresponding button is shown to cut down on the size of the pages sent and speed up loading on the client's end. I am not having any luck. Any ideas
The popup panels are in user controls which are included in the main pages. I set the <asp:Panel to Visible="False" and call pnlName.Visible="true" and MPE.Show() when the modal popup button is clicked. The background of the screen is grayed like normal but the popup panel is not displayed. Any Ideas? or better solutions to cutting down the overall page size?