Is there a way to call a function when a new day is selected on a calendar in ASP.Net/C#?

41 Views Asked by At

I want to write a function in my .cs file that is called when a new day is selected. I've searched Google for hours, and have come up with nothing.

1

There are 1 best solutions below

0
On

You can create an event handler for the Calendar object's SelectionChanged event:

https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.calendar.selectionchanged(v=vs.110).aspx