Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

29 lines
614 B
Plaintext

<%@ 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>
-->