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

RadAjaxGrid

4 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Das
Top achievements
Rank 1
Das asked on 29 Dec 2008, 12:25 PM
Hi,

I have two RAD grids with Ajax enabled in two different areas. The first grid is the master grid and the second grid is dependent on the first grid. I have the first grid which has sorting, paging and some links. On doing any of the actions to the data in the master grid the data in the child grid should change. Since the master grid has the attribute EnableAjax=True the child grid won't get refreshed. The ASP.Net UpdatePanel also does not seem to work on this. Please provide me with your suggestions. Thanks.

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Dec 2008, 01:00 PM
Hi,

Here is an online demo which demonstrates a similar scenario.  Go through it and see if it meets your requirement.
Related grids

Shinu
0
Maria Ilieva
Telerik team
answered on 29 Dec 2008, 01:07 PM
Hello Das,

Please review the following online example which represents Related Grids which are using Ajax. Test the provided approach and let us know if this helps.


Regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Das
Top achievements
Rank 1
answered on 30 Dec 2008, 10:13 AM
Hi,

I was able to implement this solution only while paging. If I implement this for sorting I get the "Invalid Postback or Callback" error. I am using the same logic as used in the Paging event. Also, while filtering I want the same thing to work. How do I know that the filtering has been done. Is there any property for this? I want the first record to bve selected and the child grid to be refreshed for paging, sorting and filtering operations.

On more analysis I found that the error happens on sorting only after I do the paging. If I do the sorting first there is no issue. Thanks.
0
Yavor
Telerik team
answered on 30 Dec 2008, 12:19 PM
Hello,

The mentioned example has sorting as well, and behaves as expected.
If the issue persists at your end, you can open a formal support ticket, and send us a small project, demonstrating your implementation, for additional local testing.

Best wishes,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Das
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Maria Ilieva
Telerik team
Das
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or