or
appointmentMappingInfo.AllowDelete = "AllowDelete"
Private Sub ArcoriScheduler_AppointmentDeleting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.SchedulerAppointmentCancelEventArgs) Handles Me.AppointmentDeleting
If e.Appointment.AllowDelete Then
' The RadScheduler does not prompt for series or instance when deleting an appointment with recurrence,
' which is how Outlook behaves: http://www.telerik.com/support/pits.aspx#/public/winforms/11810
If e.Appointment.MasterEvent IsNot Nothing Then
Dim confirmDlg As New RecurringAppointmentDeleteDialog
confirmDlg.AppointmentName = e.Appointment.Summary
Dim result As DialogResult = confirmDlg.ShowDialog()
If result = DialogResult.OK Then
If confirmDlg.DeleteType = RecurringAppointmentDeleteDialog.eDeleteType.Series Then
Me.Appointments.Remove(e.Appointment.MasterEvent)
e.Cancel = True
End If
Else
e.Cancel = True
End If
End If
Else
e.Cancel = True
End If
private void radGridView1_CellDoubleClick_1(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
int rIdx = e.RowIndex;
string cn= "";
if (e != null)
{
cn= radGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
}
AForm af = new AForm(cn);
af.ShowDialog();
radGridView1.MasterGridViewInfo.UpdateView(true);
}
I want that the AForm closed, then radGridView1 refresh...
Can you give any idea?...