Hi,
I am using telerik UI for Asp.net Ajax version 2012.3.1016.40. I am trying to display Goto page control in radgrid's pager. I have set the pager style mode to NextPrevNumericAndAdvanced. But Goto page control is not displaying in pager. I am able to display Advanced Goto page control using jQuery and CSS. But I want them to be displayed withiout any extra code. Am I missing anything?
jQuery+CSS code to display Advanced pager controls:
$('div.rgAdvPart').css('display','block');
Here I am providing sample code. I have removed <columns> section.
<telerik:RadGrid ID="Grid" runat="server" OnNeedDataSource="Grid_NeedDataSource"
OnItemCreated="Grid_ItemCreated" OnDeleteCommand="Grid_DeleteCommand"
OnItemCommand="Grid_ItemCommand" OnItemDataBound = "Grid_ItemDataBound" AllowFilteringByColumn="True" Skin="Metro"
CellSpacing="0" GridLines="None" Width="99%" EnableViewState="true" AllowPaging="true" PageSize="20"
ViewStateMode="Enabled" HeaderStyle-ForeColor='Black' AllowSorting="true" SortingSettings-EnableSkinSortStyles="false">
<MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" DataKeyNames="Id" CommandItemSettings-ShowExportToExcelButton="true" AllowNaturalSort="false" PagerStyle-Mode="NextPrevNumericAndAdvanced" >
<SortExpressions>
<telerik:GridSortExpression FieldName="Status" SortOrder="Ascending" />
</SortExpressions>
<CommandItemSettings AddNewRecordText="Add" />
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
<GroupingSettings CaseSensitive="false" />
</telerik:RadGrid>
Thank you,
Gafoor
I am using telerik UI for Asp.net Ajax version 2012.3.1016.40. I am trying to display Goto page control in radgrid's pager. I have set the pager style mode to NextPrevNumericAndAdvanced. But Goto page control is not displaying in pager. I am able to display Advanced Goto page control using jQuery and CSS. But I want them to be displayed withiout any extra code. Am I missing anything?
jQuery+CSS code to display Advanced pager controls:
$('div.rgAdvPart').css('display','block');
Here I am providing sample code. I have removed <columns> section.
<telerik:RadGrid ID="Grid" runat="server" OnNeedDataSource="Grid_NeedDataSource"
OnItemCreated="Grid_ItemCreated" OnDeleteCommand="Grid_DeleteCommand"
OnItemCommand="Grid_ItemCommand" OnItemDataBound = "Grid_ItemDataBound" AllowFilteringByColumn="True" Skin="Metro"
CellSpacing="0" GridLines="None" Width="99%" EnableViewState="true" AllowPaging="true" PageSize="20"
ViewStateMode="Enabled" HeaderStyle-ForeColor='Black' AllowSorting="true" SortingSettings-EnableSkinSortStyles="false">
<MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" DataKeyNames="Id" CommandItemSettings-ShowExportToExcelButton="true" AllowNaturalSort="false" PagerStyle-Mode="NextPrevNumericAndAdvanced" >
<SortExpressions>
<telerik:GridSortExpression FieldName="Status" SortOrder="Ascending" />
</SortExpressions>
<CommandItemSettings AddNewRecordText="Add" />
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
<GroupingSettings CaseSensitive="false" />
</telerik:RadGrid>
Thank you,
Gafoor