I am using RadTools for ASP.NET 2009.Q3 SP2.
Can someone please tell me if the following possible.
I would like to build a user control (BaseGrid.ascx) that houses the Telerik RadGrid that will allow me to pass in different datasets to it based off of SQL views and or OpenAccess ORM ExtentClasses and have the grid display the columns/data automatically. I am under the impression that the Grid's Auto Generate Columns at Runtime feature should do this however I have UNSUCCESSFULLY tried populating the grid using (OpenAccess)DirectSQL - OQL - LINQ and an OpenAccessDataSource(set at runtime). When there are no errors then there simply in no data.
If I temporarily set the Grid's datasource to an OpenAccessDataSource and allow the columns to be built at design time then remove the DataSource but don't clear the Grid's schema then go back to dynamically setting the Grids datasource at runtime (with a method that usually results in a NO DATA TO DISPLAY message) it works and the data is there. So for some reason the Auto Generate Columns At Runtime feature is not working.
The idea is to have a single code base for the Grid and dynamically set the columns and populate the data at runtime.
Can someone please confirm and or point me in the right direction.
THANK YOU!
Can someone please tell me if the following possible.
I would like to build a user control (BaseGrid.ascx) that houses the Telerik RadGrid that will allow me to pass in different datasets to it based off of SQL views and or OpenAccess ORM ExtentClasses and have the grid display the columns/data automatically. I am under the impression that the Grid's Auto Generate Columns at Runtime feature should do this however I have UNSUCCESSFULLY tried populating the grid using (OpenAccess)DirectSQL - OQL - LINQ and an OpenAccessDataSource(set at runtime). When there are no errors then there simply in no data.
If I temporarily set the Grid's datasource to an OpenAccessDataSource and allow the columns to be built at design time then remove the DataSource but don't clear the Grid's schema then go back to dynamically setting the Grids datasource at runtime (with a method that usually results in a NO DATA TO DISPLAY message) it works and the data is there. So for some reason the Auto Generate Columns At Runtime feature is not working.
The idea is to have a single code base for the Grid and dynamically set the columns and populate the data at runtime.
Can someone please confirm and or point me in the right direction.
THANK YOU!