aspx open modal form sample (javascript)


<head runat="server">
    <title>Parent Form Title</title>

<script type="text/javascript"  >
function Ac_Modal() {
window.showModalDialog('ChildForm.aspx');
    }
</script>

</head>

//

<asp:Button ID="Button1" runat="server"
Text="Button" OnClientClick=" Ac_Modal();" />

Yorumlar