Hello Gora,
You could do that validation by using the client-side API of the Scheduler, similarly as in this Demo. In particular, you could use the save event of the widget and modify its event handler in the following way:
Regards,
Veselin Tsvetanov
Telerik by Progress
You could do that validation by using the client-side API of the Scheduler, similarly as in this Demo. In particular, you could use the save event of the widget and modify its event handler in the following way:
function
scheduler_save(e) {
var
attendeesmultiSelect = $(
'.k-multiselect'
)
var
selectedAttendees = attendeesmultiSelect.find(
'option[selected="selected"]'
);
if
(selectedAttendees.length == 0) {
alert(
"There is no selected attendee for this event."
);
e.preventDefault();
}
}
Regards,
Veselin Tsvetanov
Telerik by Progress
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items