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

add custom command into AppointmentDialog

1 Answer 62 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Gts
Top achievements
Rank 1
Gts asked on 25 Apr 2014, 01:30 PM
Hi. I have custom AppointmentDialog  with button. How can I add my own command which can open radwindows with my control. and when this window was closed I need send data from this window into my AppointmentDialog.
For example I have AppointmentDialog  with button "AddInfo" and when I press this button I want open my window where I can select few parameters and when I press OK I want to know in my Appointment what user select. in window.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 28 Apr 2014, 09:02 AM
Hello Artem,

I would suggest that you take a look at the following Code Library project:
How to Create Advanced EditAppointmentDIalog

It demonstrates how you could create a custom ViewModel for the dialog - in it you can handle the command for opening the window. Setting a DataContext to that Window will allow you to get the updated values.

I hope this will help get started with the implementation. If you have any further questions, write to us again.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ScheduleView
Asked by
Gts
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or