Latest updates in WebScheduler.NET 2.0.1000.214

Hi all, we just released new hotfixes for Intersoft products. WebScheduler.NET 2.0 Build 214 is one of the included hotfixes. Here are the details.

New client side APIs

In Month view, the dates displayed are not only the active month’s dates. The dates of previous and next month may also be displayed. In certain scenarios, you might need to retrieve the start date and end date of the week or month of a specific date. For example: if the selected date is Wednesday, 28th of January 2008, how can i programmatically retrieve the start or end date of the week ? Well, you can always calculate it, but to make it easier, we have provided some new client side APIs. They are:

  • GetStartDateOfWeek(date): get the start date of week of a specific date. If you set 28th of January 2009 as the date parameter, the result of this API is Sunday, 25th of January 2009.
  • GetEndDateOfWeek(date): get the end date of week of a specific date. If you set 28th of January 2009 as the date parameter, the result of this API is Saturday, 31st of January 2009.
  • GetStartDateOfMonth(date): get the start date of month of a specific date. If you set 28th of January 2009 as the date parameter, the result of this API is Sunday, 28th of December 2008.
  • GetEndDateOfMonth(date): get the end date of month of a specific date. If you set 28th of January 2009 as the date parameter, the result of this API is Saturday, 7th of February 2009.

The above examples uses Sunday as the first day of week (can be specified in CalendarSettings >> FirstDayOfWeek property). If you specify other value for the first day of week, the result will be adjusted to the configuration. The date parameter should be datetime-typed input and the result will datetime-typed value as well. 

New client side events
Per your request, we have added the following client side events.
  • OnBeforeViewSwitched: will be invoked before the view is switched.
  • OnAfterViewSwitched: will be invoked after the view is switched. For example: both events will be invoked when user switched from Month view to Week view. Three parameters will be passed to the event: controlId, previousViewMode, and nextViewMode. 
  • OnBackNavigation: will be invoked when back action is performed in either scheduler or calendar.
  • OnForwardNavigation: will be invoked when forward action is performed in either scheduler or calendar.There are back and forward arrows in both scheduler and calendar. These events will be invoked when either one of the arrows is pressed. Five parameters will be passed to the event: controlId, viewMode, previousDate, nextDate, and isCalendarNavigation.
You can download the sample here.

 

We also added new client side properties for a specific event which is explained in this blog, and also enhancement in agenda details which is explained here.

 

You can view other fixes in WebScheduler’s version history in support site.

 

We received plenty of feedback lately. Some of them are already implemented as I have explained above. If you have any other feedback, feel free to submit it to feedback@intersoftpt.com. Good day, everybody !
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s