Jan 22, 2010, 2:40 AM
html decode textarea
hi,
i have a FormLayout connected with a store and a textarea, it's possible decode text in textarea ?
this is my code:
i have a FormLayout connected with a store and a textarea, it's possible decode text in textarea ?
this is my code:
<asp:ObjectDataSource ID="odsEdit" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="dsTradCategorieTableAdapters.Trad_CategorieTableAdapter">
</asp:ObjectDataSource>
<ext:Store ID="storeEdit" runat="server" DataSourceID="odsEdit">
<Reader>
<ext:JsonReader ReaderID="IDTradCat">
<Fields>
<ext:RecordField Name="IDTradCat" />
<ext:RecordField Name="IDCategoria" />
<ext:RecordField Name="IDLingua" />
<ext:RecordField Name="datains" Type="Date" />
<ext:RecordField Name="descrizione" />
<ext:RecordField Name="nomecat" Type="String" />
<ext:RecordField Name="pagina" />
<ext:RecordField Name="attivo" />
</Fields>
</ext:JsonReader>
</Reader>
<Listeners>
<DataChanged Handler="var record = this.getAt(0) || {};#{frmEdit}.getForm().loadRecord(record);" />
<BeforeLoad Handler="#{winEdit}.body.mask('Loading...', 'x-mask-loading');" />
<Load Handler="#{winEdit}.body.unmask();" />
<LoadException Handler="#{winEdit}.body.unmask();" />
</Listeners>
</ext:Store>
<ext:FormPanel ID="frmEdit" runat="server" Border="false" MonitorValid="true" BodyStyle="background-color:transparent;">
<Body>
<ext:FormLayout ID="FormLayout1" runat="server">
<ext:Anchor>
<ext:TextArea ID="descrizione" FieldLabel="descrizione" ReadOnly="true" runat="server" DataIndex="descrizione" MsgTarget="Side">
</ext:TextArea>
</ext:Anchor>
</ext:FitLayout>