blob: ab3d81389dfc2ba0c223846de2f8f7f4f0eeb0ef (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
<%@ Register TagPrefix="cc1" Namespace="GHTWebControls" Assembly="MainsoftWebApp" %>
<%@ Page Language="c#" AutoEventWireup="false" Codebehind="TextBox_MaxLength.aspx.cs" Inherits="GHTTests.System_Web_dll.System_Web_UI_WebControls.TextBox_MaxLength" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>TextBox_MaxLength</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script LANGUAGE="JavaScript">
function ScriptTest()
{
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
}
</script>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<P>
<cc1:GHTSubTest id="GHTSubTest1" runat="server" Width="168px" Height="32px">
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
</cc1:GHTSubTest></P>
<P>
<cc1:GHTSubTest id="GHTSubTest2" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox2" runat="server" MaxLength="1"></asp:TextBox>
</cc1:GHTSubTest></P>
<P>
<cc1:GHTSubTest id="GHTSubTest3" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox3" runat="server" MaxLength="100"></asp:TextBox>
</cc1:GHTSubTest> </P>
<br>
<P>
<cc1:GHTSubTest id="GHTSubTest6" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox6" runat="server" TextMode="Password"></asp:TextBox>
</cc1:GHTSubTest></P>
<P>
<cc1:GHTSubTest id="GHTSubTest5" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox5" runat="server" MaxLength="1" TextMode="Password"></asp:TextBox>
</cc1:GHTSubTest></P>
<P>
<cc1:GHTSubTest id="GHTSubTest4" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox4" runat="server" MaxLength="100" TextMode="Password"></asp:TextBox>
</cc1:GHTSubTest> </P>
<BR>
<P>
<cc1:GHTSubTest id="GHTSubTest9" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox9" runat="server" TextMode="MultiLine"></asp:TextBox>
</cc1:GHTSubTest></P>
<P>
<cc1:GHTSubTest id="GHTSubTest8" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox8" runat="server" MaxLength="1" TextMode="MultiLine"></asp:TextBox>
</cc1:GHTSubTest></P>
<P>
<cc1:GHTSubTest id="GHTSubTest7" runat="server" Height="32px" Width="168px">
<asp:TextBox id="TextBox7" runat="server" MaxLength="100" TextMode="MultiLine"></asp:TextBox>
</cc1:GHTSubTest> </P>
</form>
<BR>
<BR>
</body>
</HTML>
|