This question is locked. New answers and comments are not allowed.
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:
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 ;-)