Hi,
I'm using
The RadGridView v. 2011_2_0712 of the Telerik Controls
Ado.Net Entity Framework 4.1
VistaDB 4.2.18.4 or MSSQL Server 2008
I'm trying to bind a simple RadGridView to a model and then to use the built-in functions.
I have two identical test projects and two identical sampleDBs the one is in VistaDB and the other in MSSql. In the first project I use the Entities from the model generated using the VistaDB and in the second project using MSSql.
The binding is done like this in both projects.
The Sql script to generate the tables is like this.
Summary:
Project 1
- RadGridView
- Ado.Net 4.1
- Model from VistaDB
Project 2
- RadGridView
- Ado.Net 4.1
- Model from MSSQL
The two DBs are generated with the same script and seem to been exactly the same. The generated models are exactly the same. BUT when I try to group columns in the project 1 then an exception is thrown. In project 2 the whole grouping, sorting and filtering functions are done well.
Anyone knows about issues of the RadGridView with Ado.Net or with VistaDB?
If it's requested can I upload these two test projects.
Thanks in advance
Walter
I'm using
The RadGridView v. 2011_2_0712 of the Telerik Controls
Ado.Net Entity Framework 4.1
VistaDB 4.2.18.4 or MSSQL Server 2008
I'm trying to bind a simple RadGridView to a model and then to use the built-in functions.
I have two identical test projects and two identical sampleDBs the one is in VistaDB and the other in MSSql. In the first project I use the Entities from the model generated using the VistaDB and in the second project using MSSql.
The binding is done like this in both projects.
public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Entities context = new Entities(); radGridView1.ItemsSource = context.Organisationseinheiten; } }The Sql script to generate the tables is like this.
CREATE TABLE [Organisationseinheiten] ( [OEID] Int PRIMARY KEY, [Name] NChar(128) NOT NULL, [Beschreibung] NChar(500) NULL); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (1, 'OE1', 'OE1'); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (2, 'OE3', 'OE1'); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (3, 'OE3', 'OE1'); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (4, 'OE4', 'OE1'); Summary:
Project 1
- RadGridView
- Ado.Net 4.1
- Model from VistaDB
Project 2
- RadGridView
- Ado.Net 4.1
- Model from MSSQL
The two DBs are generated with the same script and seem to been exactly the same. The generated models are exactly the same. BUT when I try to group columns in the project 1 then an exception is thrown. In project 2 the whole grouping, sorting and filtering functions are done well.
Anyone knows about issues of the RadGridView with Ado.Net or with VistaDB?
If it's requested can I upload these two test projects.
Thanks in advance
Walter
