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

[Solved] Ajax call from Telerik Control does not call ajaxSetup.complete function

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel
Top achievements
Rank 1
Daniel asked on 17 May 2012, 10:16 PM

I am using a Telerik grid on ASP .NET MVC3.

When the Telerik grid makes an ajax call, it does not go through the ajaxSetup.complete function. All other ajax calls via jQuery are fine.

Does anyone know how to get the Telerik ajax calls to call the ajaxSetup.complete function upon completion?

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 22 May 2012, 02:01 PM
Hello Danuel,

Bascailly you can use the OnComplete event of the Grid to execute your logic. Or you could specify a handler to the the ajaxComplete on the document. The handler specified in your default ajaxOptions wont be executed because it is overwritten by the ajax options specified by the Grid request.

Regards,
Petur Subev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or