| | |
| | | { |
| | | sEvent.Type( LibCal_Event::TYPE_PARTIAL() ); |
| | | } |
| | | |
| | | info( '------------------------------', category_i.Name(), sEvent.Type(), sEvent.EventCategory().Name() ); |
| | | // Set the Event and the related controls... |
| | | // The values are explicitly assigned here 'at the beginning' to the controls, |
| | | // so that the values can be used by the rest of the logic. Databinding is executed too late for that. |
| | |
| | | |
| | | // Initialize the category here, when done in the OnCreate() there is no selection in the DropDownList. |
| | | // Select the general category for new events. |
| | | this.InitializeCategories(); |
| | | ddlCategory.Data( owner_i.CalendarRegistry().GetGeneralEventCategory() ); |
| | | //this.InitializeCategories(); |
| | | //ddlCategory.Data( owner_i.CalendarRegistry().GetGeneralEventCategory() ); |
| | | |
| | | // Must be done here, when done in the OnCreate() the checkmarks are not always set when the dialog is opened for editing an event. |
| | | // Pre-select all resources as subscriber when creating a common event. |