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

NoMasterRecordsText wraps and is not all visible

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 22 Aug 2012, 08:06 PM
We've recently upgraded to .724 of Telerik and now an empty grid's text appears cut off and wrapped to about 7 rows?
This happens regardless if it's custom or the default text. I've included an attachment to further illustrate my point.

It's as though the text is trying to fill a column that is 10 px wide and ends up wrapping? Is this an issue with the latest release?

Thanks,
Jay

Here's my grid markup code:
<telerik:RadGrid ID="grdMarkups" AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="false"
          PagerStyle-Mode="NextPrevNumericAndAdvanced" runat="server" Width="99.9%" Height="99.9%"
          AllowPaging="false" AllowSorting="false" AutoGenerateColumns="False" GridLines="None">
          <MasterTableView AllowPaging="false" NoMasterRecordsText="This document does not currently have any markups associated with this version">
              <Columns>
                  <telerik:GridBoundColumn DataField="Item_Name" HeaderText="Name" Visible="true" ItemStyle-Wrap="true">
                  </telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Last_Edit" HeaderText="Last Edit" HeaderStyle-Width="25%"
                      ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true">
                  </telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Original_Filename" HeaderText="Original File"
                      Visible="false" ItemStyle-Wrap="true" HeaderStyle-Width="15%">
                  </telerik:GridBoundColumn>
                  <telerik:GridHyperLinkColumn DataNavigateUrlFields="MarkupURL" UniqueName="Markup"
                      HeaderTooltip="Click to view more details about the document" HeaderText="View"
                      Text="View" Target="_blank" HeaderStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                      ItemStyle-HorizontalAlign="Center">
                  </telerik:GridHyperLinkColumn>
                  <telerik:GridTemplateColumn HeaderText="Download" UniqueName="Download" HeaderStyle-Width="11%"
                      HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Visible="false">
                      <ItemTemplate>
                          <button value="Download" style="width: 90%" title="Download this document" class="contactInfoXXSmall"
                              type="button" onclick="downloadSingleDocument('<%# Eval("Id") %>');">
                              Download</button>
                      </ItemTemplate>
                  </telerik:GridTemplateColumn>
                  <telerik:GridTemplateColumn HeaderText="View" HeaderStyle-Width="5%" HeaderStyle-HorizontalAlign="Center"
                      ItemStyle-HorizontalAlign="Center" Visible="false">
                      <ItemTemplate>
                          <button value="View" style="width: 90%" title="View this document" class="contactInfoXXSmall"
                              onclick="viewSingleDocument('<%# Eval("Id") %>');">
                              View</button>
                      </ItemTemplate>
                  </telerik:GridTemplateColumn>
                  <telerik:GridBoundColumn DataField="Id" Visible="false">
                  </telerik:GridBoundColumn>
              </Columns>
          </MasterTableView>
          <ClientSettings EnableRowHoverStyle="false">
              <Selecting AllowRowSelect="true" />
              <Scrolling AllowScroll="true" UseStaticHeaders="true" />
          </ClientSettings>
      </telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 27 Aug 2012, 10:21 AM
Hello Jay,

I tried to reproduce the described issue but to no avail. I am sending you a simple example, based on your code. Please check it out and let me know what differs in your case.

Looking forward for your reply.

Greetings,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Jay
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or