Kendo UI Scheduler: Business hours? - telerik

Is there any way to get Kendo UI Scheduler to display business hours in specific color?
There is just only one option in the documentation on kendo website: http://docs.kendoui.com/api/web/scheduler#configuration-messages.showWorkDay
which sets display message for Business hours button, but there is nothing said about how to configure scheduler to display that button. Am I missing something?

Business hours will be supported in our next official release. The documentation got updated by chance earlier.

Related

It is possible to show a weekNumber in Kendo UI Angular DatePicker

In the MVC and the jQuery Version of Kendo's DatePicker it's possible to show the weekNumber as a column in the DatePicker.
How can I enable this feature in the Angular 2 - Edition of the component? Things like [weekNumber]="true" doesn't work.
jQuery - Edition:
https://docs.telerik.com/kendo-ui/api/javascript/ui/datepicker#configuration-weekNumber
Right now, Kendo Calendar for Angular doesn't support week numbers. There is no feasible workaround that we can think of as the week numbers are part of the internal view that renders the month days.
As far as I know, it is final development stage and pretty soon it should be released as #progress/kendo-angular-dateinputs#dev package. I suppose this will happen within a week or so.

How to achieve longclick in kendo ui listview

I am doing a mobile application in kendo UI. When clicking on the item in the listview its redirecting to some page. My requirement is that for long click also it should redirect to some page.
How can i make it possible in mobile using kendo ui?
Thanks in Advance.
Based on this answer from Kendo UI forums (no native OS events), you could look at this question about Long Press just down the road in SO.
Basically start experimenting with JavaScript events and timers.
As far as I know, JQuery Mobile events (taphold) and plugins are not an option as they would be competing with Kendo UI for page control, but you might get some ideas for your implementation.

Time or duration control?

In my application the users needs to be able to enter a duration, consisting of minutes and seconds.
I am thinking of something like the control used in Windows to change the time, though I only need minutes and seconds and also the arrows would be nice, but are not necessary.
Is there already a control for this in JavaFX 2?
If not, how can I create such a control?
A screenshot of the mentioned Windows control:
Thanks for any hint!
Unfortunately there is no such control in standard JavaFX 2.
Although you can try to look at Spinner control from JFXtras project: http://jfxtras.org/
And intergrate it with TextEdit filtering approach described here: What is the recommended way to make a numeric TextField in JavaFX?
Nice implementation of spinner, though you need to adjust it to handle time inputs.
JavaFX NumberTextField and Spinner Control.

Doubts regarding handling the state of pages in Wp7 Phone App

I have the application ,in which i save the state of the page and while deactivate the application,and once i get in foreground the application,i will restore the data.But when i click the back button at the time,i don't have the Object instance for the previous page .So how can i handle at that time?
On BackKey Press,I need to some thing like
1)Check the pages in the stack,remove the previous page and create the new instance of the page or any other think?
Your data should be saved when your application is deactivated and reloaded when your application is restored. It sounds like you are not restoring your data correctly.
This is where using something like MVVM model where your data is separate from your UI code is really helpful. Check out the MVVM light toolkit on CodePlex.
http://mvvmlight.codeplex.com/
It is too general a question to give more specific answers than that. Sorry.
Try coding up something and posting specific questions regarding your code.

Selective Virtualization in WP7 Listbox with VirtualizingStackPanel

I am referring an app like Facebook WP7 app. When we try to scroll a long list of the feed items. Only the heading of an feed item seems to be visible and when the scroll is completed remaining details gets loaded. If it is a normal Listbox where virtualization is enabled complete data disappears and all the controls seem to be recycled. So in facebook app, I thought that the virtualization is happening on selective items. Am I right?
If yes, how to do a selective virtualization? and if I am wrong what is the app exactly doing? Any resource regarding this will be helpful.
Thanks in advance.
I believe that this is just how their data binding works.
They get an initial list that contains the "headers" and some basic information, which they show. They then make more calls to grab the rest of the info. When that info comes in, it updates in the view model and thru databinding shows up on the list.
I have apps that do that, and they behave similarly to how FB's listbox behaves.
As Willmell pointed out, this msdn link describes what Facebook is doing exactly. The template of the listBoxItem will be switched while scrolling.
Try to look here. This guide helps me to solve a similar problem.

Resources