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.Appointment
Dim
subject
As
String
= app.Subject
Dim
startDate
As
DateTime = app.Start
Dim
endDate
As
DateTime = app.
End
Dim
recurrenceRule
As
String
= app.RecurrenceRule
Dim
recurrenceParentID
As
Integer
= app.RecurrenceParentID
Dim
description
As
String
= app.Description
dbConnection.ConnectionString = ConfigurationManager.ConnectionStrings(
"Test"
).ConnectionString
dbConnection.Open()
dbCommand = dbConnection.CreateCommand
dbCommand.CommandType = CommandType.StoredProcedure
dbCommand.CommandText =
"S_Test"
dbCommand.Parameters.Add(
"@Subject"
, SqlDbType.VarChar).Value = subject
dbCommand.Parameters.Add(
"@StartDate"
, SqlDbType.DateTime).Value = startDate
dbCommand.Parameters.Add(
"@EndDate"
, SqlDbType.DateTime).Value = endDate
If
Not
String
.IsNullOrEmpty(recurrenceRule)
Then
dbCommand.Parameters.Add(
"@RecurrenceRule"
, SqlDbType.VarChar).Value = recurrenceRule
End
If
If
recurrenceParentID <> 0
Then
dbCommand.Parameters.Add(
"@RecurrenceParentID"
, SqlDbType.Int).Value = recurrenceParentID
End
If
If
Not
String
.IsNullOrEmpty(description)
Then
dbCommand.Parameters.Add(
"@Description"
, SqlDbType.VarChar).Value = description
End
If
dbCommand.ExecuteNonQuery()
RadSchedulerTemplate.Rebind()
So, Why does not rebind?