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

Problem with DatePicker inside PickerBox

3 Answers 49 Views
PickerBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 04 Oct 2012, 12:54 PM

When I create full screen PickerBox, I add Datepicker in it, start the app, open picker box, open date picker and click Back button, then I get black screen - both date picker and picker box closes, but somehow I can't see anything now.

When I click back again, I am back at the main page. 

I guess there is problem with handling the Back button when nested picker is inside PickerBox. How to solve this? Is it possible to somehow capture the Back button propagation?

For reproducing this just add 

<telerikInput:RadDatePicker /> inside the PickeBox sample in Examples project.

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 04 Oct 2012, 03:00 PM
Hi Martin,

Thanks for writing.
Since both RadPickerBox and RadDatePicker use RadWindow internally, a window is opened inside another window. This is a bad user experience and is therefore discouraged when developing for windows phone. RadWindow does not support windows in windows which is why you are experiencing this behavior.

Please reconsider your application flow so that it does not use windows inside windows.
Thank you for understanding.

Regards,
Victor
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
vSoft Studio
Top achievements
Rank 1
answered on 03 Jun 2014, 08:31 PM
Hi Victor, I can see that the DatePicker inside a RadCalendar control (when tapping the header) inside a PickerBox works fine with back button press. However, when I try to implement a custom DatePicker (instead of the one inside RadCalendar control) inside a PickerBox, I got problems with back button.

How is it possible in the RadCalendar control?
0
Deyan
Telerik team
answered on 06 Jun 2014, 02:51 PM
Hello,

Using a control that displays popup from within another popup is scenario that is not supported and not recommended on Windows Phone. Our recommendation is to chose another approach to accomplish the needed results.

Regards,
Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PickerBox
Asked by
Martin
Top achievements
Rank 1
Answers by
Victor
Telerik team
vSoft Studio
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or