Hi Peter,
Thanks for contacting Syncfusion support.
Query 1: Is there a possibility to set the StartDay for the Date Range Picker like we can do for the DatePicker? For example, start the weeks on monday instead of sunday?
Yes. It is possible. For this scenario, you can use DateRangePicker component open event to change the startDay for both the left and right date pickers.
function onOpen(args) {
this._leftDP.option("startDay",1);
this._rightDP.option("startDay",1);
} |
Query 2: I would like to add the easy range buttons (Last Week/Month). When I add the code to my Page_Load sub it only shows the "Customer Picker" button and not the "Last week" & "Last month buttons."
By default, our DateRangePicker component Custom Picker button visible to UI. Your provided code blocks are enough to add any custom buttons in DateRangePicker. Please refer the below sample and screenshot.
If the issue persists, kindly modify the above sample based on your scenario else share the complete code block of DateRangePicker along with Layout and web config page details to proceed further.
Regards,
Keerthana.