We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DropDownList won't maintain the selected value in IE

Hello,

We have a DropDownList component declared as such:

<div class="form-group">
    @Html.LabelFor(model => model.Status, htmlAttributes: new { @class = "control-label" })
    @Html.EJ().DropDownListFor(model => model.Status, (Syncfusion.JavaScript.Models.DropDownListProperties)Model.PropertiesDdlStatus).Width("200").SelectedIndex(0)
</div>

In all browsers, except for IE, the component maintains the values selected by the user after a postback. However, in Internet Explorer the behavior is different and the selection always goes back to the initial value.

Is there anything we could be doing differently to workaround this?

Thank you


5 Replies

DT Dhivyalakshmi Thirumurugan Syncfusion Team September 21, 2016 04:54 PM UTC

Hi Fernanda, 

Thanks for contacting Syncfusion support. 

We suspect that the reported conflict occurs because of the value mismatches in the post back. So to overcome this issue, we are suggesting to pass the model values to the post back function as per the two way binding concept. We have prepared the sample for your reference. Please find the sample link below. 


Please let us know if you have any queries. 

Regards, 
Dhivyalakshmi. 



FE Fernanda September 22, 2016 07:41 PM UTC

Hello Dhivyalakshmi,

We tested the sample you provided, but had the same problem using Internet Explorer. Are you perhaps using another version of IE? Ours is IE11.

Regards,
Fernanda


DT Dhivyalakshmi Thirumurugan Syncfusion Team September 23, 2016 12:03 PM UTC

Hi Fernanda, 

Thanks for the update. 

In DropDownListFor control, the reported issue While post back the selected items was not maintained in IE11is a known issue and the fix for this issue will be available in our 2016 Volume 3 SP1 release which is expected to be rolled out at the end of October. Thanks for the patience until then. 
  
Please let us if you need any further assistance. 
 
Regards, 
Dhivyalakshmi. 



FE Fernanda September 23, 2016 12:16 PM UTC

Hi Dhivyalakshmi,

Thank you for your reply. We will wait for the issue to be fixed then.

Regards,
Fernanda


DT Dhivyalakshmi Thirumurugan Syncfusion Team September 26, 2016 08:49 AM UTC

Hi Fernanda, 

Thanks for the update. 

We will let you know once the fix has been included in our 2016 Volume 3 SP1 release which has been rolled out at the end of October. Please let us know if you need any further assistance. 

Regards, 
Dhivyalakshmi. 


Loader.
Up arrow icon