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 6328031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:23:11+00:00 2026-05-24T17:23:11+00:00

i have a project on MVC3 and Razor. I’m doing on my project everything

  • 0

i have a project on MVC3 and Razor.
I’m doing on my project everything without javascript first and then in the future when everything works without JS, then i will add the JS functionallity.
The thing is that i have a razor page, that i fill from the Model a select and what i need is that when the select option changes, then another select must be filled.
My idea is that in the Model i have a collection of the object that needs the second select to get filledm, and when the onchange event of the first select is triggered, i call a method on the controller that fills the list on the model and in the view side, i fill the second select with a foreach over the list.
My question is.. how do i fire the onchange event on a ?
Notice that i’m not using Html.DropDownList or something like that.. but if it´s necessary, i will.

Thanks and i hope you can hellp me!

  • 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-05-24T17:23:11+00:00Added an answer on May 24, 2026 at 5:23 pm

    The select onchange event requires Javascript. To handle when Javascript is disabled you usually add something like an “Update” submit button within <noscript> tags to update the selection using a server post. The <noscript> tags will only show when Javacript is disabled.

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

Sidebar

Related Questions

I have upgraded to MVC3 and Razor, everything works fine. However, in my return
I have an MVC3 project I created using the Code First paradigm and it
I am currently doing an mvc3 razor project and I need some charts. I
I am working on a project which adopted ASP.NET MVC3(Razor) tech. Now, I have
I have a Razor MVC3 project which has two user records in a form,
I am currently working on a MVC3 project with Razor. I have switchen on
I have a simple PartialView setup in my MVC3 Project using the Razor View
I have created a Helper method in MVC3 Razor project as(Helpers.cshtml) @helper Link(string fileName,
I have an MVC3 Project running with EF Code First. Here is my code
In my asp.net mvc3 (razor) project I have a grid very similar to the

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.