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

Why cannot use gridview with 2009.2.812 version?

8 Answers 101 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Winson qiu
Top achievements
Rank 1
Winson qiu asked on 18 Aug 2009, 04:18 AM
I cannot use Gridview control after updated to 2009.2.812 version, follows is the error message :

Microsoft JScript runtime error: Unhandled Error in Silverlight 2 Application
Code: 4004    
Category: ManagedRuntimeError       
Message: System.IO.FileNotFoundException: Cannot loaded the file or control 'System.Windows.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
File name: 'System.Windows.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   At Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass4a.<Bind>b__49()
   At Telerik.Windows.Controls.CursorManager.PerformTimeConsumingOperation(FrameworkElement frameworkElement, Action action)
   At Telerik.Windows.Controls.GridView.GridViewDataControl.Bind(Object newValue)
   At Telerik.Windows.Controls.GridView.GridViewDataControl.OnApplyTemplate()
   At Telerik.Windows.Controls.RadGridView.OnApplyTemplate()
   At System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)

if I use 2009.2.701 version will be fine .



8 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Aug 2009, 05:31 AM
Hi Winson qiu,

Most probably you are trying to use our Silverlight 3 binaries in Silverlight 2 application.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Winson qiu
Top achievements
Rank 1
answered on 18 Aug 2009, 07:58 AM
Thanks for your help , but I have updated to Silverlight 3 SDK Tools, it's occured any Application_UnhandledException error when I run in browser, I don't know how to solve

follows error messages:

 ---> System.Windows.Markup.XamlParseException:  [Line: 0 Position: 0]
   --- Inner Exception ---
AG_E_PARSER_BAD_TYPE [Line: 66 Position: 271]
 ---> System.Windows.Markup.XamlParseException: AG_E_PARSER_BAD_TYPE [Line: 66 Position: 271]
   At MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   At MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
   At System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
   At System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
   --- Internal exception stack trace at the end of ---
   At MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   At MS.Internal.XcpImports.UIElement_Measure(UIElement element, Size availableSize)
   At System.Windows.UIElement.Measure(Size availableSize)
   At Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize)
   At System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
   --- Internal exception stack trace at the end of ---
   At MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   At MS.Internal.XcpImports.UIElement_Measure(UIElement element, Size availableSize)
   At System.Windows.UIElement.Measure(Size availableSize)
   At Telerik.Windows.Controls.GridView.HorizontalScrollPanel.MeasureOverride(Size availableSize)
   At System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
............
............



0
Vlad
Telerik team
answered on 18 Aug 2009, 08:17 AM
Hi Winson qiu,

If you can send us an example project where this can be reproduced we will try to find what is causing the error.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Winson qiu
Top achievements
Rank 1
answered on 18 Aug 2009, 08:45 AM
ok , but how can I send to you ?
0
Vlad
Telerik team
answered on 18 Aug 2009, 08:47 AM
Hello Winson qiu,

You can open support ticket and attach the project.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Winson qiu
Top achievements
Rank 1
answered on 18 Aug 2009, 09:00 AM
ok , I have sent. Thanks!
0
Vlad
Telerik team
answered on 18 Aug 2009, 09:12 AM
Hello Winson qiu,

Just for reference the error was caused by missing reference to Telerik.Windows.Controls.Input.dll.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Winson qiu
Top achievements
Rank 1
answered on 18 Aug 2009, 09:37 AM
Oh, my god ! So that's how it is !

Thank you so much!
Tags
GridView
Asked by
Winson qiu
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Winson qiu
Top achievements
Rank 1
Share this question
or