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

[Solved] auto generated columns

2 Answers 138 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kyle
Top achievements
Rank 1
kyle asked on 28 Feb 2008, 02:25 PM
We just started using the Prometheus grid and are having some issues. We can not seem to get a grip on the auto generated columns.

We have a simply lookup table that we are using LINQ/SQL as the datasource. We want to use the grid as a simple quick and easy data entry form/list.  IE:  id (int seed), textfield (varchar(50), datetime (datetime)

Our issue is that there appears to be many several properties for autogenerating columns and we are not sure which ones to use. When we turn all of them on we get duplicate columns.  If I believe correctly one property creates the columns, but all of the editform boxes are textboxes, but when we turn on the other autogenerate columns we get duplicates, but now these are properly typed contols (which we want) IE:  the datetime textbox is a datetime control :) etc.



Also what is required to turn this grid into full ajax? As I thought this control had this built in?

2 Answers, 1 is accepted

Sort by
0
kyle
Top achievements
Rank 1
answered on 29 Feb 2008, 02:54 AM
telerik??
0
Rosen
Telerik team
answered on 29 Feb 2008, 02:17 PM
Hi kyle,

Can you please check if you have defined columns explicitly and set AutoGenerateColumns to true. As by this columns will be duplicated. You can find more info on how to defined column in this help article. Additionally, I have attached a simple project to demonstrate the requested scenario.

Kind regards,
Rosen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
kyle
Top achievements
Rank 1
Answers by
kyle
Top achievements
Rank 1
Rosen
Telerik team
Share this question
or