ASP.NET MVC3 / jQuery 1.9.1 / jQuery UI 1.10.2
I\'ve got a page on which I open a modal dialog after clicking on an Ajax.ActionLink
. Inside this dialog
I had a similar problem, but what happened to me was that the second time the dialog was loaded, the datapicker didn´t take the value.
The problem was that I was loading a second time the dialog and these cause problems. The solution was to remove the dialog after close it, something like:
$("#popupDialog").dialog("close");
$("#popupDialog").remove();
I hope this helps anyone!