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 6101383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:29:38+00:00 2026-05-23T13:29:38+00:00

I am using 2 popup extender in my project The 1st one is given

  • 0

I am using 2 popup extender in my project The 1st one is given below which is use to display some information

 <asp:ModalPopupExtender ID="DEx" runat="server" TargetControlID="lk_modalPopup"   CancelControlID="pnCancel"   PopupControlID="panelD"></asp:ModalPopupExtender>
 <asp:Panel runat="server" ID="panelD"  Style="display: none">
 <div>
  <asp:LinkButton ID="lkImageUploader" runat="server" Text="Upload Image"></asp:LinkButton>

Inside this pop up extender there

<asp:ModalPopupExtender ID="ImageUploaderEx" runat="server" TargetControlID="lkImageUploader" CancelControlID="UploadCancel" PopupControlID="panelUploader" >      </asp:ModalPopupExtender>
 <asp:Panel runat="server" ID="panelUploader" Style="display: none" >
    <div class="RoundDivGreenfloat" style="width:300px;height:95px;" >
    <div class="RoundDivOrange" align="center"><span class="whitetext">Upload Image</span></div><br />
    <div><asp:FileUpload runat="server" ID="fu_Upload" /></div><br />
    <div align="center">
         <asp:Button ID="pnUpload" runat="server" Text="Upload" onclick="pnUpload_Click"/>
         <asp:Button ID="UploadCancel" runat="server" Text="Cancel" />
     </div>
   </div>

The link button inside the top panel is the one which opens the file uploader panel.
The problem I m facing is that when I click on the file uploader ie popup inside a popup then , Upload button It closes both the popup. I just want only file uploader popup to be closed

  • 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-23T13:29:38+00:00Added an answer on May 23, 2026 at 1:29 pm

    Since in the pnUpload_Click the postback occurs and will load the page once again. This is the reason why it is closing both popups.

    One method is make an ajax call in the client click of pnUpload and do the server side code. After that hide the upload popup from javascript and this will show the first popup as such.

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

Sidebar

Related Questions

I have an asp.net web page written in C#. Using some javascript I popup
I am using a popup menu in Delphi. I want to use it in
SUMMARY: When browsing an ASP.NET website using Windows Explorer, popup windows do not borrow
i am using asp.net (.net framework 2.0) i am getting below error for my
I'm not able to get my panel popup using ModalPopupExtender. Here's the code .modalBackground
I'm using json to open the user popup. I used to use basename( $_FILES['userfile']['name']
I am attempting to pull some information from my tnsnames file using regex. I
I am using Ajax control tool kit popup extender with Panel. While loading the
i have as asp.net-mvc website and we are migrated a popup from using PartialView()
I have a popup using div and javascript in a jsp page which also

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.