This is my code.
and vb code.
So, Why does not rebind?
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadSchedulerTemplate" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadSchedulerTemplate"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadSchedulerTemplate" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager>and vb code.
Dim app As Appointment = e.AppointmentDim subject As String = app.SubjectDim startDate As DateTime = app.StartDim endDate As DateTime = app.EndDim recurrenceRule As String = app.RecurrenceRuleDim recurrenceParentID As Integer = app.RecurrenceParentIDDim description As String = app.DescriptiondbConnection.ConnectionString = ConfigurationManager.ConnectionStrings("Test").ConnectionStringdbConnection.Open()dbCommand = dbConnection.CreateCommanddbCommand.CommandType = CommandType.StoredProceduredbCommand.CommandText = "S_Test"dbCommand.Parameters.Add("@Subject", SqlDbType.VarChar).Value = subjectdbCommand.Parameters.Add("@StartDate", SqlDbType.DateTime).Value = startDatedbCommand.Parameters.Add("@EndDate", SqlDbType.DateTime).Value = endDateIf Not String.IsNullOrEmpty(recurrenceRule) Then dbCommand.Parameters.Add("@RecurrenceRule", SqlDbType.VarChar).Value = recurrenceRuleEnd IfIf recurrenceParentID <> 0 Then dbCommand.Parameters.Add("@RecurrenceParentID", SqlDbType.Int).Value = recurrenceParentIDEnd IfIf Not String.IsNullOrEmpty(description) Then dbCommand.Parameters.Add("@Description", SqlDbType.VarChar).Value = descriptionEnd IfdbCommand.ExecuteNonQuery()RadSchedulerTemplate.Rebind()So, Why does not rebind?
