Anyway to obtain PopUpOpening/Closing events

2 posts, 0 answers
  1. Anthony
    Anthony avatar
    17 posts
    Member since:
    May 2011

    Posted 27 Dec 2011 Link to this post


    I am using the ListPicker inside of a popup box and would like to know if there was a way that I could run some code when the ListPicker PopUp is opening/closing.  

    I attempting to solve the following issue in my app.

    Display PopUp window containing ListPicker.
    User taps ListPicker which displays the ListPicker PopUp window. 
    User taps the back back button. 
    Both the ListPicker window and my Rad Window close at the same time.

    If I can hook into this ListPicker PopUp opening event I can set the IsClosedOnBackButton property on the first PopUpWindow to false.  Then once the window closes the ListPicker PopUp, I can set it back to true.

    Please let me now if you need anymore information

  2. Deyan
    Deyan avatar
    2026 posts

    Posted 30 Dec 2011 Link to this post

    Hello Anthony,

    I believe the StateChanged event should be useful in your scenario. It is fired providing an instance of the


    Which contain information about the new state of the control. You can use the Expanding and Collapsing states to set the IsClosedOnBackButton property of the popup.

    I hope this helps.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top