title: asp.net mvc dropdownlist onchange routing
body: <p>I have a problem with transfer of my project to iis server. At the asp.net development server all routing went smoothly. Now i want to migrate to iis server and my onchange attribute on select tag doesnt work. When i try to get from <a href="https://www.web.com/Manager/Authorized/Accounts/0" rel="nofollow noreferrer">https://www.web.com/Manager/Authorized/Accounts/0</a> using the</p>
  
  <pre><code>onchange="location.href='&lt;%= Manager.MyConfiguration.Prefix %&gt;/Authorized/Authorized/Accounts/'+this.value"
  </code></pre>
  
  <p>at the obvious page, i end up at <a href="https://www.web.com/Manager/Authorized/Accounts/0/Manager/Authorized/Authorized/Accounts/13424" rel="nofollow noreferrer">https://www.web.com/Manager/Authorized/Accounts/0/Manager/Authorized/Authorized/Accounts/13424</a></p>
  
  <p>The same problem was with every href attribute and the Html.Actionlink pretty much solved most of it, but i still dont know, how to route onchange or onclick.</p>
  
  <p>&lt;%= Manager.MyConfiguration.Prefix %> was my idea how to add the /Manager/ part of the route there (in order not to use it on the local devserver). Without this part, i get just <a href="https://www.web.com/Authorized/Accounts/13424" rel="nofollow noreferrer">https://www.web.com/Authorized/Accounts/13424</a> which is also wrong.</p>