This is a migrated thread and some comments may be shown as answers.

AppointmentSaving Event

1 Answer 52 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Jeffrey
Top achievements
Rank 1
Jeffrey asked on 07 Jul 2011, 01:23 PM
Hello,

I use the ScheduleView-component to plan tasks for resources.
In the AppointmentSaving Event I want to call a modal childwindow when the task for a resource is enlarged.
In the childwindow the user is asked to select a radiobutton: enlarge only the task for this resources or for all resources.
The problem is that when I do this the Show event is immediately returned, so I can't return anything from the childwindow.
Can you help me doing this?

Best regards,
Jeffrey

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 15 Jul 2011, 07:24 AM
Hello Jeffrey,

You can not open the child window and block the thread like you could in WPF using ShowDialog. However it is really easy to add event handler on the ChildWindow's closing event and do some funny stuff there. For example you can get the appointment that is provided in the event args of the appointment changing and do something with the appointment based on the child window's content.

Please check the attached project for more details.

All the best,
Pana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
ScheduleView
Asked by
Jeffrey
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or