I have a table with several nvarchar(max) fields that have HTML in them. I want to show the first bit of the text in a column in a RadGrid so the user can filter on the column. But when I put the column in as the last column on the right, the right part of the text is cut off. It does not obey the HeaderStyle Width property or the Height property.
<telerik:GridBoundColumn DataField="interesting" FilterControlAltText="Filter interesting column" HeaderText="interesting" SortExpression="interesting" UniqueName="interesting" Visible="True"> <HeaderStyle Width="100px" /></telerik:GridBoundColumn>I tried changing the column to an HTMLEditor column, even though this grid is READ ONLY. Didn't change anything.
<telerik:GridHTMLEditorColumn DataField="interesting" FilterControlAltText="Filter interesting column" HeaderText="interesting" SortExpression="interesting" UniqueName="interesting" Visible="True"> <HeaderStyle Width="100px" /></telerik:GridHTMLEditorColumn>I tried using a separate column editor and it also didn't change anything.
<telerik:GridHTMLEditorColumnEditor ID="GridHTMLEditor" runat="server"> <Editor runat="server" Height="50px" Width="100px"><Content> </Content> </Editor></telerik:GridHTMLEditorColumnEditor>Even worse, when this column is in the grid, it causes other regular text columns to NOT obey their width settings. i.e. If I have the code below, then the second column is NOT rendered at 300px. This is really messed up and I don't know what else to do.
<telerik:GridHTMLEditorColumn DataField="interesting" FilterControlAltText="Filter interesting column" HeaderText="interesting" SortExpression="interesting" UniqueName="interesting" Visible="True"> <HeaderStyle Width="100px" /> </telerik:GridHTMLEditorColumn><telerik:GridBoundColumn DataField="comname" FilterControlAltText="Filter comname column" HeaderText="Common Name" SortExpression="comname" UniqueName="comname"> <HeaderStyle Width="300px" /> </telerik:GridBoundColumn>