controling ajax call

2 posts, 1 answers
  1. Keith Stephens
    Keith Stephens avatar
    83 posts
    Member since:
    May 2010

    Posted 29 Mar 2011 Link to this post

    Hello,

    Attached is a screen shot of my page.  The control on the far left are 3 combo boxes on top of a grid (that shows employee names).
    This is all in one user control.

    When a user select an employee all the information on the righ side gets loaded by an ajax call using the radajaxmanager. The 2 charts and the middle section are 3 user controls and the 2 sections below the charts are user controls.

    This functions just fine, but my issue I am trying to solve is when I page the employees all of it refreshes by ajax.
    I only  want to refresh the information, when a user selects an employee. I want to disable the ajax call when paging employees.

    Can this be done? And how.
    Thanks,
    KS.
  2. Answer
    Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 01 Apr 2011 Link to this post

    Hi Keith,

    You should remove the ajax setting that ajaxifies RadGrid to itself. If you have one like the following:

    <telerik:AjaxSetting AjaxControlID="RadGrid1">
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
        </UpdatedControls>
    </telerik:AjaxSetting>

     just remove it.

    Hope it helps.

    Greetings,
    Tsvetoslav
    the Telerik team
Back to Top