To create a custom Edit Appointment form for working with an additional "byte array" field we used the approach described in the following documentation topic:
How to: Modify the Appointment Editing Form for Working with Custom Fields
To save an uploaded file's content (an array of bytes of the uploaded file and the file name) in an appointment we assign values of the UploadedFile.FileBytes and UploadedFile.FileName properties with the corresponding appointment's custom fields in the ASPxUploadControl.FileUploadComplete event handler.
How to: Modify the Appointment Editing Form for Working with Custom Fields
To save an uploaded file's content (an array of bytes of the uploaded file and the file name) in an appointment we assign values of the UploadedFile.FileBytes and UploadedFile.FileName properties with the corresponding appointment's custom fields in the ASPxUploadControl.FileUploadComplete event handler.