Jan 20, 2010, 8:36 AM
[CLOSED] Resizable & TextArea Grow="true"
Hi
Can you please advise, how to use a TextArea with Grow="true" and Resizable to let the user resize it if necessary?
As you will be able to see in the example below if the textarea grows, the resizable control does not.
Leo
Can you please advise, how to use a TextArea with Grow="true" and Resizable to let the user resize it if necessary?
As you will be able to see in the example below if the textarea grows, the resizable control does not.
<%@ Page Language="C#" %>
<%@ 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 runat="server">
<title>Resizable & TextAreaGrow</title>
</head>
<body>
<ext:ScriptManager runat="server" />
<h1>
Resizable & TextAreaGrow in Markup</h1>
<ext:TextArea ID="TextAreaDescription" runat="server" FieldLabel="Description" GrowMax="200"
Grow="true">
<Listeners>
<AutoSize Handler="debugger;" />
</Listeners>
</ext:TextArea>
<ext:Resizable ID="CustomResizer" runat="server" Element="={#{TextAreaDescription}.el}"
Wrap="true" Pinned="false" Handles="SouthEast" Draggable="false" Dynamic="false">
</ext:Resizable>
</body>
</html>
ThanksLeo