6 Answers, 1 is accepted
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 01 Sep 2012, 08:58 AM
Hello,
Please try with below code snippet.
Thanks,
Jayesh Goyani
Please try with below code snippet.
<style type=
"text/css"
>
.RadGrid .rgPageLast,.RadGrid .rgPageFirst
{
display
:
none
!important
;
}
</style>
Thanks,
Jayesh Goyani
0
javier
Top achievements
Rank 1
answered on 03 Sep 2012, 11:13 AM
Thank you Jayesh, it worked.
0
Tofan
Top achievements
Rank 1
answered on 08 Nov 2013, 02:31 PM
Where to insert to css snipet to work? Please I would like to know.
PT. Nevermind. Found the answer.
PT. Nevermind. Found the answer.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 08 Nov 2013, 04:46 PM
Hello,
If you want to hide this only in one page then you have to set this style into your aspx page.
if you want to hide this from whole application then create one CSS file and place this style in it and give this css file link in to your page.
Let me know if any concern.
Thanks,
Jayesh Goyani
If you want to hide this only in one page then you have to set this style into your aspx page.
if you want to hide this from whole application then create one CSS file and place this style in it and give this css file link in to your page.
Let me know if any concern.
Thanks,
Jayesh Goyani
0
Arun
Top achievements
Rank 1
answered on 12 Feb 2016, 12:51 PM
This Css Is Working Fine suppose if i want to Hide Those Buttons Only when the Radgrid Bindlist Count is <50 so how can i do it can i do it in Prerender Event ?
0
Hi Arun,
You can use the following approach to access the row count:
Regards,
Eyup
Telerik
You can use the following approach to access the row count:
protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridPagerItem)
{
GridPagerItem pager = (GridPagerItem)e.Item;
if
(pager.Paging.DataSourceCount > 50)
{
pager.OwnerTableView.PagerStyle.Mode = GridPagerMode.NumericPages;
}
}
}
Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items