protected void RadScheduler1_AppointmentInsert(object sender, Telerik.Web.UI.SchedulerCancelEventArgs e)
{
if (e.Appointment.Resources.Count < 1)
{
e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("types", 2));
e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("students", 1));
}
if ((e.Appointment.Resources.GetResourceByType("students") != null) && (e.Appointment.Resources.GetResourceByType("types") == null))
{
e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("types", 2));
}
}
Please give me a solution
thanks
I've updated RadControls to the latest version(Telerik.Web.UI_2010_2_713_Dev_hotfix), and now MicrosoftAjax.js generates the following error:
"Error: Sys.InvalidOperationException: '_stylezindex' is not a property or an existing field."
I've identified what is causing the error, it's when I define a z-index CSS style for a RadWindow (for example: style="z-index:8000")
Is this a regression in the update? I do not see anything in the changelog for this update that would explicitly invalidate this CSS setting (though it might be removed in order to fix some other issue that was 'fixed' in this release?)