Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
CSOM for WebDatePicker
posted

I am looking at the documentation for the CSOM and I am not finding anything for the WebDatePIcker  in particular the ValueChanged event.

Also are there any examples of using the CSOM?

Thanks
Ron

Parents
  • 24497
    Suggested Answer
    posted

    Hi Ron,

    The ClientEvents.ValueChanged event is inverited from WebTextEditor. The evtArgs is instance of $IG.TextEditorValueChangedEventArgs class. If you cannot find docs for that event, then you may check available public functions from debugger: look at evtArgs and find methods with naming convention get_xxx(..) and set_xxx(...).

    Below is example:

    function valueChangedEvt(editor, evtArgs)
    {
      //debugger;
      alert("valueChangedEvt oldVal="+evtArgs.get_oldValue()+" newVal="+evtArgs.get_value());
    }

Reply Children