Skip to content

How to hide modalpop automatically after some seconds

syed afroz

Asked Jun 22, 2010, 3:20 AM EDT2 answers
Share
LinkedInX
Hi!
  i'm displaying some message in modalpopup extender, now i want hide that popup automatically after some seconds ....
  How to accomplish this,,, please help me out..

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Joe Pool
    0
    You would need to use a timer, either in your parent application or on the modal form.
    From parent, when time limit is expired, call modalpopup.Close() from your time event.
    From the modal form, disable the timer and call Close() from your time event.
    0
  • 0
    I'm using this code behind but doesn't seem to work..

    ProgressBarModalPopupExtender.show();

     System.Threading.Thread.Sleep(2000);

            ProgressBarModalPopupExtender.Hide();


    please suggest me any way to get rid of this..
    0