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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:33:55+00:00 2026-06-07T14:33:55+00:00

How do i hide the tables created in visual studio 2010 C#? What i

  • 0

How do i hide the tables created in visual studio 2010 C#? What i am trying to do is to hide the table (somewhat like timetable) and only let it appear when user click on one of the calendar dates. I tried using Visibility: hidden; but the whole table disappeared when i view on the design view. I need help! Thanks in advance.

  • 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-06-07T14:33:57+00:00Added an answer on June 7, 2026 at 2:33 pm

    Your question is a bit unclear, but from what I understood, this is how you can achieve:

    In the codebehind (C# .cs file) you can set the table as hidden using the style property, something like this:

    .aspx file

    <table id="table1" runat="server">
    ......td's and tr's.....    
    </table>
    

    .cs file in Page_Load

    table1.Style.Add("display", "none");
    

    This will allow you to see the table in design mode, and when the page is rendered on client’s browser Table will be hidden.

    Note: You cannot use this.table1.Visible = false; in codebehind to hide the table because in this case table will never reach the client-side browser and you wont be able to show the table at all, so you should use table1.Style.Add("display", "none"); if you want to send the table to client’s browser in hidden mode.

    You can use JQuery or Javascript on the client side to show the table.

    So when a user clicks on a calendar date you call a javascript function. This javascript function will get the Table object from DOM by Id or class and show it by setting Style display to block

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

Sidebar

Related Questions

I'm currently trying to hide a dynamically created table row after a button has
I'm trying to hide table view until all the data is loaded. I found
I have a table column I’m trying to expand and hide. jQuery seems to
Say I have two tables, user and comment . They have table definitions that
I am trying to hide/unhide some table cells o a page, and I find
I want to filter a table using jQuery hide/show based on what the user
I had written a jquery code to hide some labels, textbox contained in tables
How can i show and hide table rows based on value selected in multiselect?
I have three table views inside a view controller (going to show/hide table views
My question is, why I can not use hide() & show() to hide/show table

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.