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
1440
How to set MinDate and MaxDate by javascript?
posted

Hi,

I have to set the MinDate and MaxDate dynamically based on user's input.  Instead of having a AJAX postback, is there anyway to do that by javascript?  Thanks.

Regards,

Jason

Parents
  • 2254
    Verified Answer
    posted

    Hello,

    Is this what you're loooking for ?

    e.g. 01-Nov-2009   15-Dec-2009 

     var wdc = igdrp_getComboById("<% =WebDateChooser1.ClientID %>")
       wdc.setMinDate(new Date(2009,10,1, 0,0,0));
       wdc.setMaxDate(new Date(2009,11,15, 0,0,0));

    If this is what you're looking for, then you can read the help file installed on your computer.

    See  "Client-Side Object Model (CSOM) Reference Guide"

    If this is not what you're looking for, then accept my apologies.

     

     

Reply Children
No Data