强制Rad GridView的寻呼机显示

时间:2013-03-05 12:00:40

标签: asp.net telerik rad

here the pagger should also show with 0 of 0 records displaying enter image description here我正在使用telerik rad gridview。有打架的。当记录超过页面大小时,显示页脚显示。即使没有记录,我希望分页页脚保持显示。它可能或应该显示类似的东西" 0的0记录显示"

我正在使用mlm:Gridview,它继承自Telerik Rad 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>

1 个答案:

答案 0 :(得分:1)

您可以将PagerStyle-AlwaysVisible设置为true

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