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

raddatapager replace ... with image

3 Answers 50 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 18 Jun 2011, 05:54 PM
is there a way to replace the ... in the numeric buttons to an image like < and >?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Jun 2011, 03:31 PM
Hello Joseph,

You can specify the pager fields, between the opening and closing <Fields> tag inside the RadDataPager control.
aspx:
<telerik:RadDataPager ID="RadDataPager1" PagedControlID="RadListView1" PageSize="2"
    runat="server">
    <Fields>
        <telerik:RadDataPagerButtonField FieldType="FirstPrev" FirstButtonText="First" PrevButtonText="Prev" />
        <telerik:RadDataPagerButtonField FieldType="NextLast" NextButtonText="Next" LastButtonText="Last" />
    </Fields>
</telerik:RadDataPager>
Check out the following help article for more on this.
RadDataPager elements.

Thanks,
Princy.
0
Joseph
Top achievements
Rank 1
answered on 27 Jun 2011, 01:54 PM
Yes I am aware of that but the problem is that when I turn those on the only pagination that works is the actual page number clicks. If I click next previous first or last nothing happens.
0
Pavlina
Telerik team
answered on 30 Jun 2011, 09:29 AM
Hello Joseph,

The RadDataPager control has a number of fields you can use for designing your own pager. It lets you choose the controls that will appear in the pager field to help users navigate through the pages. Please review the online example below, which demonstrates the needed functionality and see if it is useful for you:
http://demos.telerik.com/aspnet-ajax/datapager/examples/firstlook/defaultcs.aspx

Kind regards,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
DataPager
Asked by
Joseph
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Joseph
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or