Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to give value to model from radio button html asp with enums if checked

public class TestModel
{
    [Required(ErrorMessage = "select one item")]
    public Airlines Airline { get; set; }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #give #model #radio #button #html #asp #enums #checked
ADD COMMENT
Topic
Name
6+3 =