Merge pull request #1345 from mattleibow/websocket-continuation-frame-fix
[mono.git] / mcs / class / System.Web / Test / mainsoft / NunitWebResources / SqlDataSource_OnInit_Bug572781.aspx
1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyPage.aspx.cs" Inherits="MyPage" %>
2 <script runat="server">
3         public virtual void button1Clicked (object sender, EventArgs args)
4         {
5                 button1.Text = "You clicked me";
6         }
7                 
8         protected void button1_Init (object sender, System.EventArgs e)
9         {
10                 results.Text += " Init: button1.";
11         }
12                 
13         protected void sqlDs1_Init (object sender, System.EventArgs e)
14         {
15                 results.Text += " Init: sqlDataSource1";
16         }
17 </script>
18 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19 <html xmlns="http://www.w3.org/1999/xhtml">
20 <head runat="server">
21         <title>Bug #572781</title>
22 </head>
23 <body>
24         <form id="form1" runat="server">
25 <%= MonoTests.stand_alone.WebHarness.HtmlDiff.BEGIN_TAG %><asp:Literal runat="server" id="results"/><asp:Button id="button1" runat="server" Text="Click me!" OnClick="button1Clicked" OnInit="button1_Init" /><%= MonoTests.stand_alone.WebHarness.HtmlDiff.END_TAG %>
26                 <asp:SqlDataSource id="sqlDataSource1" runat="server" OnInit="sqlDs1_Init" />
27         </form>
28 </body>
29 </html>