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

Goto page control in RadGrid paging is not appearing

1 Answer 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
gafor
Top achievements
Rank 1
gafor asked on 14 Jan 2015, 05:29 PM
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


1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 15 Jan 2015, 05:11 PM
Hello Gafoor,

Could you confirm that the same problem persists with the latest Telerik.UI version?

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
gafor
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or