I read a couple of posts on how to create a custom dailog and the documentation also describes the steps to create a cistom dialog.Here is what i have so far, i wrote my custom dialog factory which inherits from ScheduleDialogFactoryBase and I wrote a custom view that displays properties for my appointment object. (the list data connector is bound to my custom object and i did the mapping )
When i change properties in my dailog for my entity, like start date time, i need it to update the infragistics appointment object too.Is there a clean way of doing this?
I am using MVVM model and i cannot access infragistics entities there and I have a wrapped control that wraps the ScheduleView.
It would be og great help if you could provide me with a sample that syncs the custom object in the custom dialog with the infragisitcs appointment object.
Please Suggest.
Thank You,
Hariharan
Also How do i close my custom appointments dialog ?
If you're using our ActivityDialogCore then this will be handled by the commands associated with that dialog - ActivityDialogCoreSaveAndClose, ActivityDialogCoreCloseCommand, etc. If you are providing a completely new element then I don't think there is anything currently. You could create a Wpf Window to host your element and return that and the datamanager will just show your form (modelessly or modally depending on the dialog type being displayed) and you can handle closing the window.