Jun 15, 2009, 5:53 AM
FormPanel CodeBehind item adding
<Body><ext:FormLayout ID="FormLayout1" runat="server"> <ext:Anchor Horizontal="95%">
<ext:TextField ID="PriceField" DataIndex="price" runat="server" FieldLabel="Price" /></ext:Anchor>
<ext:Anchor Horizontal="95%"><ext:TextField ID="TextField1" DataIndex="price" runat="server" FieldLabel="Price" />
</ext:Anchor></ext:FormLayout></Body>
Code Behind
FormPanel1.Items.Add(New Coolite.Ext.Web.TextArea())
JavaScriptExt.form.FormPanel( ...
items:[{id:"PriceField",xtype:"textfield",fieldLabel:"Price",anchor:"95%",dataIndex:"price"},{i ...
buttonAlign:"right"});{id:"ctl03",xtype:"textarea"}Coolite.Ext.setValues([[PriceField,""],
There is a problem at this part : buttonAlign:"right"});{id:"ctl03",xtype:"textarea"}Coolite.Ext.setVa lues([[PriceField,""],
Codebehind adds the textarea to middle of ExtJS config.