The datepicker component needs a new event parameter #996

Closed
opened 2026-01-29 17:47:31 +00:00 by claunia · 2 comments
Owner

Originally created by @LeinerViloria on GitHub (Sep 26, 2023).

The component as a calendar needs a event parameter to know when the month has changed

In order to show days with any event in the calendar, we expect to show the month days with a border color, but currently we don't know that until the selected day has changed.

image

If I changed the month, the year, or if I navigated, I would expect an event to know that, for example, through that buttons
image

Finally, the result would be some like that
image

Without select a day, I know that 21th and 29th have events

Originally created by @LeinerViloria on GitHub (Sep 26, 2023). The component as a calendar needs a event parameter to know when the month has changed In order to show days with any event in the calendar, we expect to show the month days with a border color, but currently we don't know that until the selected day has changed. ![image](https://github.com/radzenhq/radzen-blazor/assets/88936718/97b2cab3-4cde-4e10-8120-a217a34acecb) If I changed the month, the year, or if I navigated, I would expect an event to know that, for example, through that buttons ![image](https://github.com/radzenhq/radzen-blazor/assets/88936718/888b0a46-8d3b-494f-ac0a-a65e359448c0) Finally, the result would be some like that ![image](https://github.com/radzenhq/radzen-blazor/assets/88936718/520a5825-f265-4c3d-b173-3a32686a6896) Without select a day, I know that 21th and 29th have events
Author
Owner

@enchev commented on GitHub (Sep 27, 2023):

DateRender event is raised on every update of the calendar:
image

@enchev commented on GitHub (Sep 27, 2023): DateRender event is raised on every update of the calendar: ![image](https://github.com/radzenhq/radzen-blazor/assets/5804953/3696e439-f7f7-490f-9c09-31e92c2a5de3)
Author
Owner

@LeinerViloria commented on GitHub (Sep 27, 2023):

@enchev, yeah, u're right, but it works with a click everywhere, in a day, in a month, click in the arrows, everywhere, and it runs for all days in the calendar view, for example, the DateRenderEventArgs args would be since 30th until 10th of the next month
image

could u leave it in a specific event?

@LeinerViloria commented on GitHub (Sep 27, 2023): @enchev, yeah, u're right, but it works with a click everywhere, in a day, in a month, click in the arrows, everywhere, and it runs for all days in the calendar view, for example, the DateRenderEventArgs args would be since 30th until 10th of the next month ![image](https://github.com/radzenhq/radzen-blazor/assets/88936718/70b19a9c-959b-4300-9692-5058305ce203) could u leave it in a specific event?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#996