This is a migrated thread and some comments may be shown as answers.

Error : "you must set IsFrozen to false"

5 Answers 836 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 1
Michele asked on 19 May 2011, 11:39 AM
Hi,
I have (randomly) this kind of problem in my application:

when I load the Window containing the telerik Chart control ("WindowChart") the app crashes with this kind of error:
"Specified value of type 'System.Windows.Media.SolidColorBrush' must have IsFrozen set to false to modify."

It doesn't happen when "WindowChart" is the First window loaded.
If I load other windows before (all containing other telerik controls - not chart) - only in some cases, but always loading "WindowChart" - the App crashes

can you help me?

Michele Semprini

5 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 24 May 2011, 11:42 AM
Hello Michele,

I am afraid we have not received such reports so far. Can you please provide more details about your setup -- if possible a small runnable project, which reproduces the issue. This way we will be able to debug it and get back to you with our findings. Thank you.

Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michele
Top achievements
Rank 1
answered on 24 May 2011, 11:48 AM
Hi,
I'm sorry but i can't provide an examle because in happens randomly

but if you search on your Forums you can find another guy with the same problem
Are you sure you cannot figure out what kind of problem could be?

As you can imagine it.s a serious problem for our application

thanks, michele
0
Ves
Telerik team
answered on 27 May 2011, 08:42 AM
Hi Michele,

It is still strange to me how I missed that other forum post. Unfortunately, the stack trace provided there could not really help  us to find the reason for this issue. I understand that it is hard to isolate an example for a problem which happens randomly, but I am afraid we cannot debug it when we are not able to reproduce it. You can start stripping various styling settings applied to the chart to see if removing any of them will fix the problem. You can focus on those related to SolidColorBrush objects. Do you use SeriesPalette as shown in the other forum post? Any additional detail you find might prove helpful to pinpoint the problem.

Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michele
Top achievements
Rank 1
answered on 10 Jun 2011, 03:22 PM
Hi Ves,
I've some more informations:
The problem happens (in the InitializeComponents sub) also with the RadGridView and only in Windows that have the control (GridView or Chart) inside a tabControl but not in the first tab (I mean they are hidden when the window opens).

Can it help you?

thanks in advance
michele
0
Ves
Telerik team
answered on 15 Jun 2011, 12:27 PM
Hello Michele,

I am afraid, I had now success in reproducing the problem. I put a RadTabControl with 3 RadTabItems -- one for a TextBlock, one for a RadChart and one for a RadGridView and loaded this window on a button click (as per your description -- it should not be the first window loaded). Still, everything works a expected. You can get this sample and start to apply any custom styles and/or themes you use to see which change will trigger the problem. Once reproduced, please send it back to us for investigation.

Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Michele
Top achievements
Rank 1
Answers by
Ves
Telerik team
Michele
Top achievements
Rank 1
Share this question
or