Hi there, I have come across a problem with the Rad Grid shrinking in size when it's rebound, or when it's item command it hit.
I will explain where my grid sits, It is in a control which is situated in a RadWindow which contains a tab strip it is one of the page contols of one of the rad tabs.
The RadGrid is set up with the following code:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" AllowPaging="true" AutoGenerateColumns="true" OnNeedDataSource="RadGrid1_NeedDataSource"
OnColumnCreated="RadGrid1_ColumnCreated" OnItemDataBound="RadGrid1_ItemDataBound" AllowMultiRowSelection="true" ShowGroupPanel="true" OnItemCommand="RadGrid1_ItemCommand">
<MasterTableView TableLayout="Fixed" Width="100%">
<Columns>
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
<HeaderStyle Width="50px" />
</telerik:GridClientSelectColumn>
<telerik:GridButtonColumn DataTextFormatString="Download" UniqueName="DownloadLink" CommandName="Download"
runat="server" DataTextField="ID" ButtonType="LinkButton" >
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true" AllowDragToGroup="true" AllowColumnsReorder="true">
<Selecting AllowRowSelect="True" UseClientSelectColumnOnly="true" />
<Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"
ClipCellContentOnResize="false" EnableRealTimeResize="false" AllowResizeToFit="false" />
</ClientSettings>
</telerik:RadGrid>
When the page first loads the grid renders as desired, however once it has been updated or the Download command has been run the grid shrinks all columns so that the contents of the cells are spread over 3 lines.
Any ideas on how to stop this from happening?
Regards
Ryan
I will explain where my grid sits, It is in a control which is situated in a RadWindow which contains a tab strip it is one of the page contols of one of the rad tabs.
The RadGrid is set up with the following code:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" AllowPaging="true" AutoGenerateColumns="true" OnNeedDataSource="RadGrid1_NeedDataSource"
OnColumnCreated="RadGrid1_ColumnCreated" OnItemDataBound="RadGrid1_ItemDataBound" AllowMultiRowSelection="true" ShowGroupPanel="true" OnItemCommand="RadGrid1_ItemCommand">
<MasterTableView TableLayout="Fixed" Width="100%">
<Columns>
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
<HeaderStyle Width="50px" />
</telerik:GridClientSelectColumn>
<telerik:GridButtonColumn DataTextFormatString="Download" UniqueName="DownloadLink" CommandName="Download"
runat="server" DataTextField="ID" ButtonType="LinkButton" >
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true" AllowDragToGroup="true" AllowColumnsReorder="true">
<Selecting AllowRowSelect="True" UseClientSelectColumnOnly="true" />
<Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"
ClipCellContentOnResize="false" EnableRealTimeResize="false" AllowResizeToFit="false" />
</ClientSettings>
</telerik:RadGrid>
When the page first loads the grid renders as desired, however once it has been updated or the Download command has been run the grid shrinks all columns so that the contents of the cells are spread over 3 lines.
Any ideas on how to stop this from happening?
Regards
Ryan