Hi all,
I'm trying to remove the time from the left side of XamMonthView appointments. The time only displays when the appointment is on a single day.
I've successfully styled the control by customizing the generic.shared infragistics style, however, when placing the XamMonthView inside of a TabControl the XamMonthView's style will throw an error when clicking between tabs.
The error occurs in the:
<ControlTemplate x:Key="ActivityTemplate" TargetType="igSchedulePrim:ActivityPresenter">
when setting the Data property of the path.
I receive the error: Failed to assign to property 'system.windows.shapes.path.data'.
The path's style is (where Data=... is causing the error:
<Path Data="{TemplateBinding ComputedGeometry}" Fill="{TemplateBinding ComputedBackground}" Stroke ="{TemplateBinding ComputedBorderBrush}" StrokeThickness ="{TemplateBinding ComputedBorderStrokeThickness}" igPrim:XamlHelper.SnapsToDevicePixels="True"/>
This error ONLY occurs when viewing the XamMonthView inside of a TabControl and clicking around tabs.
Here are steps to repro this:
1. Add a TabControl with 3 tabs
2. Place the XamMonthView in the second tab.
3. When viewing the page click the second tab to view the XamMonthView. (No Problems)
4. Click the 3rd tab
5. Go back to the 2nd tab to view XamMonthView again and the above error occurs.
Any help or insight is greatly appreciated.
Thanks,
Evan
Which release is this fix in? I am running 2014.1 and having this same issue
HI,
This issue should be resolved with the latest service release.
Sincerely, Matt DSE
I was able to reproduce the problem. It seems like an issue with the SL framework but we can try to work around it.