asp.net mvc 3 - Ajax.BeginForm OnSuccess not executed after Submit -


i trying use jquery dialog edit data in webgrid. everythings works fine until form submitted, instead of return current page open browser goes url of controller action. using html.actionlink in webgrid adds jquery behavior button webgrid, , works fine. opens view in jquery dialog. dialog defines 2 buttons: update button , cancel button. clicking cancel button nothing. clicking update button takes browser controller url edit action item id. have jquery.unobtrusive-ajax.js library defined , added unobtrusivejavascriptenabled key in web.config file, although not sure it's needed. has experienced behavior, appreicated!

i've experienced problem in 2 situations:

  1. the event handler not being binded form's submit event, or not suppressing default behavior (through event.preventdefault(); or return false;).
  2. there error in event handler, causing fall default behavior.

well how can try without source.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -