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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:48:42+00:00 2026-05-29T05:48:42+00:00

There are ASP controls such as radiobuttonlist and checkboxlist and you can databind them

  • 0

There are ASP controls such as radiobuttonlist and checkboxlist and you can databind them to a database query. It’s great for creating dynamic lists with user interaction. What I’m trying to do is generate a list of textboxes in the same fashion. A list of textboxes that behave the same way.

The object is to have a checkboxlist that is generated via datasource/database. When the user is finished selecting items from this list, they click a button. That list hides (using jquery) and a new list is created based on their selections. However, the new list is now a list of their selections accompanied by an empty textbox. The user fills in the textboxes for each entry and submits again which commits it to a database.

SO:

checkbox - description
checkbox - description
checkbox - description
checkbox - description

Becomes:

Description - Textbox
Description - Textbox

The reason that I’m looking for a list-type control is so that I can ultimately loop through it for submission to the database using linq. Does that make sense? My real question is if there is a control like this yet. I gave the full description in case someone has any other ideas, short of creating a custom control.

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

    There’s nothing out of the box that does what you describe no. But you can still loop through controls. I would put your form controls inside of an asp:Panel or a div with runat=”server” and use something like the following code to cycle through them as you described.

    foreach(Control ctl in myPanel.Controls)
    {
      //check control type and handle
      if (ctl is TextBox)
      {
         //handle the control and its value here
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In ASP.NET MVC, we don't have controls which can do stuffs such as autocompletion
Are there the asp.net scaffolding controls (ex: < subsonic:QuickTable />) still available in subsonic
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
I am wondering if there is a way to make ASP.NET controls play nicely
Is there any freeware library (controls) for ASP MVC implementing posting and displaying comments?
Is there any way to render ASP.net MVC controls or code directly within a
Is there any way to use server controls in ASP.NET MVC? Specifically I need
Is there any wizard controls available for ASP.NET 1.1???? Please let me know if
I know that ASP.NET controls such as the button have the postback event model.
When I'm working with DataBound controls in ASP.NET 2.0 such as a Repeater, I

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.