Can you provide an example of how to use/display the Activity dialog box outside of the calendar. I want to allow my users to add/modify appointments using this dialog without having them click on a calendar item.
Hi,
You can use the DisplayActivityDialog method of the XamScheduleDataManager to open the appointment dialog of an existing appointment or to create a new one.
http://help.infragistics.com/Help/NetAdvantage/WPF/2010.3/CLR4.0/html/InfragisticsWPF4.Controls.Schedules.v10.3~Infragistics.Controls.Schedules.XamScheduleDataManager~DisplayActivityDialog.html
Thanks,
Diyan Dimitrov
I have tried that but I keep getting a null exceptiion. I have looked at the objects and they all contain values. So, the null must be something that needs to be set for the activity. Do you have a simple example that will display the dialog.
Hello,
This is a folow up to see if you had chance to test Diyan's attached sample project, or have any questions.
Thank you,Sam
I did get it working. I had to play around with iPropertyNotifyChange but it does work. I do have another wuestion on this. Does the Tasks have a popup form that will allow tasks to be added? I changed the code and nothing displayed.
Bill
Hi Bill,
Currently we don’t support dialogs for Tasks and Journals. You can provide your own dialogs, here is a help topic that might be helpful to you:
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/?page=xamSchedule_Using_ActivityDialogs.html
We are planning to include such dialogs in our next release.