It's ok after delete appointment.
But popup does not open after insert appointment. (doubleclick or edit of contextmenu)
I don't know why.
So help me, please.
- aspx code
EnableDescriptionField="true" Height="800"
SelectedView="DayView" DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"
DataDescriptionField="Description" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID">
<AdvancedForm Modal="true" />
<AppointmentContextMenuSettings EnableDefault="true" />
<TimeSlotContextMenuSettings EnableDefault="true" />
</telerik:RadScheduler>
- vb code
If Not Page.IsPostBack Then
GetSchedule()
End If
End Sub
Private Sub GetSchedule()
Dim dbConnection As SqlConnection = New SqlConnection
Dim dbCommand As SqlCommand = New SqlCommand
Dim dbReader As SqlDataReader = Nothing
dbConnection.ConnectionString = ConfigurationManager.ConnectionStrings("Test").ConnectionString
dbConnection.Open()
dbCommand = dbConnection.CreateCommand
dbCommand.CommandType = CommandType.StoredProcedure
dbCommand.CommandText = "S_GetSchedule"
dbReader = dbCommand.ExecuteReader
RadSchedulerTemplate.DataSource = dbReader
RadSchedulerTemplate.DataBind()
End Sub
... and insert, delete, update code.
And I have another question.
Why does not updated after update appointment?
When I delete or insert, Immediately, I can see rebind data.
But updating does not. Why?
So...I expect your answer.
(Forgive my basic English skills)