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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropDownList won't maintain the selected value in IE

Thread ID:

Created:

Updated:

Platform:

Replies:

126046 Sep 20,2016 01:59 PM UTC Sep 26,2016 08:49 AM UTC ASP.NET MVC 5
loading
Tags: DropDownList
Fernanda
Asked On September 20, 2016 01:59 PM UTC

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


Dhivyalakshmi Thirumurugan [Syncfusion]
Replied On 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. 


Fernanda
Replied On 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

Dhivyalakshmi Thirumurugan [Syncfusion]
Replied On 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. 


Fernanda
Replied On 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

Dhivyalakshmi Thirumurugan [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;