Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test.aspx « Test « System.Web « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 363fab9697f2570bc56bbbdd23f7e7b8327968be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<%@ page language="c#"%>
<html>
<head>
<title>Test</title>
<%Response.Write("Test");%>

<script runat="server" language="c#">
  void SubmitBtn_Click(Object sender, EventArgs e) {
    Response.Write("Hi");
  }
</script>

<form action="test.aspx" method="post" runat="server">
<asp:button text="Click Me" OnClick="SubmitBtn_Click" runat="server"/>
</form>

<!-- output

<html>
<head>
<title>Test</title>
Test<form name="ctrl0" method="post" action="test.aspx" id="ctrl0">
<input type="hidden" name="__VIEWSTATE" value="dDwtMTc0MDc5ODg1Mzs7Pg==" />

<input type="submit" name="ctrl1" value="Click Me" />
</form>


-->