I don't see a forum for this control. So I assume this is where to ask questions about it. I copy pasted your sample code into a new wpf project. I then created a backing view model and assigned it as the datacontext to the mainwindow. I created a Tasks property with type List<Task> and a Resources property with type List<Resources>. From what I understand the only thing you need to do to see the control is the resources property. All I'm seeing is a scrollbar that shows a date tooltip. Where is the month view?
Hello Walter,
Thank you for your feedback on this. I am glad that you have resolved your issue. The provided information could also be useful for other community members as well.The documentation page that might help on the initial setting of the control and described the minimum requirements could be found here: http://help.infragistics.com/doc/WPF/2015.1/CLR4.0/?page=xamSchedule_Using_Connector_Minimum.html
If anyone else has this wonderful learning curve. Below is the required information to create a calendar. You must assign a current user ID to the XamScheduleDataManager. This ID is also used in the resource that you create and the calendars owningResourceID property. You may want to add to your help documentation that this is what's needed to create the calendar. It definitely wasted a lot of my time...
You were missing the xml file that goes along with your sample. Not sure why you used an xml file for your example. It's too much code to get started.
<ig:XamMonthView> <ig:XamMonthView.DataManager> <ig:XamScheduleDataManager CurrentUserId="own1"> <ig:XamScheduleDataManager.DataConnector> <ig:ListScheduleDataConnector ResourceItemsSource="{Binding Resources}" ResourceCalendarItemsSource="{Binding Calendars}"/> </ig:XamScheduleDataManager.DataConnector> </ig:XamScheduleDataManager> </ig:XamMonthView.DataManager> </ig:XamMonthView>
private IList<Resource> _resources = new ObservableCollection<Resource>(); public IList<Resource> Resources { get { return _resources; } } private IList<ResourceCalendar> _calendars = new ObservableCollection<ResourceCalendar>(); public IList<ResourceCalendar> Calendars { get { return _calendars; } }
Calendars.Add(new ResourceCalendar() {Name = "Cal1", Id = "cal1", OwningResourceId = "own1"}); Resources.Add(new Resource() {Name = "Room1", Id = "own1"});
here
Can you please try to upload the screenshot again? If it is not attaching directly you can add it as an archive. Thank you.
Below is what I see from your app. Same thing I'm getting with my app. Maybe I am missing from the installation? It's like the templates are missing.