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

The Archive Base Latest Questions

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

Before anyone suggests scrapping the table tags altogether, I’m just modifying this part of

  • 0

Before anyone suggests scrapping the table tags altogether, I’m just modifying this part of a very large system, so it really wouldn’t be wise for me to revise the table structure (the app is filled with similar tables).

This is a webapp in C# .NET – data comes in from a webservice and is displayed onscreen in a table. The table’s rows are generated with asp:Repeaters, so that the rows alternate colers nicely. The table previously held one item of data per row. Now, essentially, the table has sub-headers… The first row is the date, the second row shows a line of data, and all the next rows are data rows until data of a new date comes in, in which case there will be another sub-header row.

At first I thought I could cheat a little and do this pretty easily to keep the current repeater structure- I just need to feed some cells the empty string so that no data appears in them. Now, however, we’re considering one of those +/- collapsers next to each date, so that they can collapse all the data. My mind immediately went to hiding rows when a button is pressed… but I don’t know how to hide rows from the code behind unless the row has a unique id, and I’m not sure if you can do that with repeaters.

I hope I’ve expressed the problem well. I’m sure I’ll find a way TBH but I just saw this site on slashdot and thought I’d give it a whirl 🙂

  • 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-10T16:02:40+00:00Added an answer on May 10, 2026 at 4:02 pm

    When you build the row in the databinding event, you can add in a unique identifier using say the id of the data field or something else that you use to make it unique.

    Then you could use a client side method to expand collapse if you want to fill it with data in the beginning, toggling the style.display setting in Javascript for the table row element.

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

Sidebar

Related Questions

Before anyone recommends that I do a google search on this, I have. I
(Before anyone says anything Yes this was homework but i have already turned it
Has anyone seen this before - and can anything be done about it? This
Has anyone run into this error message before when using a timer on an
Has anyone else run into this problem before? I've got a method that calls
Has anyone had this unusual(recurring) experience before? I'm trying to check out the project
Has anyone come across this issue before?
Before any one suggests HTML, I explain later why thats not an option here.
Before anyone comments, I must use HSQLDB RDBMS; it's for university java project. My
Before someone asks me why the hell I would want to do this let

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.