Can you tell me how I can hide the First, Previous, Next, and Last pager buttons in a radgrid?
I am able to hide the Page Size related controls in the code behind by using this code:
Label changePageSizeLabel = (Label)e.Item.FindControl("ChangePageSizeLabel");
changePageSizeLabel.Visible = false;
Button changePageSizeLinkButton = (Button)e.Item.FindControl("ChangePageSizeLinkButton");
changePageSizeLinkButton.Visible = false;
RadNumericTextBox changePageSizeText = (RadNumericTextBox)e.Item.FindControl("ChangePageSizeTextBox");
changePageSizeText.Visible = false;
And I am able to hide the text that displays next to those buttons in the markup by using this code:
<PagerStyle Mode="NextPrevNumericAndAdvanced" CssClass="quotePager" Position="TopAndBottom" HorizontalAlign="Center"
FirstPageText="" PrevPageText="" NextPageText="" LastPageText="" />
But I cannot figure out how to hide the buttons mentioned above?
Is there an ID I can use for each of them to find them and set them to visible=false in the code-behind?
Is there an attribute I can use for each of them to set them in the pagerstyle element in the markup?
Thank you