iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Intersoft,
How can I catch event on server when user change date in client ? (Event on Server of Webscheduler have nothing related to this action).
How can I forward to next week by using javascript ? I'm using a custom calendar, user select a date on this calendar and I will call function to let scheduler go to this date, too).
In Webgrid, "Client side API" have many useful function for developing. But In WebScheduler, I can't find any functions. Does Webscheduler have "Client side API" ?
WebScheduler has a javascript function to move to a selected date. Here is the snippet to move to a week from the currently selected date:
function MoveSchedulerByCalendar() { var sched = ISGetObject("WebScheduler1"); sched.Calendar.MoveDayBy(7); sched.RefreshAll(true); } function MoveSchedulerBySelectedDate() { var sched = ISGetObject("WebScheduler1"); var currentDate = sched.ViewSettings.SelectedDate; currentDate.setDate(currentDate.getDate() + 7); sched.RefreshAll(true); }
The first snippet will be applicable if the Calendar object is loaded, if the Calendar is not loaded you could use the second snippet.
Regarding the lack of documentation for WebScheduler, I will inform this to our documentation team for consideration.
Thanks Glenn,
It helps me a lot.
How about the event in server when calendar change?
Looking to your script, I guess that I can catch event Webscheduler_Load and check if date is changed or not. If there is other easy way to catch calendar change event, pls show me how.
Thanks & Regards,
Huy.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname