IsClosedOnOutsideTap appears to require a double tap to close window

Thread is closed for posting
3 posts, 0 answers
  1. Anthony
    Anthony avatar
    17 posts
    Member since:
    May 2011

    Posted 05 Nov 2011 Link to this post

    Hi :)

    I am using the RadWindow to display a UserControl that covers the bottom half of the page (a custom SIP).  When I tap outside of the popup to select another control (ie a TextBox on the page) the popup does not automatically close.  Even though the textbox is selected and displaying it's SIP on top of my popup.

    It will close if i double click outside of the popup window, ie double click on the textbox.

    Please let me know if you would like a sample app to reproduce this.

  2. Victor
    Victor avatar
    1358 posts

    Posted 07 Nov 2011 Link to this post

    Hi Anthony,

     Thank you for writing.
    I am afraid that there is no way for RadWindow to know when the user has tapped a text box because this action does not trigger any manipulation events, the text box somehow swallows all manipulation notifications. What you can do is use RadModalWindow and set its Background property to #00000000. This way you will prevent interaction with the text box because the background layer will handle the manipulation before the text box.

    You will be able to do this in the Q3 2011 release however. It will be available next week. Currently RadModalWindow disregards the CanCloseOnOutsideTap property.

    Please write again if you have other questions.

    Kind regards,
    the Telerik team

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

  3. Anthony
    Anthony avatar
    17 posts
    Member since:
    May 2011

    Posted 07 Nov 2011 Link to this post

    Hi Victor,

    As long as I have a work around I'm happy! ;)

    Thanks for the quick reply. :)

    Take care,
Back to Top