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

Update RagGrid under RadAjaxPanel

2 Answers 24 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Chilambarasan
Top achievements
Rank 1
Chilambarasan asked on 29 Mar 2012, 01:04 PM
Hi All,

I have 2 RagGrids under a RadAjaxPanel. I need to update the 2nd RadGrid as per the selection in the first. I can't achieve this.

Note: I have used the above controls inside a content panel hold by a Master page.

Masterpage.master
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
<body>
  <form id="form1" runat="server">
  <Telerik:RadScriptManager ID="radScriptManager1" runat="server">
  </Telerik:RadScriptManager>
..
..

Default.aspx

    <radA:AjaxLoadingPanel ID="lp" runat="server" ...>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/RadControls/Ajax/Skins/Default/loading.gif"
            BorderWidth="0px" AlternateText="Loading"></asp:Image>
    </radA:AjaxLoadingPanel>
    <radA:RadAjaxPanel ID="ajaxPanelSearch" runat="Server" ... />
     <div>
    
        <radG:RadGrid ID="RGrid1" runat="server" ... .... ... >
        .....
        .....
        </radG:RadGrid>

        <radG:RadGrid ID="RGrid2" runat="server" ... .... ... >
        .....
        .....
        </radG:RadGrid>

    </div>
    </radA:RadAjaxPanel>


Can anyone help on solving this.?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 30 Mar 2012, 02:10 PM
Hi Chilambarasan,

Try enabling postback on grid RowClick :
<ClientSettings ... EnablePostBackOnRowClick="true">
In addition, you can take a look at this demo which resembles your scenario but using RadAjaxManagerProxy:

I hope this helps.

All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Chilambarasan
Top achievements
Rank 1
answered on 30 Mar 2012, 02:23 PM
Thank you.

I will check it out
Tags
Ajax
Asked by
Chilambarasan
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Chilambarasan
Top achievements
Rank 1
Share this question
or