【问题标题】:Forcing Rad GridView's pager to show强制显示 Rad GridView 的寻呼机
【发布时间】:2013-03-05 12:00:39
【问题描述】:

我正在使用 Telerik rad gridview。这是有分页。当记录超过页面大小时显示分页页脚。即使没有记录,我也希望分页页脚保持显示。它可能或应该显示类似“0 of 0 records display”的内容

我正在使用从 Telerik Rad Gridview 继承的 mlm:Gridview:

<mlm:GridView ID="mlmGridView" runat="server" OnItemDataBound="mlmGridView_ItemDataBound"AutoGenerateColumns="true" ShowGroupPanel="true" SkinID="Grid" AllowSorting="True" AllowMultiRowSelection="True" AllowPaging="True" PageSize="13">
    <MasterTableView Width="100%" Summary="GridView table">              
    <NoRecordsTemplate> 
        No records to display !  
    </NoRecordsTemplate>   
    <Columns>
    </Columns>
    </MasterTableView>
    <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
    <Selecting AllowRowSelect="True"></Selecting>
    <Resizing AllowColumnResize="True" EnableRealTimeResize="True"></Resizing>                                
    </ClientSettings>             
    <GroupingSettings ShowUnGroupButton="true" />
</mlm:GridView>

【问题讨论】:

    标签: asp.net telerik rad


    【解决方案1】:

    您可以将PagerStyle-AlwaysVisible 设置为true

    <mlm:GridView PagerStyle-AlwaysVisible="True" ...>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-02
      • 2014-12-30
      相关资源
      最近更新 更多