I need your help I have this app which was developed using MVC 1. now I'm supposed to upgrade this app to MVC 5. I have created anew MVC project and added the old project, fix old references and configuration. My problem is that I have a DropDownList server control which is not working. It suppose to reload the page according to the selected language, but it seems it's not getting the correct value and the default page is loaded. this is the code for my DropDownList. it's located in SiteBM.Master file
<asp:DropDownList runat="server" id="ddlLanguage" AutoPostBack="true"></asp:DropDownList>
this is the generated HTML for the working MVC1 project
<select name="ctl00$ddlLanguage" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ddlLanguage\',\'\')', 0)" id="ctl00_ddlLanguage">
and this is the generated HTML for the not working MVC5 project
<select name="ctl00$ddlLanguage" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ddlLanguage\',\'\')', 0)" id="ddlLanguage">
Please help!