* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.Web / Test / standalone / cookieless / index.aspx
1 <%@ language="C#" %>
2 <html>
3 <script runat=server>
4         void Clicked (object o, EventArgs e)
5         {
6                 Console.WriteLine (HttpContext.Current.Server.MapPath
7 ("site.config"));
8                 //Server.Transfer ("/other/index2.aspx");
9                 //Server.Transfer ("/index2.aspx");
10                 Server.Transfer ("/index 2.aspx");
11         }
12 </script>
13 <head>
14 <title>Button</title>
15 </head>
16 <body>
17 <form runat="server">
18 <%= String.Format ("FilePath: {0} {1}", Context.Request.FilePath, GetType ().Name) %>
19 <%= String.Format ("CurrentExecutionFilePath: {0}", Context.Request.CurrentExecutionFilePath, GetType ().Name) %>
20 <br>
21 <asp:Button id="btn"
22      Text="Submit"
23      OnClick="Clicked"
24      runat="server"/>
25 </form>
26 </body>
27 </html>