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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:42:07+00:00 2026-05-17T16:42:07+00:00

In a standard setup of Parent Child relation, lets say Project and Task. Where

  • 0

In a standard setup of Parent Child relation, lets say Project and Task. Where a Project is made up of lots of Tasks. So in a standard RDB, we have a

Project (ID, Name, Deadline)
Task (ID, FK_To_Project, Name, Description, isCompleted)

this is all very straight forward.

We have an MVC View that views Projects, so we get a nice list of all the project Names next to each deadline.

Now we want to CREATE a new PROJECT.

The Edit view opens, we type a name, say, ‘Make a cup of Tea’, with tomorrow as the deadline!

Still in this view/web page, I would like a list of all the Child Tasks, in a standard list, with Edit, Delete, and a Create/Add Task button too, just below the ‘parent table’ details.

The simplest way to describe this, is the Parents Table Create/Edit view, with the Childes List View Below it.

  1. The ideal solution will also allow my Child Table (Tasks) to have Children also (for more complex scenarios) , and so on, and on, and on.

  2. If I navigate away from my Created Project, I don’t want all sorts of random stuff laying around, they went away, it’s gone!

  3. I’d expect all the same functionality when Editing an existing project.

I’m struggling with the ‘Add New Child’, I had a model dialog (jQuery) and all was well, but now when editing an existing child/task, I need to populate the Child Edit, which is a pain and will need loads of java script I think.

How can this be achieved in MVC, does anybody have any examples?

  • 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-17T16:42:08+00:00Added an answer on May 17, 2026 at 4:42 pm

    I know this is a very late reply, but I’ve posted a screenshot of my first MVC project which seems to deal with exactly the same Parent – Child relationship and presentation style that you are describing. See if the is what you are shooting for.

    Screenshot: http://mattslay.com/wp-content/uploads/2018/07/mvc-crud-app.png

    enter image description here

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

Sidebar

Related Questions

I have a pretty standard setup where I have an array in my controller
I have a symfony website running on the standard LAMP setup. I need to
I have a webserver setup using the standard linux, apache, mysql, php config and
I have a standard python package layout like this: setup.py - using setuptools README
I have a pretty standard table set-up in a current application using the .NET
The standard naming convention in the Java world is to name packages, classes and
I'm building an APS.net MVC 2 app, where I have a parent table and
Hi I'm trying to map a one-many parent-child relationship in NHibernate using XML mapping.
I've set up a one-to-many association in NHibernate: Parent (1 -> ∞) Child The
I've got two objects a parent and a child list. In my fluent nhibernate

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.