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

Dragging RadGridView from Data Sources Window Causes Error

3 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 13 Aug 2010, 02:51 PM
I am using Visual Studio 2010 Professional version 10.0.30319.1 and Telerik Rad Controls for WinForms Q2 2010 SP1 (2010.2.10.806). I have created a new Rad Controls Windows Forms Application.

I added a new data source to the Data Sources Window. If I try to drag a table from the Data Sources Window with the control type set as the default RadGridView control, I get the following error

"An error occurred while performing the drop:
Control 'RadGridView' cannot be used to bind to a table"

If I select the standard Microsoft DataGridView, it works fine.

Any ideas why the RadGridView does not work?

Thanks

3 Answers, 1 is accepted

Sort by
0
Armin
Top achievements
Rank 1
answered on 13 Aug 2010, 02:53 PM
how did you import RadGridView to the controls of your data sources?

http://www.telerik.com/community/forums/winforms/gridview/add-radgradview-as-a-control-to-datasets.aspx

best regards,
A.V.
0
Tom
Top achievements
Rank 1
answered on 13 Aug 2010, 03:10 PM
I didn't do anything special. The RadGridView control was the default type. In fact, when you select a table in the Data Sources window and drop down the list of options, the Microsoft DataGridView Control was not on the list. In order to use the Microsoft DataGridView, I had to select "Customize" from the list and add it manually.
0
Julian Benkov
Telerik team
answered on 18 Aug 2010, 06:09 PM
Hello Thomas Marshall,

The reported issue is already resolved. The fix will be available in the Q2 2010 SP2 release, planed for first half of September.

Regards,
Julian Benkov
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
GridView
Asked by
Tom
Top achievements
Rank 1
Answers by
Armin
Top achievements
Rank 1
Tom
Top achievements
Rank 1
Julian Benkov
Telerik team
Share this question
or