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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:12:52+00:00 2026-06-02T09:12:52+00:00

When I submit the data, even though I type in 3/15/2012, the model is

  • 0

When I submit the data, even though I type in 3/15/2012, the model is always populated with 1/1/0001. What am I missing?

<p>
    @Html.LabelFor(m => m.EventDate, "Date of Event")<br />
    @Html.TextBoxFor(m =>  m.EventDate)
</p>
<p>
    @using (Html.BeginForm("Create", "Event", FormMethod.Post))
    {
        <input id="create" type="submit" value="Submit New Event" />
    }
</p>
  • 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-02T09:12:56+00:00Added an answer on June 2, 2026 at 9:12 am

    You need to put the textbox inside the form.
    Otherwise, it never gets sent to the server.

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

Sidebar

Related Questions

i have a submit page in html . when i submit the form data,
why do I get the -1 string displayed below, even though I submit an
I need to submit data from a form to an SQL2005 database via a
When I submit data in my form it changes abcd to \abcd\ on the
I'd like to submit data in a form, over HTTPS, without allowing the browser
I'm using TransactionScope to submit data in Linq to SQL. My question is, if
I'm running into the problem of users being able to submit data with '
In my iOS application I have made a form that should submit data into
I have to submit subscription data to another website. I have got documentation on
Currently I'm using file_get_contents() to submit GET data to an array of sites, but

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.