a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
25 lines
606 B
Plaintext
25 lines
606 B
Plaintext
<%@ language="C#" debug="true" %>
|
|
<html>
|
|
<script runat=server>
|
|
void Clicked (object o, EventArgs e)
|
|
{
|
|
Console.WriteLine (HttpContext.Current.Server.MapPath
|
|
("site.config"));
|
|
}
|
|
</script>
|
|
<head>
|
|
<title>Button</title>
|
|
</head>
|
|
<body>
|
|
<form runat="server">
|
|
<%= String.Format ("FilePath: {0} {1}", Context.Request.FilePath, GetType ().Name) %>
|
|
<%= String.Format ("CurrentExecutionFilePath: {0}", Context.Request.CurrentExecutionFilePath, GetType ().Name) %>
|
|
<br>
|
|
<asp:Button id="btn"
|
|
Text="Submit"
|
|
OnClick="Clicked"
|
|
runat="server"/>
|
|
</form>
|
|
</body>
|
|
</html>
|