1. Sunny
    Sunny avatar
    26 posts
    Member since:
    Feb 2013

    Posted 26 Feb 2013 Link to this post

    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">
            <telerik:AjaxSetting EventName="OnSelectedIndexChanged" AjaxControlID="grd_optnandprcng">
                    <telerik:AjaxUpdatedControl ControlID="Req_items"></telerik:AjaxUpdatedControl>                    

    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.

  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 01 Mar 2013 Link to this post

    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.

    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.
Back to Top