Hi ALL,
I want to impliment search to radscheduler and
OPEN the Appointment that the text is in how to do?
Any Help Apperciated!
Jeff Link
I want to impliment search to radscheduler and
OPEN the Appointment that the text is in how to do?
Any Help Apperciated!
Jeff Link
Private Sub RadButton3_Click(sender As System.Object, e As System.EventArgs) Handles RadButton3.Click If RadTextBox.Text = "" Then MessageBoxEx.ButtonsDividerVisible = False MessageBoxEx.Show("Please Enter some text to search for!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Warning) Else FindAppointment() End If End Sub Private Sub FindAppointment() For Each app As Appointment In Me.RadScheduler1.Appointments If app.Subject.Contains(Me.RadTextBox.Text) Or app.Location.Contains(Me.RadTextBox.Text) Or app.Description.Contains(Me.RadTextBox.Text) Then Me.RadScheduler1.ActiveView.StartDate = app.Start Me.RadScheduler1.SchedulerElement.InvalidateMeasure(True) SchedulerUIHelper.SelectAppointment(Me.RadScheduler1, app, True) Exit For End If Next End Sub