< %@ Page Language = "C#" AutoEventwireUp = "True" CodeFile = "showdialog_dialog.aspx.cs" inherits = "wshelpdoc_dialog_dialog" %>
Kopieren Sie den Code -Code wie folgt:
<!
<html xmlns = "http://www.w3.org/1999/xhtml">
<head runat = "server">
<title> showmodaldialog Poping -Dialogfeld (Sub -Window) </title>
<script Language = "javaScript" Typ = "text/javaScript">
Funktion loadl ()
{{{{
document.getElementById ("Kontext").
}
Funktion restu_value ()
{{{{
Fenster.ReturnValue = "komplett";
Fenster.CLOSE ();
False zurückgeben;
}
</script>
</head>
<body nur = "loadl ()" >>
<gefunden id = "Form1" Runat = "Server">
<div>
<ASP: Button ID = "Button1" Runat = "Server" OnclientClick = "JavaScript: retu_value () zurückgeben"
Text = "schließen" /> < /div>
<div>
<A id = "biaoqian" onclight = "retu_value ()"> close </a>
</div>
<div>
<ASP: textbox id = "context" runat = "server"> </ASP: textbox>
</div>
</form>
</body>
</html>