Hi,
I'm trying to use the radScheduler however i'm getting a javascript error whenever i return appointments (via wcf web service) back to the calendar.
In particular, the problem is happening in the radControls script. (See below) The problem appears to be because the object G is expected to have attributes called 'Subject', 'Start' ect, however, it only appears to contain them as '_start', '_subject'.
I do not have any idea how to fix this?
I'm not sure if this is related, BUT i am unable to use the radScriptManager on this page because it wont load the MSAjax js library. I can however use the normal ScriptManager ?
Any help would be much appreciated!
Edit: In addition, i have tried to implement my own version of IAppointmentData, however i've noticed that the 'description' property is not available to the interface, is this supposed to be the case?
I cant find very much documentation on these calendar components, there appears to be very little (if any) commenting on the help, it just lists the property and method names which is pretty useless.
g's values
Should this have a proper constructor ?
I'm trying to use the radScheduler however i'm getting a javascript error whenever i return appointments (via wcf web service) back to the calendar.
In particular, the problem is happening in the radControls script. (See below) The problem appears to be because the object G is expected to have attributes called 'Subject', 'Start' ect, however, it only appears to contain them as '_start', '_subject'.
I do not have any idea how to fix this?
I'm not sure if this is related, BUT i am unable to use the radScriptManager on this page because it wont load the MSAjax js library. I can however use the normal ScriptManager ?
Any help would be much appreciated!
Edit: In addition, i have tried to implement my own version of IAppointmentData, however i've noticed that the 'description' property is not available to the interface, is this supposed to be the case?
I cant find very much documentation on these calendar components, there appears to be very little (if any) commenting on the help, it just lists the property and method names which is pretty useless.
g's values
Should this have a proper constructor ?
_loadAppointment:function(g){var f=new b.SchedulerAppointment();
f._id=g.ID;
f._internalID=g.EncodedID;
f.set_subject(g.Subject);
f.set_description(g.Description);
----->f.set_start(this._toClientDate(g.Start));<----
f.set_end(this._toClientDate(g.End));
f._setOwner(this._owner);
f._recurrenceRule=g.RecurrenceRule;
f._recurrenceParentID=g.RecurrenceParentID;
f._recurrenceState=g.RecurrenceState;
f._visible=g.Visible;
f.set_toolTip(g.Subject);