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

How does telerik wrap the jquery ajax complete/beforeSend/error/success callbacks

0 Answers 63 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bernd kopp
Top achievements
Rank 1
bernd kopp asked on 19 May 2012, 11:23 PM
Hi all,

I have studied your validation.sln solution where an ajax loaded window/dialog is opened. In this windows I can create a new user and confirm it. Then the new user is added to the repository and the WHOLE grid`s data is fetched with the controller Select action.

What I expected - because loading 1000 users again and again for every new insert is pretty costly... - that you do an ajax insert like adding a Json object in the complete event of your ajax request.

But... I saw there is no such callback ???

I want to pass the inserted user as Json object - back to the view which called the window-  so I can add manually the new user to the grid without having to reload all user.

How can I do that?

My stats:
  • ASP.NET MVC
  • Windows 7 32bit
  • Google Chrome 19.0.1084.46
  • Telerik_Extensions_for_ASPNET_MVC_2012_1_214_OpenSource
  • C# of course ;-)
Tags
Window
Asked by
bernd kopp
Top achievements
Rank 1
Share this question
or