Reputation: 11672
I am trying to hide paging numbers on gridview that shows on bottom of the gridview. I am using dropdown list instead of this number clicks. How can I hide them?
Please advice
Upvotes: 2
Views: 6391
Reputation: 425
You should add this code:
GridView1.BottomPagerRow.Visible = false;
Upvotes: 2
Reputation: 2257
You can edit the <PagerTemplate>
of the Gridview to modify it however you wish.
Upvotes: 1
Reputation: 32278
According to MSDN, it's as simple as:
GridView.PagerSettings.Visible = false;
Upvotes: 8