But if we are adding .Min(DateTime.Today) The previous dates are not showing we want to show the previous dates also
but those want to be disable. it means the user cannot able to select the previous date for that how we can add a code
Thanks and Regards
Aleksandar
Telerik team
commented on 28 Jun 2023, 04:19 AM
The DatePicker exposes a DisableDates configuration method that has several overloads. An approach to disable weekends or specific dates are demonstrated in the Disabled Dates Demo. Make sure to click on the View source tab to review the entire implementation. If you want to disable all date prior to today, for example, you can do so by passing name of the JavaScript handler function to the DisableDates configuration method. The function will be dynamically resolved for each date of the calendar. Note that when the function returns true, the date will be disabled.