This question is locked. New answers and comments are not allowed.
Hello,
I want to refresh the content of window. In the documentation it shows to send data using the AjaxRequest call but how can you send complex objects?
var model = { a: "EditPopupForm", b: $('.quoteId').html(), c: data.CustomerId, d: 0, e: "customer", f: null }; var window = $('#EditWindow).data('tWindow'); window.ajaxRequest('/Edit/Editor', { model: model });and this is my controller:
public ActionResult CustomerEditor(ComplextObject model) { . . . }when I recieve the object all the values are null. Is it possible to send complex object with the AjaxRequest as a parameter???