This is a migrated thread and some comments may be shown as answers.

IsClosedOnOutsideTap appears to require a double tap to close window

2 Answers 28 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anthony
Top achievements
Rank 1
Anthony asked on 05 Nov 2011, 06:57 PM
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.

Thanks,
Ant

2 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 07 Nov 2011, 03:41 PM
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,
Victor
the Telerik team

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

0
Anthony
Top achievements
Rank 1
answered on 07 Nov 2011, 04:39 PM
Hi Victor,

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

Thanks for the quick reply. :)

Take care,
Ant
Tags
Window
Asked by
Anthony
Top achievements
Rank 1
Answers by
Victor
Telerik team
Anthony
Top achievements
Rank 1
Share this question
or