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

Error Upgrading to Q1 2010

5 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 1
Michele asked on 24 Mar 2010, 01:03 PM

( I re-post correctly here my message that I've already posted in the scheduler-section - it was a mistake)

Hi everybody,
I upgraded today my project from Q3-2009 to Q1-2010 and I've found an error opening Windows and UserControl into the VS2008 editor: (i'm on a Windows7 64 bit)

Cannot create instance of 'GenericTheme' defined in assembly 'Microsoft.Windows.Design.Interaction, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Exception has been thrown by the target of an invocation. 

In expression Blend it's OK ...

Is it a problem of the new version?
Is there a way to solve it?

thanks in advance
Michele

5 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 24 Mar 2010, 01:33 PM
Hello Michele,

There is a problem with the design assemblies of the official Q1 2010 release when Visual Studio 2008 is used. We have released a package called "VS 2008 Design Assemblies" which can be downloaded from our download section and contains all patched assemblies.

I am pasting the upgrade instructions below:

1. Extract the "VS2008 Design assemblies.zip" file at the C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Binaries\WPF
2. Replace all files and folders when asked


If some of the controls do not appear in the toolbox you may need to reset the toolbox or add them manually to refresh.

Hope this helps.

Sincerely yours,
Milan
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 Mar 2010, 03:10 PM
OK, I downloaded it, but i have a question:

for example in the package I've not the Telerik.Windows.Controls.dll but I'va ....Design.dll or ....VisualStudio.Design.dll and others.
It means that I have to change the reference in my Project? With what kind of dll?

thanks again
Michele
0
Milan
Telerik team
answered on 24 Mar 2010, 03:30 PM
Hello Michele,

you just have to replace the old design binaries in "C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Binaries\WPF\design " with the ones that appear in the zip package. 

No need to change the references in your project.


Greetings,
Milan
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 Mar 2010, 03:55 PM
Ok, it seems working.
I say "It seems" because I've a new error with all RadGridViews:

Error 2 Could not create an instance of type 'TemplateBindingExtension'.

in a RadGridView Column  (from yours 2009 samples):

                <telerik:GridViewColumn Header="" IsVisible="True" Width="18">
                    <telerik:GridViewColumn.CellStyle>
                        <Style TargetType="{x:Type telerik:GridViewCell}">
                            <Setter Property="Template">
                                <Setter.Value>
                                    <ControlTemplate TargetType="{x:Type telerik:GridViewCell}">
                                        <Grid>
                                            <Button Width="18" Height="18" Command="{Binding EffettuaPagamentoCommand}" Margin="3" ToolTip="Effettua il pagamento">
                                                <Button.Content>
                                                    <Image Source="..\..\Resources\RibbonImages\MagicWand.ico" />
                                                </Button.Content>
                                            </Button>
                                            <Rectangle Width="{TemplateBinding VerticalLineThickness}"
                                                Fill="{TemplateBinding VerticalLineFill}" HorizontalAlignment="Right"
                                                Visibility="{TemplateBinding VerticalLineVisibility}" SnapsToDevicePixels="True" />
                                        </Grid>
                                    </ControlTemplate>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </telerik:GridViewColumn.CellStyle>
                </telerik:GridViewColumn>
  
can you help me?
m
0
Milan
Telerik team
answered on 30 Mar 2010, 09:29 AM

Hi Michele,

Hum, that sounds like XAML code problem but we couldn't reproduce it with the CellStyle than you have pasted. Could you please send us your project so that we can have a better chance of reproducing the error?


Sincerely yours,
Milan
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
General Discussions
Asked by
Michele
Top achievements
Rank 1
Answers by
Milan
Telerik team
Michele
Top achievements
Rank 1
Share this question
or