Hi,
since there is no "readonly appointment" I try to disable the update button in clientFormCreated.
My problem - I can't find it...
Subject works fine - button not...
I guess I do something wrong..
since there is no "readonly appointment" I try to disable the update button in clientFormCreated.
My problem - I can't find it...
Subject works fine - button not...
function
clientFormCreated(sender, args) {
var
$ = $telerik.$;
var
mode = args.get_mode();
if
(mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert || mode == Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) {
//var rUpdButton = $telerik.findButton($("[id$='Form_UpdateButton']").attr("id")); //findButton not existing although it shows in intellisense
var
rUpdBJQueryObject = $telerik.$(
"[id$='Form_UpdateButton']"
);
var
rUpdBRadButtonObject = $find(rUpdBJQueryObject.attr(
"id"
));
//always null
var
rSubject = $telerik.findTextBox($(
"[id$='Form_Subject']"
).attr(
"id"
));
rSubject.disable();
//works
I guess I do something wrong..