PDA

View Full Version : does not recognize the tag <model>



marco.amusquivar
Mar 21, 2012, 3:12 PM
this is my code


<ext:FormPanel ID="FormPanelReg" runat="server" ButtonAlign="Right" Height="185" Padding="5"
Title="SOLICITUD DE REGISTRO" Width="500">
<Items>
<ext:TextField ID="x_usr_nombre" Name="x_usr_nombre"
runat="server" Width="250" FieldLabel="Nombres" FieldClass="aspnetmaker"
LabelStyle="aspnetmaker"
AutoFocus="True" CausesValidation="True" >
</ext:TextField>
<ext:TextField ID="x_usr_apellido" Name="x_usr_apellido" Width="250"
runat="server" FieldLabel="Apellidos" CausesValidation="True">
</ext:TextField>
<ext:ComboBox ID="x_usr_pais" Name="x_usr_pais" runat="server" FieldLabel="País" Editable="false" QueryMode="Local">
<Store>
<ext:Store ID="Store1" runat="server">
<%--<Model>
<ext:Model runat="server" IDProperty="Value">
<Fields>
<ext:ModelField Name="Text" />
<ext:ModelField Name="Value" />
</Fields>
</ext:Model>
</Model>--%>
</ext:Store>
</Store>



</ext:ComboBox>
</Items>
<Buttons >
<ext:Button ID="btnEnvio" Type="Submit" runat="server" Icon="Disk" Text="Enviar" Scale="Medium">
</ext:Button>
</Buttons>
</ext:FormPanel>

Please tell me I'm missing in the code, would have to call a library?

Daniil
Mar 21, 2012, 3:41 PM
Hi,

I guess you use Ext.NET v1, but took the example for Ext.NET v2.

marco.amusquivar
Mar 21, 2012, 4:02 PM
thanks, where the version 2 release?

Daniil
Mar 21, 2012, 4:06 PM
The Ext.NET v2 Beta release is available via NuGet:

Install-Package Ext.NET -Pre