Sep 22, 2009, 9:12 AM
TextArea wordwarp bug
I believe I have found an unwanted feature with the TextArea control.
I was finding that my TextArea controls were not word wrapping, which I can see from other posts is not a new topic, however, I am trying to validate my data entry by using the MaxLength property if the control. I have found that if the MaxLength property is set, then the wordwrap does not work.
Is there a way around this as I want both features?
The code below is a very simple example. I am using v0.81
I was finding that my TextArea controls were not word wrapping, which I can see from other posts is not a new topic, however, I am trying to validate my data entry by using the MaxLength property if the control. I have found that if the MaxLength property is set, then the wordwrap does not work.
Is there a way around this as I want both features?
The code below is a very simple example. I am using v0.81
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="TestJDG.aspx.vb" Inherits="TestJDG" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:Panel runat="server" Border="false">
<Body>
<ext:FormLayout ID="FormLayout1" runat="server">
<ext:Anchor>
<ext:TextArea ID="TextArea1" runat="server" HideLabel="true" Height="40" MaxLength="120" />
</ext:Anchor>
</ext:FormLayout>
</Body>
</ext:Panel>
</form>
</body>
</html>
Thanks,