Hi:
I'd like to know if there is any way to select a particular time slot in the WebDayView. Here is my scenario:
I have a WebDayView control with a 10-minutes intervals on it. The idea is that according to the user's local time the WebDayView control should scroll its position to the current time of the day minus 1 hour. For example, assuming that I'm connecting to the application at 2 pm, the WebDayControl should be scrolled and displaying the 1 pm time slot.
Hope you can give some recommendations.
Thanks,
Sergio
Hi shernandez,
It has been a while since your post, however in case you still need assistance I would be glad to help.
The WebDayView control has a ScrollPosition property which allows you to set the scroll's position in pixels. On the client you can use
ig_getWebDayViewById("WebDayView1").setScrollPosition()
to do that. Given that you can get the local time of your users you should be able to easily calculate how much to scroll - (number of 10min intervals)*intervalHeight.
Please let me know if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Can you provide an example?
To select ( highlight ) time slot from webdayview control and use selected time slot to create new activity