Up vote 0 down vote favorite 1 share g+ share fb share tw.
Right now I'm displaying a table of objects, but each row has an editable value with each row in its own Ajax form but when I click the update button it goes to the method alright but the whole page changes. Asp. Net-mvc-3 link|improve this question asked Jul 14 '11 at 15:51MCBrandenburg254.
Of course, you could use AJAX: @using (Html.BeginForm()) { ... some form input fields } and then unobtrusively AJAXify this form in a separate file: $(function() { $('form'). Submit(function() { $. Ajax({ url: this.
Action, type: this. Method, data: $(this).serialize(), success: function(result) { // TODO: handle the results of the AJAX call } }); return false; }); }); and to avoid writing all this javascript code you may take a look at the excellent jquery. Form plugin: $(function() { $('form').
AjaxForm(function(result) { // TODO: handle the results of the AJAX call }); }); Another alternative is to use the ASP. NET MVC 3 Ajax. BeginForm helper: @using (Ajax.
BeginForm(new AjaxOptions { OnSuccess = "success" })) { ... some form input fields } and then have a success handler in javascript: function success(result) { // TODO: handle the results of the AJAX call } you will also need to include the jquery. Unobtrusive-ajax. Js script in addition to jquery to your page if you want to use the Ajax.
* helpers.
Actually, just needed to add the jquery. Unobtrusive-ajax. Js script, but thanks so much for your help.
I have been pulling my hair out(or whats left of it). – MCBrandenburg Jul 14 '11 at 16:26.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.