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

designer problem

3 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sf
Top achievements
Rank 1
sf asked on 20 Apr 2009, 04:46 AM
I have a radgrid with some gridboundcolumns (telerik:GridBoundColumn):

<telerik:GridBoundColumn datafield="Id" uniquename="column1"></telerik:GridBoundColumn>
<telerik:GridBoundColumn datafield="Name" uniquename="column2"></telerik:GridBoundColumn>

Everytime when I click on the designer to perform RadGrid Tasks, e.g. click on "enable paging" or "disable sorting", the designer automatically duplicates the data item:

<Telerik.Web.UI.GridBoundColumn DataField="Id" UniqueName="column1"></Telerik.Web.UI.GridBoundColumn>
<Telerik.Web.UI.GridBoundColumn DataField="Name" UniqueName="column2"></Telerik.Web.UI.GridBoundColumn>

now my aspx code becomes:

<telerik:RadGrid.......>
<MasterTableView>

<telerik:GridBoundColumn datafield="Id" uniquename="column1"></telerik:GridBoundColumn>
<telerik:GridBoundColumn datafield="Name" uniquename="column2"></telerik:GridBoundColumn>

<Telerik.Web.UI.GridBoundColumn DataField="Id" UniqueName="column1"></Telerik.Web.UI.GridBoundColumn>
<Telerik.Web.UI.GridBoundColumn DataField="Name" UniqueName="column2"></Telerik.Web.UI.GridBoundColumn>
</MasterTableView>
</telerik:RadGrid>

Then I will get error complaining "System.Web.HttpParseException: Validation (XHTML 1.0 Transitional): Element 'telerik.web.ui.gridboundcolumn' is not supported'

If I manually delete the 2 new lines the application will work normally. Does anyone know why this is happening?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Apr 2009, 06:37 AM
Hi,

I have found a forum link which discusses a similar error. Go through it and see if it helps to some extent.
Error: Telerik.Web.UI.GridColumnCollection must have items of type ...

Thanks
Shinu
0
MiroslavStantic
Top achievements
Rank 1
Iron
answered on 25 May 2009, 11:50 AM
I've encountered the same issue. What are the steps to correct this behavior?

I've read the thread in question, but I'm still not sure what I should do. Should I replace the RadScriptManager with ScriptManager? Should I reference the dll including the version number in the reference? (Currently I manually added the reference and left out the version number so I can update the web site more easily to a new version, without having to change the web.config, and on my machine there is only the latest package installed (RadControls for ASP.NET AJAX Q1 2009).
0
Sebastian
Telerik team
answered on 28 May 2009, 11:14 AM
Hello guys,

Please review this public forum post which elaborates on the possible reason for this designer issue and how to eliminate it.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
sf
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
MiroslavStantic
Top achievements
Rank 1
Iron
Sebastian
Telerik team
Share this question
or