Problem with DatePicker inside PickerBox

4 posts, 0 answers
  1. Martin
    Martin avatar
    26 posts
    Member since:
    Jul 2012

    Posted 04 Oct 2012 Link to this post

    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.

  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 04 Oct 2012 Link to this post

    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.

  3. DevCraft banner
  4. vSoft Studio
    vSoft Studio avatar
    1 posts
    Member since:
    May 2014

    Posted 03 Jun 2014 in reply to Victor Link to this post

    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?
  5. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 06 Jun 2014 Link to this post

    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.

     
Back to Top