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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:12:56+00:00 2026-06-02T06:12:56+00:00

I am using the .NET AjaxControlToolkit (don’t ask why, I inherited this project). I

  • 0

I am using the .NET AjaxControlToolkit (don’t ask why, I inherited this project). I create panels and then using a button, pup up the panel as follows:

<asp:LinkButton ID="lbReplaceImage" runat="server"><img src="/images/pencil.gif" alt="edit image" /></asp:LinkButton>
<cc1:ModalPopupExtender ID="mpeReplaceImages" runat="server" TargetControlID="lbReplaceImage" BackgroundCssClass="modalBackground" 
                            PopupControlID="pnlReplaceImage" CancelControlID="btnReplaceImageCancel" OkControlID="btnReplaceImageOK">
</cc1:ModalPopupExtender>

And then:

<asp:Panel ID="pnlReplaceImage" runat="server" BackColor="White" CssClass="container">
 .
 .
 .
</asp:Panel>

My issue is that first time in the system, there is no data in the table and so the panel is not hidden by the system. I tried to use CSS to hide the panel, but then it never gets turned back on. Is there some operator that will enable the panel to stay hidden even if there are no modal popup controls on the page?

  • 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-06-02T06:12:57+00:00Added an answer on June 2, 2026 at 6:12 am

    What CSS did you use to hide the panel? visibility:hidden?

    Have you tried:

    style="display:none"
    

    I’ve run into this issue before and this worked for me.

    Edited:
    As discussed below, in order for the line above to work it must be placed as inline CSS:

    <asp:Panel ID="pnlReplaceImage" runat="server" CssClass="container" style="display:none">
     .
     .
     .
    </asp:Panel>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In have my application configured in asp.net. I am using ajaxcontroltoolkit. After building the
I am using Microsofts ASP.NET Ajax HTML editor found here http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx . When I
Recently upgraded the entire project to .NET 4.0 but when I debug javascript (using
when using .net classes, there are cases when we don't need parenthesis to pass
I want to create an application using AjaxAjaxControlToolKit in ASP.Net 2.0 How to use
I'm using AjaxPro & AjaxControlToolkit in my project. My project is normally running on
I am using RequiredFieldValidator in my asp.net program. I have a sign out button
Using the asp.net AjaxControlToolkit ModalPopupExtender is there a way listen to an event when
This is c# .net 2.0. I am using a masterpage. The WebService works fine
I had a working project in VS2008 / .Net 3.5 using controls from the

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.