How to get the Date,StartTime and EndTime of the selected columns on the launch of "New Event".

9 replies. Last post: June 5, 2014 12:15 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Frank GaryMember

Hi Team -

We were trying to get the Date,StartTime and EndTime of the selected columns on the launch of "New Event". We tried to achieve it via same client side event we used to launch the "New Event" or "Edit Event" but somehow it didn't work for us. Below is the code snippet for the same. 

function WebSchedulerSummary_OnEditingFormShow(controlId, evt, action, eventView, eventType, newType) {        // variable ResourceID of selected event
        var ResID = evt.ResourceID;
        // variable startdatetime of selected event
        var StartDate = evt.StartTime.getDate();
        // variable new StartDateTime of selected event
        var StartTime = evt.StartTime;
        // variable new EndDateTime of selected event
        var EndTime = evt.EndTime;

Somehow the "evt" variable always come out to be "null" or "undefined". Not sure what we are doing wrong here. Also if possible , can you provide me some documentation on webscheduler client side events?

The insight to the above problem will be of great help.

Thanks - Frank

All times are GMT -5. The time now is 3:46 PM.
Previous Next