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

  • Home
  • SEARCH
  • 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 6116733
In Process

The Archive Base Latest Questions

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

I have an ASP.NET MVC3 app that features a form with a nested-table input

  • 0

I have an ASP.NET MVC3 app that features a form with a nested-table input

(Ie on each row I can add a sub-table, with no limit on depth)

To handle this for my MVC app, I’ve created 2 javascript classes(using this term loosely with js:) that mirror my MVC3 model and post the data to an action method. Everything works great…Except that right now the only way that I know how to do this is with jquery $.ajax or $.post — How can I do a postback in javascript?

I have the URL, and the custom JSON data, and want to do a page postback… Any suggestions? I can’t use the normal form submit due to the nested table scenario described above.

Also, I just want to say, that MVC has made this so simple to render! 🙂 For rendering a recursive view did everything without any script required, only on the saving did I need to screw around with json.

Update:I guess another solution would be — can I change the contents of my form data on submit? My method takes a JSON object, is there any way I can stuff that in my request while my form submit is happening normally?

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

    Well, I found that with the MVC3 binding, the table in my form could be normally bound if I named the fields such as Item[0].Children[1].Children[0].FieldA… etc, everything matched up fine without having to convert to javascript objects/json. I changed my code to fix this naming before a form submit, and it binds pretty well without having to do any json calls at all. Less elegant, but I guess it works.

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

Sidebar

Related Questions

I have asp.net form that contains fields. When I access this window, my javascript
I have a ASP.NET page with an asp:button that is not visible. I can't
I'm working on an ASP.NET MVC app (using MVC3 RC2). Say I have 2
I am writing a little ASP.NET MVC3 app that I am running on Mac
I'm writing a project in c# asp.net mvc3, and I have a helper-class that
I have an ASP.NET MVC 3 app that is using SQL Server CE 4.0
In my ASP.NET MVC 3 app I have a page where, after its form
I have a ASP.NET application that we've written our own logging module for. My
I have ASP.Net web app and my c# code calls into a custom COM
I have noticed that ASP.NET MVC 3 introduces a HttpStatusCodeResult action result. How do

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.