>The mmRADGrid control works fine until I add bound columns manually.
>
>Table: Crew
> CrewPK
> Crew
> CrewType
> Active
>
>When I add the Crew column I get an error on the control.
>
>These are the settings:
>I uncheck the "Create columns automatically at run time" and add a Bound Column. I then set the following properties:
>HeaderText: Crew
>DataField: Crew
>DataType: System.String
>
>
>
>Error 12 Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'telerik.web.ui.gridboundcolumn' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. c:\FSLOffice\FSLOfficeWeb\Crew\ShowCrewTablePage.aspx 25
>Error 13 Literal content ('</telerik.web.ui.gridboundcolumn>') is not allowed within a 'Telerik.Web.UI.GridColumnCollection'. c:\FSLOffice\FSLOfficeWeb\Crew\ShowCrewTablePage.aspx 26
>
>
>Does anyone know what this means and how to fix it? I followed all of the instructions in the MM.Net documentation. Without defining the bound columns manually the grid shows the data just fine.
I don't have any experience with Telerik controls at this point but I am wondering if it is necessary to set the DataType property. I set grid columns manually by setting the HeaderText and DataField only with no problem. What happens if you just reset that one property back to default? That said the message would lead me to believe the column type being added is not a Telerik type and I wonder if the builder is not adding the proper type of column. Have you tried to add these columns in code by adding the telerik .web.ui.gridboundcolumn and setting its properties rather than using the builder?
Tim
Timothy Bryan