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

  • Home
  • SEARCH
  • 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 748085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:16:46+00:00 2026-05-14T14:16:46+00:00

I have a model pop extender control like: <cc1:ModalPopupExtender ID=basketPopUp runat=server PopupControlID=Panel1 PopupDragHandleControlID=PopupHeader Drag=true

  • 0

I have a model pop extender control like:

 <cc1:ModalPopupExtender ID="basketPopUp" runat="server" 
    PopupControlID="Panel1" 
    PopupDragHandleControlID="PopupHeader" 
    Drag="true" 
    BackgroundCssClass="ModalPopupBG"
    TargetControlID="Panel1">
</cc1:ModalPopupExtender>
<asp:Panel ID="Panel1" Style="display: none" runat="server">
    <div class="PopupBody">
        <b>Test</b>
        <br />
    </div>
</asp:Panel>

What i want is to show the popup for 5 seconds and HIDE it AUTOMATICALLY after this period of time.

I’ve tried this, but, running on the server side, of course it is not working:

 public void showAndHidePopUp()
{
    basketPopUp.Show();
    System.Threading.Thread.Sleep(5000);
    basketPopUp.Hide();
}

Do you know how to hide it in a proper way?

Thanks.

Edit:

For announcementes i’ve decided to use jGrowl-> http://www.stanlemon.net/projects/jgrowl.html

and not ModalPopUp Extender.

  • 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-14T14:16:47+00:00Added an answer on May 14, 2026 at 2:16 pm

    Try using a javascript timer, let the client handle it:

    http://www.mcfedries.com/JavaScript/timer.asp

    http://www.w3schools.com/js/js_timing.asp

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

Sidebar

Related Questions

I have the below code inside the datalist control <a id=lnkCart runat=server onclick=lnkCart_Click title='<%#DataBinder.Eval(Container.DataItem,BookId)%>'>
I have a modal pop extender that has a user control in it, I
I have model like this: scope :search_posts, lambda { |query| mega_posts.where( title LIKE ?
Problem here is, i have a Modal PopUp Extender inside a User Control, which
I am using pyhton's multiprocessing package in a standard client-server model. I have a
So I have this function to close a message alert (pop-up model). That works
I have a GeoDjango project that has a manager model like this; class AdvertManager(models.GeoManager):
I have an ascx control loaded inside a panel tied to a modal pop
I have a comment model that posts under a micropost like facebook. The problem
I have an strongly typed view for my model and what I'd like is

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.