Hi support, i need to bind my ddl to an OdataV4 remote service.
This is my Tag in cshtml file:
"
<ejs-dropdownlist id="title" ejs-for="People.TitleId" locale="it" >
<e-data-manager crossDomain="true" url="http://localhost:5400/odata/Titles/?$count=true" adaptor="ODataV4Adaptor"
headers="new object[]{ new { Authorization = @token } }"></e-data-manager>
<e-dropdownlist-fields text="TitleAbbr" value="Id" id="Id"></e-dropdownlist-fields>
</ejs-dropdownlist>
"
and this one my action controller:
"
public IQueryable<Titles> Get(ODataQueryOptions<Titles> options)
{
_logger.LogDebug("Start");
result = options.ApplyTo(result, new ODataQuerySettings()) as IQueryable<Titles>;
return result;
}
"
Where i wrong ?
Thanks
Stefano