Hello,
Hello, I have to pass a string parameter (in particular the field name) to the function of the additional parameters. One such thing, see autocompleteAdditionalData:
@(Html.Kendo().AutoComplete()
.Name("L1CFOR")
.HtmlAttributes(new { @class = "form-control mb-2 mr-sm-2 mb-sm-0", placeholder = "L1CFOR", style = "max-width: 120px;" })
.MinLength(3)
.DataTextField("WKCELE")
.Filter("contains")
.Template("<span>${data.WKXTAB} ${data.WKCELE} ${data.WKDESE}</span>")
.AutoWidth(true)
.DataSource(source =>
{
source.Read(read =>
{
read.Action("AutoComplete", "Zoom")
.Data("autocompleteAdditionalData('L1CFOR')");
})
.ServerFiltering(true);
})
.Events(e =>
{
e.Select("autocompleteSelect");
})
)
How can I do. thank you.
Best regards.
M