Desired outcome:
Use a RadGridView with a datapager.
Problem:
The only time the RadGridView will run properly is if the System.Windows.Controls assembly from the Telerik install is used. However, there is no DataPager class defined in that assembly (whereas it is in the Silverlight SDK's version of that assembly, which I presume I *should* be using. If i use the standard one from the SDK, everything compiles, but I get this runtime error:
System.Windows.Markup.XamlParseException occurred
Message="System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242' or one of its dependencies. The system cannot find the file specified.\r\nFile name: 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242'\r\n at Telerik.Windows.Controls.GridView.GridViewDataControl.InitializeGroupCount()\r\n at Telerik.Windows.Controls.GridView.GridViewDataControl..ctor()\r\n at Telerik.Windows.Controls.RadGridView..ctor() [Line: 0 Position: 0]\r\n --- Inner Exception ---\r\nCould not load file or assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242' or one of its dependencies. The system cannot find the file specified.\r\n"
What am I missing here?
Use a RadGridView with a datapager.
Problem:
The only time the RadGridView will run properly is if the System.Windows.Controls assembly from the Telerik install is used. However, there is no DataPager class defined in that assembly (whereas it is in the Silverlight SDK's version of that assembly, which I presume I *should* be using. If i use the standard one from the SDK, everything compiles, but I get this runtime error:
System.Windows.Markup.XamlParseException occurred
Message="System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242' or one of its dependencies. The system cannot find the file specified.\r\nFile name: 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242'\r\n at Telerik.Windows.Controls.GridView.GridViewDataControl.InitializeGroupCount()\r\n at Telerik.Windows.Controls.GridView.GridViewDataControl..ctor()\r\n at Telerik.Windows.Controls.RadGridView..ctor() [Line: 0 Position: 0]\r\n --- Inner Exception ---\r\nCould not load file or assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242' or one of its dependencies. The system cannot find the file specified.\r\n"
What am I missing here?