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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:09:45+00:00 2026-05-10T23:09:45+00:00

I am struggling on something that, I am sure, should be easy. I have

  • 0

I am struggling on something that, I am sure, should be easy. I have been living in backend and winforms code for a long time, and I’m am building my first ASP.NET page in over a year, so apologies for any noobishness

I am inside a User Control on a page.

On this User Control (Parent Control) I need to embed 0 .. n child user controls in a table, where each Child User control is representative of a row in a Listbox on the Parent User Control.

On the child user control I have a few properties that need setting, such as the id of the item in the list box that it represents.

As I see it, I can either

  • Loop through this list box in code-behind, and try to dynamically insert table rows and child user controls into an existing tag, and set the object’s properties, something I have yet to make work – the added controls just don’t appear
  • Use the old fashion ASP trick of looping through the items in the Listbox inside <% %> tags, and embed my < uc:ChildUserControl runat=’server’ > tags, but I’m not able to set the required properties on the ChildUserControl (I have tried a few things, but the main issue is I can’t use <% %> in server controls)
  • Do something else that is eluding me at present

Any ideas would be greatfully received

  • 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. 2026-05-10T23:09:46+00:00Added an answer on May 10, 2026 at 11:09 pm

    repeater control bound to the same data source as the listbox?

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

Sidebar

Related Questions

I am struggling with something that I'm not even sure if possible. I have
I'm struggling with something that I am sure has a very simple method, but
I've been struggling with something at work that I'm not really in the mood
Bits and bitmask are something I have been struggling to understand for a while,
I'm struggling with something that should be very simple. I've spent hours looking for
I'm struggling with something that I thought is quite simple - to generate documentation
i've been struggling with something: centering my CSS menu!! i can't figure out how
I'm sure this is a piece of cake but I'm really struggling with something
I have been reading a lot about test-driven development and decided that I want
I am struggling with something that must be one of those 'it is so

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.