This question is locked. New answers and comments are not allowed.
Is it possible to display a Loading Indicator when the Calendar is switching the displayed month? My issue is that there is a noticeable UI hang when swiping to the next or previous month.
4 Answers, 1 is accepted
0
Accepted
Hello Michael,
That being said, I agree with you that there is a certain delay while changing the display month. I've logged an item in our backlog to improve this functionality.
Give the above approach and try and let me know how it works for you. I'd be glad to further assist you.
Regards,
Kiril Stanoev
the Telerik team
Thank you for contacting us. One possible way to achieve what you're looking for is to use couple of events where you'll start or stop the busy indicator. This is what I have in mind.
<
Grid
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
>
<
telerikInput:RadCalendar
ManipulationCompleted
=
"RadCalendar_ManipulationCompleted"
ManipulationDelta
=
"RadCalendar_ManipulationDelta"
/>
<
telerikPrimitives:RadBusyIndicator
x:Name
=
"busyIndicator1"
/>
</
Grid
>
private
void
RadCalendar_ManipulationCompleted(
object
sender, ManipulationCompletedEventArgs e)
{
this
.busyIndicator1.IsRunning =
false
;
}
private
void
RadCalendar_ManipulationDelta(
object
sender, ManipulationDeltaEventArgs e)
{
this
.busyIndicator1.IsRunning =
true
;
}
That being said, I agree with you that there is a certain delay while changing the display month. I've logged an item in our backlog to improve this functionality.
Give the above approach and try and let me know how it works for you. I'd be glad to further assist you.
Regards,
Kiril Stanoev
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Michael
Top achievements
Rank 1
answered on 05 Sep 2012, 12:47 PM
That worked well thank you.
0
Ilya
Top achievements
Rank 1
answered on 15 Apr 2013, 04:17 AM
Hello, Kirill.
In Silverlight5 I have tried to implement this solution, but I get the exception:
"System.NotImplementedException occurred
Message=The method or operation is not implemented.
StackTrace:
at System.Windows.UIElement.add_ManipulationCompleted(EventHandler`1 value)
InnerException: "
How can I fix this problem?
In Silverlight5 I have tried to implement this solution, but I get the exception:
"System.NotImplementedException occurred
Message=The method or operation is not implemented.
StackTrace:
at System.Windows.UIElement.add_ManipulationCompleted(EventHandler`1 value)
InnerException: "
How can I fix this problem?
0
Hi Ilya,
Kiril Stanoev
the Telerik team
According to MSDN, the ManipulationCompleted is not supported in Silverlight for desktop applications: http://msdn.microsoft.com/en-us/library/system.windows.uielement.manipulationcompleted(v=vs.95).aspx
You can have a look at this forum thread where alternatives are discussed: http://social.msdn.microsoft.com/Forums/en-US/silverlightarchieve/thread/22312bdb-1765-49c0-ba03-34e1fc19776c/
Kiril Stanoev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.