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

not bind everytime at post back.

1 Answer 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shabbir
Top achievements
Rank 1
Shabbir asked on 28 Feb 2009, 06:12 AM
I have a searcing hform that bind grid at the time when search button pressed, but the problem is that when I navigate to page 2 of the radgrid (Allowpaging=true) the post back event fire and binding lost.
I also enabled the view state and not founding any property of DataSourcePersistenceMode.

How to optimize rad grid to bind one time and improve performance because I have a huge data to bind aprox. 500,000 records.

Kindly help urgently


 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Mar 2009, 07:13 AM
Hi Shabbir,

Write a StoredProcedure for implementing Custom Paging in Grid which will fetch only a fixed number of records per page. Call the SP in the click event of the Search button and also in the PageIndexChanged event of the Grid.

Thanks
Shinu
Tags
Grid
Asked by
Shabbir
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or