BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<ejs-combobox id="city" placeholder="Select a Zipcode" popupHeight="200px" dataSource="@ViewBag.data" change="onChange">
<e-combobox-fields groupBy="Category" value="Id" text="Zipcode"></e-combobox-fields>
</ejs-combobox>
public class City
{
public int Zipcode { get; set; }
public string Category { get; set; }
public string Id { get; set; }
public List<City> CityList()
{
List<City> city = new List<City>();
city.Add(new City { Zipcode = 7300, Category = "Mecsekpoloske", Id = "item1" });
city.Add(new City { Zipcode = 7300, Category = "Komlo", Id = "item2" });
return city;
}
} |