Telerik Forums RSShttp://www.telerik.com/urn:uuid:a8d17b9b-21b5-40c7-9b21-e4de000b5d22http://www.telerik.com/forums/permalink/m3vRqLUhx0CbIeTeAAtdIgHow to close mobile modalview onBackPressed in androidHello Michael,
<p>In our next release, we are going to expose a "back" event of the router component (available , which will be used for such purposes.&nbsp;</p>
Regards,<br />
Petyo <br />
Telerik
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
Join us on our journey to create the world's most complete HTML 5 UI Framework - <a href="http://www.kendoui.com/download.aspx">download Kendo UI</a> now!
</div>
<div class="forumBaloonBottom"></div>urn:uuid:5e9f826e-9aae-631b-85d4-ff000054ddc5http://www.telerik.com/forums/permalink/boKfXq6aG2OF1P8AAFTdxQHow to close mobile modalview onBackPressed in androidwhat if the modal does not have a parent view and is instead implemented on the app body level. is there any way to close the modal onbackpressed?urn:uuid:4939be55-ee85-4853-afbf-1506cbc647a3http://www.telerik.com/forums/permalink/Vb45SYXuU0ivvxUGy8ZHowHow to close mobile modalview onBackPressed in androidHello Ralph,
<p >The current ModalView implementation does not allow such a behavior, but we plan to include this feature for some of the next Kendo UI versions.<br />
<br />
Currently you could achieve the desired result with PhoneGap, which allows intercepting the Back button click.<br />
<br />
</p>
Regards,<br />
Dimo <br />
Telerik
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
Join us on our journey to create the world's most complete HTML 5 UI Framework - <a href="http://www.kendoui.com/download.aspx">download Kendo UI</a> now!
</div>
<div class="forumBaloonBottom"></div>urn:uuid:ecb9816e-9aae-631b-85d4-ff000054ddc5http://www.telerik.com/forums/permalink/boG57K6aG2OF1P8AAFTdxQHow to close mobile modalview onBackPressed in androidHi Dimo,<br />
<br />
Is it possible that in such scenario only the modal view is closed but the view is not hidden?<br />
<br />
Thanks!<br />
<br />
BR,<br />
Ralphurn:uuid:3ca670eb-8156-4927-bc3e-c953e3f74dcdhttp://www.telerik.com/forums/permalink/63CmPFaBJ0m8PslT4_dNzQHow to close mobile modalview onBackPressed in androidThanks.. it's worked..&nbsp;urn:uuid:2ad4b51c-63ed-420b-aebf-21d4b9aeee45http://www.telerik.com/forums/permalink/HLXUKu1jC0KuvyHUua7uRQHow to close mobile modalview onBackPressed in androidHi Sulthon,<br />
<br />
You can use the <a href="http://docs.kendoui.com/api/mobile/view#hide" target="_blank">hide event</a> of the parent view and <a href="http://docs.kendoui.com/api/mobile/modalview#close" target="_blank">close the modal view</a> there.<br />
<br />
Regards,<br />
Dimo <br />
the Telerik team
<div class="forumBaloonTop"></div>
<div class="forumBaloon">
Join us on our journey to create the world's most complete HTML 5 UI Framework - <a href="http://www.kendoui.com/download.aspx">download Kendo UI</a> now!
</div>
<div class="forumBaloonBottom"></div>urn:uuid:1640e028-b962-4c2d-8472-ead550ce7ffehttp://www.telerik.com/forums/permalink/KOBAFmK5LUyEcurVUM5__gHow to close mobile modalview onBackPressed in androidAnyone can give me guide how to Close modal view&nbsp;onBackPressed in android..<br>
cause it's feel wierd if someone press back key and the page changed.. but the modal view still there..&nbsp;<br>
<br>
Thanks before..<br>
<br>