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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:30:32+00:00 2026-05-25T15:30:32+00:00

I have this app with basic AccountModel that ships with MVC3. The AccountModel have

  • 0

I have this app with basic AccountModel that ships with MVC3. The AccountModel have three classes:

  • ChangePasswordModel;
  • LoginModel;
  • RegisterModel;

I want to create an Account/Settings screen so I’ve create the Settings Action on the Account Controller.

But I can’t realize what to do next since this screen will have all account funcionts like change password, change site settings and profile stuff and the ChangePasswordModel is a separate model!

How to post the ChangePassword form inside this /Account/Settings and still get the ChangePassword action working?

How to unify this in one screen?

  • 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-25T15:30:33+00:00Added an answer on May 25, 2026 at 3:30 pm

    If you wrap each set of functionality in a new form then you can accomplish what you want… You can use

    <% using(Html.BeginRouteForm(...) %>
    

    to pretty cleanly specify where you would like each section of the page to go… I would recommend that you send each to different actions (even if they are in the same controller) so as to keep your model binding simpler.

    This can get ugly if you have var A in one form but want to retrieve it in a different form.

    So long as you want to just put everything on the same screen each form can successfully represent their own model cleanly then this is a pretty decent way to do this (IMO)

    EDIT

    If you’re used to ASP.net and MVC is a little new to you, putting multiple forms on the same page is against the ASP.net nature, but in mvc (as mentioned) you can do this very effectively.

    EDIT for Links

    http://msdn.microsoft.com/en-us/library/system.web.mvc.html.formextensions.beginrouteform.aspx

    http://msmvps.com/blogs/luisabreu/archive/2009/01/31/the-mvc-platform-more-form-extension-methods.aspx

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

Sidebar

Related Questions

This a pretty basic question. Let's say I have this iPhone/iPad app that, at
I have this .NET web app that draws a table in Page_Load. Then after
I have this c# web app that relies heavily on two dll files that
I have this UITableView app, a basic diary app, in this method XCode says
I have a commit of this app up here The basic problem is, in
I'm trying to create an app in Visual Basic that will allow a user
So I have this app which needs to query entities from the Azure Tables
So I have this App in the store, and I would like to release
So we have this web app where we support UTF8 data. Hooray UTF8. And
So, I have this desktop app built using WPF and C#. It's basically an

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.