search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to filter characteristics of an event?

Asked by Cristhian Sandoval
5 years ago.

My Event class has the following properties
public string Status {get; set; }

This property may contain the value "Done" or "Not performed"

I need to create a filter in the view that allows me to show only the events that have the status "Done".

How can I do it?

Answer posted by Dan Letecky [DayPilot]
5 years ago.

Please take a look at the clientState/ClientState properties that I have suggested here:
https://forums.daypilot.org/question/4794/how-can-i-update-the-view-after-changing-the-backendurl-pro

See also more on event filter using ClientState in ASP.NET MVC:
https://doc.daypilot.org/scheduler/event-filtering/

If you want to see the ClientState in action you can check the MVC Hotel tutorial where it is used to filter the rooms (resources):

https://code.daypilot.org/32389/asp-net-mvc-hotel-room-booking

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.