I have a very peculiar problem. One of my client requests goes to the HomeController and successfully gets the data. The second never gets reached
$("#ResidualRec")
What could be wrong?
This is the webpage value.
The one that works is as follows:
$("#ResidualRec")
What could be wrong?
$("#Accounts").kendoComboBox({ dataTextField: "AcctName", dataValueField: "AcctCd", dataSource: { transport: { read: "/Home/GetAccounts" } }, template: $("#scriptTemplate").html(), filter: "startswith" }); var combobox = $("#Accounts").data("kendoComboBox"); // set width of the drop-down list combobox.list.width(400); var sharableDataSource = new kendo.data.DataSource({ transport: { read: { url: "@Url.Action("GetSecurities","Home")", dataType: "json" }, type:"POST" } }); $("#ResidualRec").kendoComboBox({ datasource:sharableDataSource, filter: "startswith" });<select id="ResidualSec" data-value-field="Cusip" data-text-field="SecName" data-role="combobox" placeholder="Enter Residual" data-bind="value: Residual"></select> <select id="UnderlyingSec" data-role="combobox" data-value-field="SecName" data-text-field="Cusip" placeholder="Enter Underlying" data-bind="value: Underlying"></select> <select id="FloaterSec" data-role="combobox" data-text-field="SecName" data-value-field="CUSIP" placeholder="Enter Floater" data-bind="value: Floater"></select>The one that works is as follows:
<div id="allocation"> <div class="selector"> <select id="Accounts" style="width: 225px" data-role="combobox" data-value-field="AcctCd" data-text-field="AcctName" data-bind="value: AcctCd" placeholder="Select Funds..."></select>