Show selected dates on button click

I have a date range, made up of two datetime pickers and one server side button

I would like for the Schedule Control to show the dates (week or specific day) based on the selected date range, when I click on the server side button. 

Currently, the Schedule controls, always displays the current week, but this is not the desired behavior. Schedule control should open, based on date range selected. 

Thank you for your help. 

Regards

Corando 



Attachment: Scheduler_ccc190f8.rar

3 Replies

VM Vengatesh Maniraj Syncfusion Team April 18, 2022 10:51 AM UTC

Hi Corando,


Greetings from Syncfusion!!!

It could be possible with the RenderDates property. Please refer to the below that will help you to achieve your requirement.

https://help.syncfusion.com/aspnet/schedule/views#customizing-number-of-days-custom-view


Regards



CO Corando April 19, 2022 01:11 AM UTC

I have tried to implement the solution based on the link provided, however it does not work. Could you provide an example on how to call RenderDates from code behind. 

Kind regards,


Corando





VM Vengatesh Maniraj Syncfusion Team April 19, 2022 06:16 AM UTC

Hi Corando,


Yes. Please find the sample from the below link that might help you.

https://asp.syncfusion.com/demos/web/schedule/customview.aspx

Please check the above sample and let us know if you need any further assistance.


Regards,

Vengatesh


Loader.
Up arrow icon