This is a migrated thread and some comments may be shown as answers.

Show all grid data into page without paging

2 Answers 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
naimish
Top achievements
Rank 1
naimish asked on 27 Aug 2010, 02:41 PM
Hi,

Have a button 'Show All' inside CommandItemTemplate of the grid.
On click of that button, need to show all grid data into single page without paging.

If anybody has code for this please share with me.

 Button to show all grid data in a sigle page

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 27 Aug 2010, 03:11 PM
Hi Naimish,


In the Button_Click event, set the AllowPaging property of grid to "False" and Rebind the grid.

Hope this will help,

Regards,
Shinu.
0
naimish
Top achievements
Rank 1
answered on 28 Aug 2010, 07:04 AM
Hi Shinu,
It worked, thanks for help...
Tags
Grid
Asked by
naimish
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
naimish
Top achievements
Rank 1
Share this question
or