Hi i have problem with pager. My pager show top and bottom after postBack or AjaxPostBack or my pagerSetting is AlwaysVisible="true" Position="Bottom". First loaded is correct. Same problem is in RadTab when OnClienttab send ajaxrequest for update visible grid.
<telerik:RadGrid ID="GridKenticoUser" runat="server" EnableDragToSelectRows="True" |
AllowFilteringByColumn="false" AllowSorting="True" AutoGenerateColumns="false" |
AllowMultiRowSelection="True" PageSize="500" Width="99%" OnNeedDataSource="GridKenticoUser_NeedDataSource" |
OnItemCommand="GridKenticoUser_ItemCommand"> |
<MasterTableView Width="100%" AllowPaging="true" DataKeyNames="UzivatelID, LektorID, Uzivatel" PagerStyle-Position="Bottom"> |
<HeaderStyle HorizontalAlign="Left" /> |
<ItemStyle HorizontalAlign="Left" /> |
<AlternatingItemStyle HorizontalAlign="Left" /> |
<PagerStyle AlwaysVisible="true" Position="Bottom" /> |
<Columns> |
<telerik:GridClientSelectColumn> |
<HeaderStyle Width="35" /> |
</telerik:GridClientSelectColumn> |
<telerik:GridBoundColumn DataField="Uzivatel" HeaderText="Uživatel" AutoPostBackOnFilter="true" |
AllowFiltering="false" ShowFilterIcon="false" FilterControlWidth="100%" CurrentFilterFunction="Contains"> |
<HeaderStyle Width="150" /> |
</telerik:GridBoundColumn> |
<telerik:GridDateTimeColumn DataField="Zalozen" HeaderText="Založen" AutoPostBackOnFilter="true" |
AllowFiltering="false" ShowFilterIcon="false" FilterControlWidth="100%" CurrentFilterFunction="Contains" |
DataFormatString="{0:dd.MM.yy}"> |
<HeaderStyle Width="60" /> |
</telerik:GridDateTimeColumn> |
<telerik:GridBoundColumn DataField="LektorFullName" HeaderText="Lektor" AutoPostBackOnFilter="true" |
AllowFiltering="false" ShowFilterIcon="false" FilterControlWidth="100%" CurrentFilterFunction="Contains"> |
<HeaderStyle Width="150" /> |
</telerik:GridBoundColumn> |
<telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Akce"> |
<ItemTemplate> |
<div style="padding-left: 10px;"> |
<asp:ImageButton runat="server" ID="BtnParuj" CommandName="Paruj" ImageUrl="~/App_Themes/GopasRed/Images/16x16/ok.png" |
Visible='<%# (String.IsNullOrEmpty(Eval("LektorID").ToString()))?true:false %>' |
ToolTip="Zpárovat" /> |
<asp:ImageButton runat="server" ID="ImageButton1" CommandName="OdParuj" ImageUrl="~/App_Themes/GopasRed/Images/16x16/cancel.png" |
Visible='<%# (!String.IsNullOrEmpty(Eval("LektorID").ToString()))?true:false %>' |
ToolTip="Zrušit párování" /> |
</div> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridTemplateColumn AllowFiltering="false"> |
</telerik:GridTemplateColumn> |
</Columns> |
</MasterTableView> |
<ClientSettings> |
<ClientEvents /> |
<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="True" ScrollHeight="390" /> |
<Selecting AllowRowSelect="true" /> |
</ClientSettings> |
<GroupingSettings CaseSensitive="false" /> |
</telerik:RadGrid> |