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 am using Telerik RadControls for ASP.NET Ajax version 2009.3.1103.20. When I mouse over an appointment in the RadScheduler, I get a Microsoft JScript runtime error: 'null' is null or not an object in the _onAppointmentMouseOver function. The problem is that the second call to getAppointmentFromDomElement (italiczed below) returns null ( 'j' is null ). It seems like a bug that we are making two calls to getAppointmentFromDomElement(). Is this a known problem? Is there a fix available?
_onAppointmentMouseOver:
function(l){if(this._resizingState.resizing||this._dragging){l.stopPropagation();
return
;
}
var k=this.getAppointmentDomElement(l.eventMapTarget);
var
j=this.getAppointmentFromDomElement(k);
var
n=(j.get_allowDelete()!=null)?j.get_allowDelete():this.get_allowDelete();