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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:05:04+00:00 2026-05-31T05:05:04+00:00

I created a table of form fields with ASP.net and the repeater control which

  • 0

I created a table of form fields with ASP.net and the repeater control which contains data from a database.

Now the user can add rows which will add a new row with jQuery to the repeater control (which is a html table when it’s rendered. So I’m adding these rows to the client side html table and not to the repeaters data source).

When the user is posting the data to the server I’m able to access the edited rows directly from the repeater but of course, the new jQuery generated rows aren’t stored in the repeater.

I also took a look at the Request.Form variables, but there are just the repeater controls too (If I’m wrong with my assumption that this should be that way, please give me some sign).

The only one solution I see is to store all rows data in a json object and pass it to the server. But it would be great if there is another solution without using Javascript to post the data.

What’s the best way to solve this problem?

  • 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-31T05:05:05+00:00Added an answer on May 31, 2026 at 5:05 am

    Ok, I have to say: it’s possible just by accessing the Form.Request Data. It’s important, when you’re generating new fields on client side, you have to set new and different name attribute values for all the form fields because Request.Form contains the fields values grouped by the name values. And if you’re generating new rows like I do with a clone() of another row, they would be identically and you can’t see them in the Request.Form if you don’t change them.

    Another solution is to save all the form data in a JSON object and at it to a hidden field. Server side you can easy deserialize the JSON Object (maybe you need a JSON library first) and access your data. There’s no need for a AJAX request.

    I would say, the best way is JSON Object way. I did it with the Request.Form to write less Javscript and more server-side script.

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

Sidebar

Related Questions

I accidentaly created a table in PostgreSQL which contains, in its name, some double
In am testing a application which is created using asp.net and sql server 2005.
I have a form that has all the fields pulled dynamic from a database
I have a form into which the user can add more fields to fill
I have a table of the form CREATE TABLE data { pk INT PRIMARY
I have a dynamically created table which in the last <td> there is a
I have a pretty big web application that I created last year using ASP.NET
Before I start I'd just like to state that the code created by ASP.NET
ASP.NET newbie here. I would like to create a form with multiple types of
I am trying to learn Asp.net mvc. I know its different from forms and

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.