I am trying to think of the best way of implementing a search function on top of RadScheduleView. The requirements are similar to the function in Outlook. UI-wise, this is what it should look like:
Textbox and search button immediately above the RadScheduleView instance.
When clicking search, a datagrid will displayed on top of RadScheduleView (hiding it completely) displaying the search results.
When clicking an item (row) in the search results, the EditAppointment dialog of RadScheduleView should pop up.
I can of course bind the datagrid against the same appointments collection that the RadScheduleView is binding to. But how can I initiate the EditAppointment dialog when a search result row is clicked? I am guessing that I would have to first change the visible range of the hidden RadScheduleView to encompass the clicked appointment, then programmatically select the appointment, and finally executing the EditAppointmentCommand. And all those actions would probably have to be dispatched to give them some time to complete properly.
I would greatly appreciate some input on my thoughts here. Perhaps you can think of a better way of accomplishing this scenario.
Best regards,
/Henrik
Textbox and search button immediately above the RadScheduleView instance.
When clicking search, a datagrid will displayed on top of RadScheduleView (hiding it completely) displaying the search results.
When clicking an item (row) in the search results, the EditAppointment dialog of RadScheduleView should pop up.
I can of course bind the datagrid against the same appointments collection that the RadScheduleView is binding to. But how can I initiate the EditAppointment dialog when a search result row is clicked? I am guessing that I would have to first change the visible range of the hidden RadScheduleView to encompass the clicked appointment, then programmatically select the appointment, and finally executing the EditAppointmentCommand. And all those actions would probably have to be dispatched to give them some time to complete properly.
I would greatly appreciate some input on my thoughts here. Perhaps you can think of a better way of accomplishing this scenario.
Best regards,
/Henrik