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,
I need to obtain from javascript the id of the resources that user have selected in day splitviewmode
I have 3 differents resources and in the client event "WebScheduler OnEditingFormShow" i must obtain the resourceid before show my custom editingform
I use this function to set initial view with splitviewmode
function SetInitialMode() {
var ws = ISGetObject("WebScheduler");
ws.IsInSplitViewMode = true;
ws.SetSelectedViewMode("Day");
}
Thank
Hi Riendy
eventview is null...
I resolved. I add clientevent OnValidateDisabledTime where i store resourseId variables
Thanks
Best regards,
Michela
Hi Michela,
If you want to get the id of the resources that user selected in day SplitViewMode in the client event "WebSchedulerOnEditingFormShow", you can try snippet code bellow :
function WebScheduler1_OnEditingFormShow(controlId, action, eventView, eventType, newType) { var WebScheduler1 = ISGetObject(controlId); if (eventView.IsRecurringEvent()) Alert("ResourceID : " + eventView.OriginalRecurringObject.ResourceID); else Alert("ResourceID : " + eventView.OriginalObject.ResourceID); return true; }
Please let me know if it works fine after this snippet code applied.
Hope this helps
Regards,
Riendy
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