Uneditable scheduler events and viewer template

1 Answer 33 Views
Scheduler
Nikita
Top achievements
Rank 1
Iron
Nikita asked on 07 Dec 2023, 08:04 PM

Is there a way to create a custom viewer template for a scheduler event and have certain events be uneditable and open up in a viewer pop-up?

1 Answer, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 12 Dec 2023, 10:46 AM

Hello Nikita,

 

Thank you for writing to us. I hope you are doing well.

You can achieve this requirement by checking the implementation in these 2 samples:
- https://docs.telerik.com/aspnet-mvc/html-helpers/scheduling/scheduler/how-to/custom-editor
- https://docs.telerik.com/aspnet-mvc/html-helpers/scheduling/scheduler/how-to/custom-view

As for making the view mode read-only, you can render only labels instead of inputs or make the inputs read-only or disabled.

 

Regards,
Eyup
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.

Nikita
Top achievements
Rank 1
Iron
commented on 13 Dec 2023, 12:43 AM

Thank you for your response, it was very helpful. I was able to modify the event item editor template to render in read-only mode using MVVM bindings and hide/show editor dialog buttons via onEdit event handler.
Eyup
Telerik team
commented on 15 Dec 2023, 09:29 AM

Hi again

I am glad the provided directions were helpful and thank you for sharing your approach!
Tags
Scheduler
Asked by
Nikita
Top achievements
Rank 1
Iron
Answers by
Eyup
Telerik team
Share this question
or