Is there a way to access the date of a recurring appointment on clicking in Blazor scheduler?

1 Answer 43 Views
Scheduler
Marzuk
Top achievements
Rank 1
Marzuk asked on 24 Jul 2024, 04:19 PM

Hi,

I've been following this example regarding opening a context menu when right clicking an appointment https://github.com/telerik/blazor-ui/blob/master/scheduler/appointment-context-menu/ and I'm wondering if it's possible to access the Date of the specific occurrence that was clicked when using recurring appointments.

For example being able to access Mon, 7/22 when right clicking on it to then assigning it to a private variable on the page and such?

Best Regards,

Marzuk

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Jul 2024, 08:12 AM

Hello Marzuk,

Currently the Scheduler ItemTemplate context exposes the data item with the recurrence rule, but not occurrence information.

We have a feature request to enhance the template and provide the specific occurrence. I voted on your behalf. You can also review the provided workaround - extract the occurrence DateTime from the rendered HTML with JavaScript.

Regards,
Dimo
Progress Telerik

Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024

Marzuk
Top achievements
Rank 1
commented on 29 Jul 2024, 08:46 AM

Good morning,

Awesome, good to know. Yeah I created a similar workaround using Javascript.

Best Regards,
Marzúk Ingi

Tags
Scheduler
Asked by
Marzuk
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or