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

NoMasterRecordsText wraps to 1 word per line?

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 10 Jul 2013, 05:51 PM
For some reason the NoMasterRecordsText is not displaying correctly and wrapping to the extreme.

I've attached a picture to visually display what I'm getting, but also Here's the grid code i'm using:
  <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">
    <SortingSettings SortedBackColor="Transparent" />
     
    <MasterTableView AllowPaging="false"  NoMasterRecordsText="There are no markups for this document.">
         
        <Columns>
                   <telerik:GridBoundColumn DataField="Id" Display="false"></telerik:GridBoundColumn>
                                                
            <telerik:GridBoundColumn DataField="Item_Name" HeaderText="Name" Visible="true" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="Revised_By" HeaderText="Revised By" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true"></telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Revised_Date" HeaderText="Revised On" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn DataField="Last_Edit" HeaderText="Last Edit" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true" Display="false"></telerik:GridBoundColumn>
                 <telerik:GridBoundColumn DataField="Original_Filename" HeaderText="Original File" Display="false" ItemStyle-Wrap="true" HeaderStyle-Width="20%"></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" Display="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" Display="false">
                <ItemTemplate>
                    <button value="View" style="width:90%" title="View this document" class="contactInfoXXSmall"  onclick="viewSingleDocument('<%# Eval("Id") %>');">View</button>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
                                     
        </Columns>
  
    </MasterTableView>
 
    <ClientSettings EnableRowHoverStyle="false">
                        <Selecting AllowRowSelect="true" />
                        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                    </ClientSettings>
                     
                                 
 
</telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 12 Jul 2013, 05:47 AM
Hai Jay,

I tried to replicate the issue but no avail it aligned well in my side.Can you provide some more information,as to,are you using any styles.Does this occur in all browsers.Please try adjusting the width and height.
Below is the code i tired.

ASPX:
<telerik:RadGrid ID="grdMarkups" AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="false" PagerStyle-Mode="NextPrevNumericAndAdvanced" runat="server" AllowPaging="false" AllowSorting="false" AutoGenerateColumns="False" GridLines="None">
  <SortingSettings SortedBackColor="Transparent" />
  <MasterTableView AllowPaging="false" NoMasterRecordsText="There are no markups for this document.">
            . . . . . . .
           </MasterTableView>
     <ClientSettings EnableRowHoverStyle="false">
       <Selecting AllowRowSelect="true" />
       <Scrolling AllowScroll="true" UseStaticHeaders="true" />
     </ClientSettings>
</telerik:RadGrid>

Thanks,
Princy
Tags
Grid
Asked by
Jay
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or