This question is locked. New answers and comments are not allowed.
Hello,
I'm using the ASP.NET MVC Razor Grid editing (in-form), please I would like to know how can I use a combobox for edit a complex type (List<UF>) dentro do formulário.
The main class is:
public class PessoaEndereco
{
public int Id {get;set;}
public string Logradouro {get;set;}
public DateTime Data {get;set;}
public List<UF> UFs { get; set; }
}
public class UF
{
public int Id { get; set; }
public string Sigla { get; set; }
}
The grid in form is recognizing the other types automatically (string, int and datetime) but the complex type that I am trying to use a combobox, is not working as expected.
Hope you can help me.
Thanks
I'm using the ASP.NET MVC Razor Grid editing (in-form), please I would like to know how can I use a combobox for edit a complex type (List<UF>) dentro do formulário.
The main class is:
public class PessoaEndereco
{
public int Id {get;set;}
public string Logradouro {get;set;}
public DateTime Data {get;set;}
public List<UF> UFs { get; set; }
}
public class UF
{
public int Id { get; set; }
public string Sigla { get; set; }
}
The grid in form is recognizing the other types automatically (string, int and datetime) but the complex type that I am trying to use a combobox, is not working as expected.
Hope you can help me.
Thanks