Hi,
I have a RadGrid that I'm using to do some custom paging. This works really well and I'm very happy with how it works. Because the page size of the items I'm displaying changes depending on the selection, I'm changing the VirtualItemCount property to make sure that the number of pages stays consistent, regardless of how many items are displayed. This works well, but it displays on the bottom of the grid (items x to y of total) which obviously changes as the VirtualItemCount changes.
What's the best way to customise just this part of the pager? I've seen in the online demos how to customise the whole thing, but I really just want to access the control that says that and change the text.
I'm using the ItemCreated method as follows:
But I don't seem to be able to access the label/literal itself in order to change the text.
Thanks
I have a RadGrid that I'm using to do some custom paging. This works really well and I'm very happy with how it works. Because the page size of the items I'm displaying changes depending on the selection, I'm changing the VirtualItemCount property to make sure that the number of pages stays consistent, regardless of how many items are displayed. This works well, but it displays on the bottom of the grid (items x to y of total) which obviously changes as the VirtualItemCount changes.
What's the best way to customise just this part of the pager? I've seen in the online demos how to customise the whole thing, but I really just want to access the control that says that and change the text.
I'm using the ItemCreated method as follows:
protected
void
Grid_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridPagerItem)
...
}
But I don't seem to be able to access the label/literal itself in order to change the text.
Thanks