James123
James123

Reputation: 11672

hide paging numbers in gridview?

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

Answers (3)

suleymanduzgun
suleymanduzgun

Reputation: 425

You should add this code:

GridView1.BottomPagerRow.Visible = false;

Upvotes: 2

novacara
novacara

Reputation: 2257

You can edit the <PagerTemplate> of the Gridview to modify it however you wish.

Upvotes: 1

George Johnston
George Johnston

Reputation: 32278

According to MSDN, it's as simple as:

GridView.PagerSettings.Visible = false;

Upvotes: 8

Related Questions