Hi Dong,
Thank you for contacting Syncfusion support.
Based on the provided information, we have checked the mentioned error “Exception was thrown incustom builder of the SfDateRangePicker in month view”. As per the shared code snippet you we suspect you have return the string value in gongtoNong(). So, we have assigned the string value for the text and it is working fine as expected from our end. Also, we have modified the sample, please find the sample from the following link.
Please check the sample and let us know if you still facing the same issue? If not, can you please share the below details,
· Use of the gongtoNong method.
· Exception reproducing video.
It will be helpful for us to check on it and provide you the solution at the earliest.
Regards,
Indumathi R