Dear Sir,
I am trying to customize RadGrid pager style, below is the declaration of my grid.
The issue is that when the user is at the first page, I need to modify the FirstPage and Previous page Images (so that he knows that they are disabled). Also when he is at the last page, I need to modify the NextPage and Last Page images.
Can this be done? If yes, please provide me with instructions to do it.
Thank you and Best regards.
I am trying to customize RadGrid pager style, below is the declaration of my grid.
<
telerik:RadGrid
ID
=
"grdResult"
runat
=
"server"
EnableEmbeddedSkins
=
"false"
Skin
=
"MyCustomSkin"
AllowPaging
=
"True"
AutoGenerateColumns
=
"False"
Width
=
"652px"
Height
=
"100%"
BackColor
=
"white"
BorderStyle
=
"None"
GridLines
=
"None"
Visible
=
"true"
>
<
ClientSettings
EnableAlternatingItems
=
"false"
>
</
ClientSettings
>
<
MasterTableView
>
<
HeaderStyle
BorderStyle
=
"Dashed"
/>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"Search Result"
HeaderText
=
"Search result"
>
<
HeaderStyle
Font-Bold
=
"true"
/>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
<
PagerStyle
CssClass
=
"RadGridPager"
Mode
=
"NextPrevAndNumeric"
Position
=
"TopAndBottom"
NextPageImageUrl
=
"images/nextpage.gif"
NextPageText
=
" "
PrevPageText
=
" "
PrevPageImageUrl
=
"images/prevpage.gif"
FirstPageImageUrl
=
"images/firstpage.gif"
FirstPageText
=
" "
LastPageImageUrl
=
"images/lastpage.gif"
LastPageText
=
" "
Width
=
"200px"
ShowPagerText
=
"true"
PagerTextFormat="{4} Page <b>{0}</
b
> of <
b
>{1}</
b
>, Total: <
b
>{5}</
b
> records." AlwaysVisible="false" >
</
PagerStyle
>
<
FilterMenu
EnableEmbeddedSkins
=
"False"
></
FilterMenu
>
<
HeaderContextMenu
EnableEmbeddedSkins
=
"False"
></
HeaderContextMenu
>
</
telerik:RadGrid
>
The issue is that when the user is at the first page, I need to modify the FirstPage and Previous page Images (so that he knows that they are disabled). Also when he is at the last page, I need to modify the NextPage and Last Page images.
Can this be done? If yes, please provide me with instructions to do it.
Thank you and Best regards.