user interface - Kendo Combobox - reset value when the selected value is not in the datasource -


we using telerik mvc extensions asp.net mvc , have started migrating kendo ui now.

i facing issue kendo combo , details follows:

suppose binding kendo combo list of ten items (whose values 1 10 along blank item (say "select" , it's value "")) , in markup, if .value("0") - don't want kendo combo show me "0" instead reset blank item or may first item in list.

how can achieve ?

regards

your int has nullable type.

ex:

public class somedto {     public int? id {get; set;}  //must type int? , not int     public string name {get; set;} }      // on kendo binding, .datavaluefield('id') 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -