Custom fields for appointments provide a way to associate arbitrary information with an appointment. This example represents a simple application that enables you to display, edit and save data contained in appointment custom fields. The application uses MS Access database as the data source.
Custom field mappings are established at design time using Mapping Wizards.
The InitNewAppointment event is handled to specify initial values for custom fields. The AppointmentInserting and AppointmentChanging events are handled to log changes.
To work with custom fields, a new appointment form is implemented. It descends form the DevExpress.XtraScheduler.UI.AppointmentForm, includes additional controls required to represent custom fields. To load and save custom fields a custom form controller is implemented. It inherits from the DevExpress.XtraScheduler.UI.AppointmentFormController and overrides several methods to provide the required functionality.
See also:
Custom form, custom fields and custom actions on reminder alert
Question Comments
Added By: Dean J. at: 9/19/2013 7:55:58 PM
Since you recently updated this article, I was hoping the download example project was updated, but not so...it's from way back in VS 2005. Will you please fix the example project? After upgrading it to VS 2012 it still won't compile without fixing a couple of errors. And then when you run it, not happens...it appears it crashes in debug mode.
Also, is it normal to have to run the DX upgrader multiple times to get something this old up to the latest version (13.1 in my case) ?
Added By: Brian (DevExpress) at: 9/20/2013 12:49:51 AMI've checked if there is a problem with this example. I've successfuly download the C# version for v2013 vol 1.4 for VS 2010 (my ExampleRunner is set to VS 2010). The only problem is that my machine is 64-bit, so I had to specify x86 as the active solution platform in the Configuration manager in VS Designer. Then the application run as expected.
Added By: Dean J. at: 9/20/2013 9:05:44 AMI did not use the "runner". I used the link above that called "Example". If you open that project in VS 2012 (probably 2010 too), it will not run in debug mode.