add custom command into AppointmentDialog

2 posts, 0 answers
  1. Gts
    Gts avatar
    17 posts
    Member since:
    Jul 2012

    Posted 25 Apr 2014 Link to this post

    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.
  2. Yana
    Yana avatar
    4604 posts

    Posted 28 Apr 2014 Link to this post

    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.

    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.
Back to Top