Posted 01 Dec 2010 Link to this post
Hi I want to load RadScheduler AppointmentEditDialog from custom menu click event. I try to raise the RadScheduler1_AppointmentEditDialogShowing event in custom menu click event by the following code; Private Sub menuItem1_Click(ByVal sender As System.Object, ByVal e As EventArgs) Dim ep As New Telerik.WinControls.UI.Scheduler.Dialogs.EditAppointmentDialog Dim ev As Telerik.WinControls.UI.IEvent Dim evt As New Telerik.WinControls.UI.AppointmentEditDialogShowingEventArgs(ev, ep) RadScheduler1_AppointmentEditDialogShowing(Nothing, evt) End Sub But the EditAppointmentDialog not loading. Please help me to do this
Posted 02 Dec 2010 Link to this post
Posted 03 Dec 2010 Link to this post
public
class
TestScheduler : RadScheduler
{
void
ShowEditAppointmentDialog(IEvent appointment,
bool
recurringAppointment)
this
.ShowAppointmentEditDialog(appointment, recurringAppointment);
}
Posted 05 Dec 2010 Link to this post
.ShowEditAppointmentDialog(IEvent appointment, bool recurringAppointment)
what parameters i should give? as no appointment is created yet and my EditAppoinmentDialog don't have recurrence control Can you please tell me how i can display the EditAppointmentDialog when a button on other form is clicked?
Posted 08 Dec 2010 Link to this post
Imports
Telerik.WinControls.UI
Public
Class
MyScheduler
Inherits
Telerik.WinControls.UI.RadScheduler
Sub
New
()
Me
.ThemeClassName =
"Telerik.WinControls.UI.RadScheduler"
End
ShowEditAppointmentDialog(
ByVal
appointment
As
IEvent,
recurringAppointment
Boolean
)
MyBase
.ShowAppointmentEditDialog(appointment, recurringAppointment)
.MyScheduler1.ShowEditAppointmentDialog(
Appointment(
Date
(2010, 12, 10),
(2010, 12, 11),
"Summary"
,
"Description"
),
False