ModalPopupExtender state

Last post 01-17-2007 6:36 AM by kemoka. 2 replies.

Sort Posts:

  • ModalPopupExtender state

    01-03-2007, 10:23 AM
    • Member
      2 point Member
    • kemoka
    • Member since 12-29-2006, 3:06 PM
    • Posts 12

    Hello everyone,

    I have a page with an UpdatePanel and inside it I have a Timer and a ModalPopupExtender among with some Labels.

    The idea is to have the labels update periodically both with the popup visible and hidden.

    However, the popup closes after the Timer Tick event fires, because of the partial update.

    I was hoping I could test in the Tick() method the status of the popup (hidden or visible) in order to Show() it, but I can't find any appropriate method to do it.

    Is this possible, or is there any other solution?

    Thanks Smile

     

  • Re: ModalPopupExtender state

    01-03-2007, 6:17 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    • AspNetTeam
    Create a variable to track the state yourself? Or maybe peek at the internal _windowHandlersAttached variable.

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: ModalPopupExtender state

    01-17-2007, 6:36 AM
    • Member
      2 point Member
    • kemoka
    • Member since 12-29-2006, 3:06 PM
    • Posts 12

    Hi!

    David Anson:
    Create a variable to track the state yourself?

    This worked perfectly, thanks! [:-)]

    David Anson:
    Or maybe peek at the internal _windowHandlersAttached variable.

    I am curious about this... how can I access this value from Client Script and/or Code Behind?

     

    Thank you! 

Page 1 of 1 (3 items)