I have a radgrid with some gridboundcolumns (telerik:GridBoundColumn):
<telerik:GridBoundColumn datafield="Id" uniquename="column1"></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="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?