Rad Grid

2 posts, 0 answers
  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">
    
        <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.

  2. Kostadin
    Admin
    Kostadin avatar
    1713 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.

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top