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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:37:08+00:00 2026-05-25T00:37:08+00:00

Common question is: how to call Controller.Action and send it some parameters on standard

  • 0

Common question is: how to call Controller.Action and send it some parameters on standard html event (like onblur or onclick).

I`m using Asp.Net MVC3.

Original situation:
I have DropDownList on my page like this:

@Html.DropDownList("DropDownList", ViewBag.selectList as IEnumerable<SelectListItem>)

I dont want to use @Html.DropDownListFor because it means I should save some additional information in my model which is unlikely.

What I need: to call DropDownListSelectionChanged(int moduleId) action of the same controller SelectedIndexChanged event and to send Selected Item Value to this action.

Please, help.

  • 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-25T00:37:09+00:00Added an answer on May 25, 2026 at 12:37 am

    It’s pretty simple. You can either use the built in Ajax.BeginForm in MVC land, or you can use jQuery to send the request. I’ll show you the jQuery example (simply because jQuery makes ajax stupidly easy and it’s easy to write):

     $('#myDropDownIdAttribute').change(function()
     {
         $.ajax({
            url: 'Some/ActionName', // SomeController, ActionName
            data: { selectedValue: $(this).val() },
            success: function()
            {
               // Success Callback
            }
         });
     });
    

    Then your action method would look like this:

    public ActionResult ActionName(string selectedValue)
    {
        // Do Stuff
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Common question but I could use an english explanation. Is it like Java where
As the question says, what are some common/major issues that C++ programmers face when
I feel like this is a stupid question because it seems like common sense
I'm using iBATIS to call a Stored Procedure on MSSQL Server, the input parameters
I have some code which is common to a number of my controller actions
A common question that comes up from time to time in the world of
This is a common question, but the explanations found so far and observed behaviour
hallo, I have a common question, I hope it is ok to ask it
Here the context for my question: A common technique is to declare the parameter
im reading Practical common Lisp as a result of another question . I just

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.