This is a migrated thread and some comments may be shown as answers.

[Solved] Calendar with non-selectable dates - clear action?

1 Answer 87 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark
Top achievements
Rank 1
Mark asked on 08 May 2012, 09:29 PM
How would one go about setting up a calendar to clear actions taken on non-selectable dates?  For example, in the demo (http://demos.telerik.com/aspnet-mvc/calendar/selectaction ) there are dates that are selectable (underlined) and those that are not.  If you select a "selectable" date, you'll get the text displayed (example: "This date was clicked: 5/7/2012 12:00:00 AM" ).  However, if you click on one of the other days (not selectable)... that text remains.  What could be done to clear those results?

1 Answer, 1 is accepted

Sort by
0
Pechka
Top achievements
Rank 1
answered on 09 May 2012, 06:56 AM
Hai,

Use the OnChange event of the Calendar - http://demos.telerik.com/aspnet-mvc/calendar/clientsideevents 
to clear the container.
Tags
Calendar
Asked by
Mark
Top achievements
Rank 1
Answers by
Pechka
Top achievements
Rank 1
Share this question
or