error when upgrade to Q3 Beta

9 posts, 0 answers
  1. Anwar Arakkal
    Anwar Arakkal avatar
    21 posts
    Member since:
    Nov 2007

    Posted 16 Nov 2009 Link to this post

    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
  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 19 Nov 2009 Link to this post

    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.
  3. Anwar Arakkal
    Anwar Arakkal avatar
    21 posts
    Member since:
    Nov 2007

    Posted 20 Nov 2009 Link to this post

    HI,

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

    Thanks,
    Anwar
  4. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 23 Nov 2009 Link to this post

    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.
  5. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 07 Dec 2009 Link to this post

    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)

  6. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 09 Dec 2009 Link to this post

    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.
  7. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 21 Dec 2009 Link to this post

    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

  8. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 23 Dec 2009 Link to this post

    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.
  9. Santosh Hegde
    Santosh Hegde avatar
    17 posts
    Member since:
    Nov 2009

    Posted 23 Dec 2009 Link to this post

    Hey thanx !! Now  it is working fine !! I reinstalled Silverlight 3
Back to Top