Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8845269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:41:51+00:00 2026-06-14T11:41:51+00:00

I have an ASP.Net MVC app, and when a user clicks a certain link,

  • 0

I have an ASP.Net MVC app, and when a user clicks a certain link, I do the following:

var orderID = returnStatus["Data"];
var url = '@Url.Content("~/OrderEntry/OrderDetail")?orderID=' + orderID;
window.location.href = url;

This works great, however, when I click the back button, my html dropdown changes from:

Zone: <select id="Zones" name="Zones" style="width: 150px"><option value="1">Zone 1</option>
<option value="2">Zone 2</option>
<option value="3">Zone 3</option>
<option value="4">Zone 4</option>
</select>

to this:

Zone: <select id="Zones" name="Zones" style="width: 150px"><option value="QUOTE">Quote</option>
<option value="SUBM">Submitted</option>
<option value="INPRD">In Production</option>
<option value="CANC">Cancelled</option>
<option value="COM">Complete</option>
<option value="CH">Credit Hold</option>
</select>

These statuses are defined in a dropdown later in the code, and I’m not sure why they have moved up to this dropdown?

Both of these dropdowns are populated from the model. It’s almost as if the model is trying to re-generate this html, but the values are somehow incorrect?

Here is the Razor syntax:

Zone: @Html.DropDownList("Zones", Model.Zones, new { style = "width: 150px" } )

This doesn’t appear to happen in Firefox or Chrome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:41:53+00:00Added an answer on June 14, 2026 at 11:41 am

    Apparently it had to do with the fact that my ID was called “Zones”. I changed this ID to AcctManagerZones and everything is working fine now.

    Edited: It appears this wasn’t exactly the answer either. It apparently has to do with the way IE caches the page. I still got the same thing, until I turned page caching off, then it worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET MVC app with the following deployment requirements: The URL structure
I am building a ASP.NET Mvc app. I have a Data model say User
My ASP.NET MVC intranet app has a data repository that uses current user's Windows
I have an asp.net MVC app. One of the forms posts json data to
I have an asp.net mvc app which has membership implemented. So a user has
I have an ASP.NET MVC app and I want to add to each page
I have an ASP.Net-MVC app using LinqToSql. I have a subcontracts table, a service_lines
I have an asp.net mvc app, using JQuery UI dialog. I'm trying to submit
So, I have an asp.net mvc app that is being worked on by multiple
I have an ASP.NET MVC 3 app hosted on IIS. This app is using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.