Oct 08, 2010, 9:12 AM
[CLOSED] Problem with formpanel.setvalues
Error 3 An anonymous type cannot have multiple properties with the same name C:\Work\AcciseOffLine\AcciseOffLine\Flotte\Page.as px.cs 34 17 AcciseOffLine
ObjFleet flotta = BusinessFleet.GetById(int.Parse(ID));
this.FormPanel1.SetValues(new
{
flotta.Name,
flotta.Description,
flotta.Owner.Description
});
<ext:TextFieldID="TextFieldNome"runat="server"FieldLabel="Nome"DataIndex="Name"Disabled="true"/>
<ext:TextFieldID="TextFieldDescription"runat="server"FieldLabel="Descrizione"DataIndex="Description"Height="50"/>
<ext:TextFieldID="TextFieldOwner"runat="server"FieldLabel="Owner"DataIndex="Owner.Description"/> //// is correct???
Last edited by Daniil; Oct 11, 2010 at 5:39 PM.
Reason: [CLOSED]