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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:05:10+00:00 2026-05-31T16:05:10+00:00

This is how my web page looks like: PosisionDataView is a web user control,

  • 0

This is how my web page looks like:
enter image description here

PosisionDataView is a web user control, which contains textboxes for product name and note plus some additional controls.

QuantityView is also a web user control, which contains textboxes for quantity and price plus some additional controls.

The user can dynamically add QuantityView’s and PositionView’s to the page. This happens this way:

  • The user clicks the ButtonAddQuantityView or ButtonAddPositionView
  • jquery’s ajax method is called, which calls a method on my web service, which returns QuantityView or PositionView in html format
  • the received control is appended to the QuantityPlaceholder or to PositionsPlaceholder

This all works pretty smooth, but what is the best method to parse this mess after postback? For example the QuantityView contains the textbox txtQuantity and in Request.Form collection I get these values for quantities:

  • ctl00$ContentPlaceHolder1$PositionView$ctl00$QuantityView$ctl00$txtQuantity: 1
  • ctl00$txtQuantity: 2,4
  • ctl00$QuantityView$ctl00$txtQuantity: 3

In reallity position 1 contains quantities 1 and 2, and position 2 contains quantities 3 and 4, but the Request.Form is a mess…

  • 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-31T16:05:11+00:00Added an answer on May 31, 2026 at 4:05 pm

    Thought i could post comments!

    Anyway, are you sure form variable names are not repeating? Especially ctl00$txtQuantity.

    If txtQuantity names could be made slightly unique like txtPositionViewQuantity or txtQuantityViewQuantity (for each sub section), you could access those control’s data via jquery and create for example a JSON object. This will keep your server round trips light.

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

Sidebar

Related Questions

My web page looks like this name(textbox1) email(textbox2) age(textbox3) phoneno(textbox4) submit(button) showfile(hyperlink) How can
I'm trying add a tab to my web page that looks like this: Using
I want to scrape this web page using Mechanize. The form element looks like
I have a web page on which I have a form. This form contains
I have web page that looks like this: Image on the left - text
i have a command link in my page which looks like: <h:commandLink value=Add user
I have a webpage with a form, which looks kinda like this: @using (Html.BeginForm(MyAction,
I have a web page. This web page looks correct in IE 7, 8
I have a web page with embedded PDF on it. My code looks like
I am uploading a web page to ftp server. This page contains images with

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.