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

controling ajax call

1 Answer 17 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Keith Stephens
Top achievements
Rank 1
Keith Stephens asked on 29 Mar 2011, 03:50 PM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 01 Apr 2011, 01:06 PM
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
Tags
Ajax
Asked by
Keith Stephens
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or