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

Problem in loading data into rad grid based on combo selection

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 13 Aug 2008, 08:44 AM
Hi,

I am using ajax rad grid control, I have a strange problem, please can any one help me to resolve ?

I have a rad combo & rad grid in page.  Based on combo selection, rad grid data will change(and I am using numaric pager style). In my case, For first item selection in combo there are records available for one page in rad grid, for second item selection in combo there are records available for more than one page in rad grid(In this case it have1,2,3 pages in grid). Now if I select first item in combo to load data into grid after visiting 2nd or 3rd page in grid of combo second item based data,  it is simply displaying "No records to display" message.

I think it is trying to display 2nd or 3rd page in grid for fisrt item selection, But there is no data available for 2nd or 3rd page.

How can I always display first page in rad grid while combo selection index change.

Thanks in advance,
Balaji Velasiri.

1 Answer, 1 is accepted

Sort by
0
Balaji
Top achievements
Rank 1
answered on 13 Aug 2008, 09:37 AM
Hi Guys,

I got the solution for my problem. i.e I set "CurrentPageIndex" property of rad grid to 0 in combo selection index change.

Regards,
Balaji Velasiri.
Tags
Grid
Asked by
Balaji
Top achievements
Rank 1
Answers by
Balaji
Top achievements
Rank 1
Share this question
or