Modal jQuery dialog versteckt hinter overlay in ASP.net

Ich entwickle einige Jquery dialog, und gefunden war der dialog, werden ausgeblendet, wenn ich Modal: true. Bei der Einstellung Modal: false, fand ich alles wie erwartet funktioniert. Hoffe mir kann jemand helfen.

<asp:Button ID="btnOpendialog" runat="server" Text="Button" ClientIDMode="Static" />

<div id="dialog">

<h1>Test</h1>
    <asp:Button ID="btnClickfromDialog" runat="server" Text="Button" />

</div>

$(function () {
    $("#btnOpendialog").click(function (e) {
        $("#dialog").dialog("open");
        return false;
    });

    $("#dialog").dialog({
        height: 200,
        modal: true,
        autoOpen: false,
        open: function () {
            $(this).parent().appendTo($("form:first"));
        }                              
    });
});
InformationsquelleAutor lawphotog | 2013-04-23
Schreibe einen Kommentar