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

Rad Grid

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sunny
Top achievements
Rank 1
Sunny asked on 26 Feb 2013, 09:17 PM

I'm new to telerik controls.

I'm using following code to Update my controls asyncronously.

Below is my code:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID =  "RadAjaxLoadingPanel1">

    <AjaxSettings>
        <telerik:AjaxSetting EventName="OnSelectedIndexChanged" AjaxControlID="grd_optnandprcng">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Req_items"></telerik:AjaxUpdatedControl>                    
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>


as my code shows, i just want to update control Req_items (rad gridview) only on OnSelectedIndexChanged event of grd_optnandprcng (rad gridview).

But its not working. Its updating control on every event of radgridview.

Anyone have any idea to resolve this issue. Thanks.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 01 Mar 2013, 01:50 PM
Hi Sunny,

The EventName property is obsolete for RadAjax. A possible approach is to use a button which updates the second grid. The button click event will be called only when select command on the first grid is fired.

Greetings,
Kostadin
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.
Tags
Grid
Asked by
Sunny
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or