This question is locked. New answers and comments are not allowed.
Whenever I use Telerik's DropDownList and select a different value from the original value, its input field is not being modified with the correct value and thus the plugin that I use to detect input field changes does not detect a change . Below is what is rendered by the dropdown. You will notice the span with t-input has a new value but the input still has the old value. I see that the dropdownlist uses an input field behind the scenes but how come the input field is not being changed and I only see the span with class t-input gets modified. What is weird is that when I force the form to be submitted, the correct value is being passed in. Via javascript, the input field's value is not being modified and thus no changes in the form are detected.
Please enlighten me and help me what I need to check in order to detect that a change has occured. Is it not the input field that gets modified with a new value right away? (reproducibale in your samples code as well via Firebug - http://demos.telerik.com/aspnet-mvc/razor/combobox?theme=hay)
Please enlighten me and help me what I need to check in order to detect that a change has occured. Is it not the input field that gets modified with a new value right away? (reproducibale in your samples code as well via Firebug - http://demos.telerik.com/aspnet-mvc/razor/combobox?theme=hay)
<div class="editor-field"> <div class="t-widget t-dropdown t-header" tabindex="0"> <div class="valid t-dropdown-wrap t-state-default"> <span class="t-input">CALIFORNIA</span> <span class="t-select"> </div> <input id="AddressState" class="valid" type="text" value="AR" style="display:none" name="AddressState"></div>