* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.Web / Test / mainsoft / MainsoftWebApp / System_Web_UI_WebControls / ListBox / ListBox_SelectionMode.aspx
1 <%@ Register TagPrefix="cc1" Namespace="GHTWebControls" Assembly="MainsoftWebApp" %>
2 <%@ Page Language="c#" AutoEventWireup="false" Codebehind="ListBox_SelectionMode.aspx.cs" Inherits="GHTTests.System_Web_dll.System_Web_UI_WebControls.ListBox_SelectionMode" %>
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4 <HTML>
5         <HEAD>
6                 <title>ListBox_SelectionMode</title>
7                 <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
8                 <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
9                 <meta content="JavaScript" name="vs_defaultClientScript">
10                 <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
11                 <script LANGUAGE="JavaScript">
12         function ScriptTest()
13         {
14             var theform;
15                     if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
16                             theform = document.forms["Form1"];
17                     }
18                     else {
19                             theform = document.Form1;
20                     }
21         }
22                 </script>
23         </HEAD>
24         <body>
25                 <form id="Form1" method="post" runat="server">
26                         <cc1:GHTSubTest id="GHTSubTest1" runat="server" Height="88px" Width="96px" DESIGNTIMEDRAGDROP="8">
27                                 <asp:ListBox id="ListBox1" runat="server"></asp:ListBox>
28                         </cc1:GHTSubTest>
29                         <cc1:GHTSubTest id="GHTSubTest2" runat="server" Height="88px" Width="96px">
30                                 <asp:ListBox id="ListBox2" runat="server" SelectionMode="Single"></asp:ListBox>
31                         </cc1:GHTSubTest>
32                         <cc1:GHTSubTest id="GHTSubTest3" runat="server" Height="88px" Width="96px">
33                                 <asp:ListBox id="ListBox3" runat="server" SelectionMode="Multiple">
34                                         <asp:ListItem></asp:ListItem>
35                                         <asp:ListItem Selected="True"></asp:ListItem>
36                                         <asp:ListItem Selected="True"></asp:ListItem>
37                                         <asp:ListItem Selected="True"></asp:ListItem>
38                                 </asp:ListBox>
39                         </cc1:GHTSubTest>
40                 </form>
41         </body>
42 </HTML>