Hi, I have found a small (but annoying) problem with the latest version of RadGrid (2008/Q3/1125) in VS2008:
I manually added a grid to my page (in the source/markup view):
As soon as I switch to the design view use the smart tag (e.g. to set the AutoGenerateColums option), my markup code is changed and looks totally cluttered:
Can this be prevented?
Regards,
Martin
I manually added a grid to my page (in the source/markup view):
<telerik:RadGrid ID="grid" runat="server" OnNeedDataSource="grid_NeedDataSource"> |
<MasterTableView AutoGenerateColumns="true"> |
<ItemStyle CssClass="tr0" /> |
<AlternatingItemStyle CssClass="tr1" /> |
</MasterTableView> |
</telerik:RadGrid> |
As soon as I switch to the design view use the smart tag (e.g. to set the AutoGenerateColums option), my markup code is changed and looks totally cluttered:
<telerik:RadGrid ID="grid" runat="server" OnNeedDataSource="grid_NeedDataSource" AutoGenerateColumns="False" |
GridLines="None"> |
<HeaderContextMenu EnableTheming="True"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
</HeaderContextMenu> |
<MasterTableView AutoGenerateColumns="True" ShowHeader="false"> |
<RowIndicatorColumn> |
<HeaderStyle Width="20px"></HeaderStyle> |
</RowIndicatorColumn> |
<ExpandCollapseColumn> |
<HeaderStyle Width="20px"></HeaderStyle> |
</ExpandCollapseColumn> |
<ItemStyle CssClass="tr0" /> |
<AlternatingItemStyle CssClass="tr1" /> |
</MasterTableView> |
<FilterMenu EnableTheming="True"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
</FilterMenu> |
</telerik:RadGrid> |
Can this be prevented?
Regards,
Martin