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

error when upgrade to Q3 Beta

8 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anwar Arakkal
Top achievements
Rank 1
Anwar Arakkal asked on 16 Nov 2009, 07:52 AM
Hi,
Iam getting below error when I upgrade my telerik control version from Q2Sp2 to Q3 Beta.

The base class or interface 'System.Windows.Controls.VirtualizingPanel' in assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' referenced by type 'Telerik.Windows.Controls.TreeView.TreeViewPanel' could not be resolved e:\APPS\Controls\Telerik\Q3 Beta\Binaries\Silverlight\Telerik.Windows.Controls.Navigation.dll

How to solve this isssue?

Thanks,
 Anwar

8 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 19 Nov 2009, 09:43 AM
Hello Anwar,

Thank you for contacting us.

The VirtualizingPanel is located the System.Windows.Controls namespace and is shipped with the System.Windows assembly (System.Windows.dll). Could you please check the list with references in your project.

Please note we have already released the official Q3-2009, so it is highly advisable to switch to it.

Best wishes,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Anwar Arakkal
Top achievements
Rank 1
answered on 21 Nov 2009, 04:01 AM
HI,

How can I download the official Q3-2009? Here I can see only Q3-2009 Beta.

Thanks,
Anwar
0
Milan
Telerik team
answered on 23 Nov 2009, 08:55 AM
Hi Anwar Arakkal,

You could download the DEV version from here and the TRIAL one from here.


All the best,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Santosh Hegde
Top achievements
Rank 1
answered on 07 Dec 2009, 11:20 AM
Hi,

 when I tried to working in Silverlight with a RadTreeview While running the code i got below error !! Please can anybody provide solution for this ?
My xaml code :

<UserControl x:Class="Radproject.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    
             Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="Black">
        
        <telerikNavigation:RadTreeView Margin="8" IsDragDropEnabled="True" SelectionMode="Multiple" IsSingleExpandPath="True">
        
            <telerikNavigation:RadTreeViewItem Header="Sport Categories">
                <telerikNavigation:RadTreeViewItem.Foreground>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="Black" Offset="0"/>
                        <GradientStop Color="#FFFE00FE" Offset="1"/>
                    </LinearGradientBrush>
                </telerikNavigation:RadTreeViewItem.Foreground>
                <telerikNavigation:RadTreeViewItem Header="Football">
                    <telerikNavigation:RadTreeViewItem Header="Futsal"/>
                    <telerikNavigation:RadTreeViewItem Header="Soccer"/>
                </telerikNavigation:RadTreeViewItem>
                <telerikNavigation:RadTreeViewItem Header="Tennis"/>
                <telerikNavigation:RadTreeViewItem Header="Cycling"/>
            </telerikNavigation:RadTreeViewItem>
        </telerikNavigation:RadTreeView>

    </Grid>
</UserControl>









Error :


Error 1 The "ValidateXaml" task failed unexpectedly.
System.TypeLoadException: Could not load type 'System.Windows.Controls.VirtualizingPanel' from assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
   at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.Assembly.GetType(String name)
   at MS.Internal.Xaml.Schema.ClrNamespace.SearchAssembliesForShortName(String shortName)
   at MS.Internal.Xaml.Schema.ClrNamespace.TryGetXamlType(String xamlName, Assembly localAssembly, XamlType& xamlType)
   at MS.Internal.Xaml.Schema.ClrNamespace.GetXamlType(String typeName, XamlTypeSearchSettings searchSettings, Assembly localAssembly, Boolean throwOnError)
   at MS.Internal.Xaml.XamlContext.GetXamlType(String prefix, String name, XamlTypeSearchSettings searchSettings, XamlNamespace& xamlNs, Boolean throwOnError)
   at MS.Internal.Xaml.Parser.XamlScanner.ReadObjectElement(XamlName name, Boolean isEmptyTag)
   at MS.Internal.Xaml.Parser.XamlScanner.ReadElement()
   at MS.Internal.Xaml.Parser.XamlScanner.DoXmlRead()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__39.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__39.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()
   at MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__0.MoveNext()
   at MS.Internal.Xaml.TextReaderEnumerator.MoveNext()
   at MS.Internal.Xaml.XamlTextReader.Read()
   at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName, Assembly[] assemblies, Assembly callingAssembly, TaskLoggingHelper log, Boolean shouldThrow)
   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()
   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()
   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()
   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

0
Miroslav
Telerik team
answered on 09 Dec 2009, 11:27 PM
Hi Santosh Hegde,

Can you confirm that you are running Silverlight 3 and you have a reference to the System.Windows assembly? 

The xaml that you pasted compiles and runs fine for me, I am attaching the project that I used to test this.

All the best,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Santosh Hegde
Top achievements
Rank 1
answered on 21 Dec 2009, 11:49 AM
Still I am getting this error !! Presently I am using Silverlight 3  I have added System.windows.dll but I am getting below error :



Error 1 Could not load type 'System.Windows.Controls.VirtualizingPanel' from assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. C:\Inetpub\wwwroot\RadTreeviewpage\Page.xaml 1 1

0
Miroslav
Telerik team
answered on 23 Dec 2009, 11:22 AM
Hello Santosh Hegde,

Do you get this error when you the project I attached as well?

It seems that you are running the application from an IIS server and I would like to know whether you get the error when running the application from Visual Studio as well.

Greetings,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Santosh Hegde
Top achievements
Rank 1
answered on 23 Dec 2009, 02:16 PM
Hey thanx !! Now  it is working fine !! I reinstalled Silverlight 3
Tags
General Discussions
Asked by
Anwar Arakkal
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Anwar Arakkal
Top achievements
Rank 1
Milan
Telerik team
Santosh Hegde
Top achievements
Rank 1
Miroslav
Telerik team
Share this question
or