Dropdownlist doesn't work after publish

Hi,

I have a dropdownlist in my project before than I publish my solution the dropdownlist work fine but when I publish my solution the dropdownlist it leave to work.

View
 <div id="idQuoteDdl" style="display:normal">
     @Html.EJS().DropDownList("ddlQuote").Placeholder("QuoteNo.").Change("GetQuoteInfo").FilterBarPlaceholder("Search").AllowFiltering(true).DataSource(dataManger => dataManger.Url("/AirQuote/UrlDatasource").Adaptor("UrlAdaptor").CrossDomain(true)).Fields(new Syncfusion.EJ2.DropDowns.DropDownListFieldSettings
                                {
                                     Value = "CODE"
                                }).FloatLabelType(FloatLabelType.Auto).Render()
</div>

Controller
        public ActionResult UrlDatasource([FromBody]Data dm)
        {
            QuoteList quoteList = new QuoteList();
            var val = quoteList.GetQuotes();
            var Data = val.ToList();
            var count = val.Count();
          
            if (dm.take != 0)
                Data = Data.Take(dm.take).ToList();
            return Json(Data);
        }

Thanks,

3 Replies 1 reply marked as answer

PM Ponmani Murugaiyan Syncfusion Team June 3, 2020 01:41 AM UTC

Hi Daniel, 

Greetings from Syncfusion support. 

We have validated your reported query. We have ensured by publishing the project, the dropdownlist has been working as expected. Please find the sample and video demonstration below for reference. 



Kindly check with the above sample, if issue still exists in your end. Please provide the issue replicating sample. 

Regards, 
Ponmani M 


Marked as answer

DA Daniel June 4, 2020 12:11 AM UTC

Thanks for the help!


PM Ponmani Murugaiyan Syncfusion Team June 4, 2020 06:41 AM UTC

Hi Daniel, 
  
Thanks for your update. Please get back us, if you need further assistances. 
  
Regards, 
Ponmani M 


Loader.
Up arrow icon