I am using rad scheduler in .net 3.5 sp1 with update panel.
I am binding scheduler with data set, when data retrieved and bind to scheduler it shows data in month view but do not show data in day view and week view , I am not understanding this behaviour of rad scheduler.
my code is :
<asp:ScriptManager ID="ScMain" runat="server" LoadScriptsBeforeUI="false" ScriptMode="Release">
/asp:ScriptManager>
<asp:UpdatePanel ID="upSchedular" runat="server">
ContentTemplate>
telerik:RadScheduler ID="rsAppointments" runat="server" ShowFooter="false"
AllowEdit="true" AllowDelete="true" ShowAllDayRow="false" AllowInsert="true"
SelectedView="MonthView" DataMember="schd_description" DisplayRecurrenceActionDialogOnMove="true"
DisplayDeleteConfirmation="true" DataKeyField="schd_id" DataSubjectField="schd_description"
DataStartField="schd_start_time" DataEndField="schd_end_time" ValidationGroup="rsAppointments"
OnClientAppointmentInserting="OnClientAppointmentInserting" OnAppointmentInsert="rsAppointments_AppointmentInsert"
OnAppointmentDelete="rsAppointments_AppointmentDelete" OnAppointmentUpdate="rsAppointments_AppointmentUpdate"
OnTimeSlotCreated="rsAppointments_TimeSlotCreated">
</telerik:RadScheduler>
</ContentTemplate>
</asp:UpdatePanel>
public void GetData()
{
wsSchedular = new WSSchedular();
string strLabLocation = string.Empty;
try
{
objTable = wsSchedular.GetScheduling(
);
rsAppointments.Enabled = true;
rsAppointments.DataSource = objTable;
rsAppointments.DataBind();
}
catch (Exception ex)
{
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "errMsg", "javascript:alert(\"Error:- Page -> ph_scheduler.aspx -> Method -> 'GetPhlebotmistSchedule' \\n Description:- \\n" + ex.Message + "\");", true);
return;
}
data is coming in datatable from database is :
| schd_id | schd_hc_transaction_id | schd_phlebotomist_id | schd_customer_id | schd_location_id | schd_start_time | schd_end_time | schd_description | created_date | status |
| 2 | HMC2009/9/0001 | 9899899999 | 2009/9/0001 | Dwarka | 9/23/2009 4:30 | 9/23/2009 5:30 | Collect samples | 9/22/2009 13:23 | O |
| 4 | HMC2009/9/0002 | 9999999999 | 2009/9/0002 | IIT Area | 9/23/2009 4:30 | 9/23/2009 5:30 | Collect samples | 9/22/2009 16:56 | O |
| 5 | HMC2009/9/0003 | 9899899999 | 2009/9/0001 | Dwarka | 9/23/2009 4:30 | 9/23/2009 5:30 | Collect samples | 9/23/2009 12:54 | O |
| 10 | HMC2009/9/0004 | 9999999999 | 2009/9/0002 | IIT Area | 9/23/2009 5:30 | 9/23/2009 6:30 | Collect samples | 9/23/2009 15:34 | O |
Could you please give quick resolutions...........