I am creating a Jquery UI dialogue like this:
function CloseDisputeDialog() {
$("#dispute_form").html("@Html.Raw(closingMsg)");
$("#dispute_form").dialog("addbutton", "Close", function() {
$("#dispute_res").val("close");
$("#dispute_form").dialog("close");
});
}
in asp.net MVC 3 Razor view. I want to set the height of this dialogue to auto. How can I do this ?
Please suggest. Thanks
E.g. using the option height:
Also you can set this option on init.
=== UPDATE ===
With auto height, resettet min-height and an additional close button:
Also see this jsfiddle.