Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 553813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:38:39+00:00 2026-05-13T11:38:39+00:00

Currently I have a custom user control and within it is a little form

  • 0

Currently I have a custom user control and within it is a little form and a modal popup extender, the idea is for the user control to be loaded dynamically in the parent page and displayed so the user can fill out the form and submit it and all the submission code be handled on the user control

the problem I am having is when trying to make the modal popup display so the user can interact with it, nothing is being displayed at all, code follows:

the user control:

<asp:UpdatePanel ID="breakTheGlassUpdatePanel" runat="server">
<ContentTemplate>
    //some fields for entry and a submit/cancel button
</ContentTemplate>
</asp:UpdatePanel>

<ajaxToolkit:ModalPopupExtender runat="server" ID="breakModal"
    TargetControlID="breakModalHolder" 
    BackgroundCssClass="btgModalBackground" 
    DropShadow="true" 
    PopupControlID="breakTheGlassUpdatePanel" />

    <asp:Button ID="breakModalHolder" runat="server" Style="display:none;" />

Code in parent page:

BreakTheGlassControl btgControl = (BreakTheGlassControl)Page.LoadControl("~/ARISUserControls/BreakTheGlassControl.ascx");
AjaxControlToolkit.ModalPopupExtender breakModal = (AjaxControlToolkit.ModalPopupExtender)btgControl.FindControl("breakModal");
breakTheGlassPanel.Controls.Add(btgControl);//panel in parent page
breakTheGlassPanel.Visible = true;
breakTheGlassPanel.Controls.Add(btgControl);
breakModal.Show();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:38:40+00:00Added an answer on May 13, 2026 at 11:38 am

    This page might help you. Essentially, it creates a normal panel and places the updatePanel inside it. The normal panel is then used as the Extender’s PopupControlID attribute.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a repeater that displays a custom user control on a form multiple
I have a Windows form which hosts a custom User Control. This User Control
I am using JQuery within a custom AJAX user control (part of a home
Aloha, I have a custom control that I need to instantiate from within a
I have made one custom user control (search text box), which basically consists of
Currently if I want to test a user control, I add my custom tags
I currently have a custom session handler class which simply builds on php's session
Currently I have a custom tool which generates vanilla-SQL (only using standard SQL), from
I have a ASP.Net 2.0 website that is currently using a custom MembershipProvider and
I have a custom container control (deriving from FlowLayoutPanel ) which contains zero or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.