There are many examples how to set icon from static content. For example:
Html.Kendo().AutoComplete()
.Name("employess")
.Placeholder("Find Product..")
.DataTextField("Name")
.HighlightFirst(true)
.Template("<span><img src='/Content/Images/default-photo.jpg' " +
"width='20' height='20' /> ${data.Name}</span>")
...
Is it possible to set image src from database by ${data.ImageId}?
I tried to make controller method and paste Url.Action
instead of default-photo
but compiler doesn't understand what do I want to do.
Thanks for advance!