Hi,
I'm suffering from a "cyclic reference error" problem which sometimes appears. I've attached the sample project that I've been able to make the it appear other than my project.
1. Run the sample and maximize one of the tiles which has the theme "Office2k7Black". The grid with "ForestGreen" theme and half of the chart with "Neon" theme will show up in maximized mode of the tile.
2. Now from list of tiles on the right maximize another tile; this should work without a problem.
3. Now maximize form and then again maximize another tile and you should get this error:
Cyclic reference found while evaluating the Style property on element 'Infragistics.Windows.DataPresenter.XamDataGrid'.
4. I also get this error by not maximizing but just increasing the width of the form to the length where it shows the whole chart.
5. And also when I comment out the chart markup I don't get this error in the above situations.
6. And also I don't get this error when I remove the "ForestGreen" theme from DataGrid.
I hope this is fixed as soon as possible.
Thanks in advance
I don't know what I can do more to help you solve the problem. I've prepared the sample, gave the test cases but the feedback is too slow. And sometimes I get the idea that no one is gonna reply unless I complain about it.
You give us one month trial period and it takes at least a week for you to solve or get back to a serious problem. Sorry but this kind of trial period won't make us decide on your behalf :(
Please answer our questions!
It has been six days and still no answer :(
My Apologies, it looks like your post has been overlooked.I've yet to determine the root cause of the issue that you are experiencing. A web search on that error seems to indicate this crops up with styles and theming in WPF sometimes.But I've found you can work around the problem by creating a seperate user control to represent the tile content.The updated Xaml:
<igTiles:XamTilesControl.ItemTemplateMaximized> <DataTemplate> <local:MaximizedTileContent /> </DataTemplate> </igTiles:XamTilesControl.ItemTemplateMaximized>
And the UserControl:
<UserControl x:Class="CyclicRefError.MaximizedTileContent" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:igChart="http://infragistics.com/Chart" xmlns:igDataPresenter="http://infragistics.com/DataPresenter" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"> <Grid> <StackPanel Orientation="Horizontal"> <igDataPresenter:XamDataGrid BindToSampleData="True" Theme="ForestGreen"/> <igChart:XamChart Theme="Neon"/> </StackPanel> </Grid> </UserControl>
Let me know if that works for you.-Graham
Thanks so much for the workaround. It worked!
But I hope you find a solution to this as soon as possible because I needed to move the common resources to another ResourceDictionary in order to them to be usable also by this new UserControl. Since these resources will only be used by this view, I want them to be contained in the view, not in another useless, cluttering ResourceDictionary therefore this isn't the best solution for me.
But thanks again, I was looking forward for an answer :) I have three more issues like this waiting for an answer. I hope they are not overlooked too :)
Thanks for your help!
Can,
I have linked your request (case) with the bug # 36978. If the issue is resolve in the form of Service Release, you will receive an automatic responce with the link to download the Service Release, or you will be updated with further information on any action taken with regard to this issue.
Thank you,
Sam
Thanks for your help
I've created a bug report for this scenario: (Bug 36978) you can ask reference the bug number when asking about the status of this issue.
-Graham