telerik - Kendo UI Auto Complete displaying undefined -


trying work telerik kendo ui mvc autocomplete control. i'm using server side filtering works. results coming in controller method, i'm seeing 'undefined' in list of choice on view. mvc details below.

view

 @model list<usfs.lending.loanapprovalconditionsetup>   @(html.kendo().autocomplete()   .name("conditions")   .datatextfield("conditionname")   .bindto(model)   .minlength(3)   .filter(filtertype.contains)   .placeholder("conditions search...")   .datasource(source =>     {         source.read(read =>         {             read.action("searchloanconditions", "loancondition")             .data("onconditionssearch");         })         .serverfiltering(true);     })    )   <script>     function onconditionssearch() {         return {             searchtext: $("#conditions").val()         };     } </script> 

controller

 public actionresult searchloanconditions(string searchtext)     {         if (string.isnullorempty(searchtext))         {             searchtext = string.empty;         }         ienumerable<loanapprovalconditionsetup> loanconditions = searchconditions(searchtext);          return partialview("_searchconditions", loanconditions.tolist());     } 

model model standard class properties in it.

any great!

thanks

jim


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -