Hi
I have a question about categories.I create custom categories (DataManager.Settings.AllowCustomizedCategories = True)
The add and edit in the current session works.The values are stored in the recources (DB):<ActivityCategoryCollection>
<ActivityCategory Color="#FFBFBFBF" CategoryName="111"/><ActivityCategory Color="#FF9FDCC9" CategoryName="222"/>
</ activity Category Collection>I start the application again, the categories are also shown (Fig. 1) but I can not edit it.And I add a new addition this will no longer be stored and displayed without color (Fig. 2).The "test" comes from ActivityCategoryItemsSourceI use custom objects (example: DataModel.Appointment) and mapping with "UseDefaultMappings = True"
Manual settings are required?
What am I doing wrong?
Thank You
Hello Marcus,
The development issue with ID of 130436 has been fixed and it is available in the latest Service Release. You can download the Service Release by logging in our web site and then going to Account\My Keys and Downloads page.
Thank you for using Infragistics Components.
I have logged this behavior with our developers in our tracking system, with an issue ID of 130436. I have linked the development issue to your case so that you are automatically updated when a Service Release containing your fix is available for download.
Hello Maria,
Thanks for the information.
After further investigation it seems that using the string property as the ActivityCategories resource should allow you to edit the items in the collection. I have contacted our development team for more information regarding this issue. I have also created a support ticket on your behalf with number CAS-107030-G6Y5Q8 where we could continue the discussion.
I was able to reproduce the issue you are having. This behavior is caused by the fact that the CustomActivityCategories property should use objects of type ActivityCategoryCollection. You could find information about this in the “CustomActivityCategories Property” section in our online documentation: http://help.infragistics.com/NetAdvantage/WPF/current/CLR4.0/?page=Infragistics4.Services.Schedules.WcfConnectorService.v12.2~Infragistics.Controls.Schedules.Services.Resource~CustomActivityCategories.html. So could use property of type ActivityCategoryCollection in order to have the expected behavior.
If you want to use xml file to read the active categories from, you could go through its nodes and take the values as strings. After that you could use a property of type ActivityCategoryCollection (as in your sample) and set the name of the ActivityCategory using the strings you have extracted from the xml data file.