I have problem with accessing selector buttons in DatePicker and TimePicker too. When I'm running my app in emulator, than I see buttons. But when I run app on my test device (Lumia 550), buttons are hidden with navigation bar. How can I set DatePicker for soft navigation bar?
9 Answers, 1 is accepted
As I am not completely sure what exactly you are trying to achieve, could you please elaborate more or send me some project or screenshot with additional explanation?
I am looking forward to your reply.
I am afraid we are not able to reproduce the issue at hand. Still, here is a suggestion -- you can attach to Opened event of RadDatePicker and use ApplicationView.PreferredLaunchWindowingMode property. Set it to ApplicationViewWindowingMode.FullScreen. In addition, you might want to set it back to Auto when RadDatePicker closes.
this workaround not worked. Result is still same as on screens, what I posted before.
We will need some more time to investigate this and I will get back to you as soon as we have some resolution or a workaround.
Any update on this? I'm experiencing it on a Lumia 550 and have clients who are experiencing it too.
I have gotten around it by changing the entire app to full screen when running on Windows 10 Mobile like this:
if (Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamily == "Windows.Mobile")
I don't think this is a great solution though.
This is unrelated to Telerik controls specifically, but rather it's a general Windows Mobile programming scenario you need to account for when your app is running on a device that does not use hardware buttons.
Fortunately, there is a way you can detect and manage this using a little logic (usually put within your root frame). Here is an example:
First, hook into the VisibleBoundsChanged event:
Then in the event handler, detect if the on-screen buttons are visible, if they are determine the occulded rect and adjust the height of your UI. Here's an example:
We are active investigating if this is something we can add into the product, however it is unlikely we will add this approach affects the entire application, not just the modal for the picker.
Once the engineering team has completed the investigation into how we can mitigate this just for the UI for UWP pickers, they will come back and update this thread.
Thank you for your patience and understanding while we investigate this further.
Lance | Tech Support Engineer, Sr.
Telerik by Progress
A suggestion to Telerik Engineering...(since it seems to be on all windows phones now)
Can you set a setting in the control that simply shortens the height of the control by 100px, and center it.... that would certainly do it and be a super fast super easy fix.
Thank you for the suggestions. With the upcoming Beta (due in the the next couple of weeks) we have addressed this issue. Now, the DatePicker popup opens in the visible screen bounds.
Please excuse us for the delay on this issue.
Telerik by Progress