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
310
How to get selected date from WebMonthCalendar using javascript.
posted

Hi am beginner to Infragistics. i used one WebMonthCalendar control in my form.how can i get selected date from WebMonthCalendar using Javascript while click submit button.

Thanks.

Parents
No Data
Reply
  • 29417
    Verified Answer
    Offline posted

    Hello Murali , 

    Thank you for posting in our forum. 

    The WebMonthCalendar has a get_selectedDate() method that returns the selected date.

    So you can for example get that date as follows:

    var calendar = $find("WebMonthCalendar1");

    var date = calendar.get_selectedDate();

     

    Where WebMonthCalendar1 is the client id of the control. 

    Let me know if you have any questions.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer II

    Infragistics, Inc.

    http://ko.infragistics.com/support

     

Children