Hi there.
I'm using the kendoRecurrenceEditor control to generate a form for allowing users to create and edit a single recurrence rule. This works fine but what I need now is a way to make the form read only or disabled.
I'm executing the code in the JavaScript like this (with some Razor syntax mixed in):
I want to maintain the way the editor puts the appropriate controls on the page, but once it's all laid out I don't want the user to be able to change things.
Is there a way to do this?
Many thanks,
Bill
I'm using the kendoRecurrenceEditor control to generate a form for allowing users to create and edit a single recurrence rule. This works fine but what I need now is a way to make the form read only or disabled.
I'm executing the code in the JavaScript like this (with some Razor syntax mixed in):
$(
"#recurrence"
).kendoRecurrenceEditor({
uid:
"BillTest1"
,
date:
new
Date(
"@DateTime.Now"
),
dataSource: [
{
id: 1,
start:
new
Date(
"@Model.Start"
),
end:
new
Date(
"@Model.End"
),
title:
"@Model.Title"
}]
});
I want to maintain the way the editor puts the appropriate controls on the page, but once it's all laid out I don't want the user to be able to change things.
Is there a way to do this?
Many thanks,
Bill