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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:23:29+00:00 2026-06-10T18:23:29+00:00

I have a form defined thus in a razor file. @using (Html.BeginForm()) { }

  • 0

I have a form defined thus in a razor file.

@using (Html.BeginForm())
{

}

Within this form I have fields such as

<input type="text" readonly="readonly" name="MaxBudget" value="Any" id="SearchMaxBudget">

and a couple of structures like

<div class="ui-widget-content" style="height: 100px; width: 200px; overflow: auto;" id="amenitiesLog"><div>Hair dryer and shaving adaptor</div><br></br><div>Airport shuttle service</div><br></br></div>

I’d like to take the data from these fields and structures and pass them to the controller when I hit this button

<input type="button" class="btn-leftsearch" />

What bits am I missing and how can this be acheived?

Thanks,

  • 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-10T18:23:31+00:00Added an answer on June 10, 2026 at 6:23 pm

    In simple terms you need to create a model of your data, pass that into the view from the controller and then set up an action in the controller to receive the data.

    There are plenty of good tutorials on this – one I found particularly helpful was http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3 but there are plenty – Uncle (or Aunt) Google is a great friend for this.

    Good luck and happy reading.

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

Sidebar

Related Questions

I have an HTML form defined as <form name=writeYourAd id=writeYourAd method=post action=post.php?action=preview onsubmit=return checkContentForm(this);
I have a DataGridView in a windows form. I defined 5 columns for this
I have form where are 2 input fields and then i have dynamic dataTables
I have a simple form, where each line consists of 3 input fields. on
Weird problem in Django with forms : I have a Form.class defined like this
I have a form element defined as: <div class=field> <div class=name> <label for=User_LastName> Last
I have defined a small DSL that is mostly written in the form of
I want to populate a table form a MYSQL database. I have defined the
I have form, where some fields are looks like rows, so I can add/delete
I have a custom-authentication-provider defined in my Spring Security configuration. This class implements AuthenticationProvider,

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.