Community discussion forum

HTML TABLE

Tags: asp.net India
  • 2 months ago

    Hi,

    im using asp.net .I have html table and i want to invisible the table based on certain conditions

    how do i do that ?

     

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 1 month ago

    Hi,

    You would need to do this with javascript, and for that, you will need to give the table an ID so javascript can find it specifically.

    You can emit javascript to set the style of the object to something like visibility: hidden;

    If you need help with example code, let me know.

    Simon C

  • 1 month ago

    If you want to do this serverside, you can add the runat="server" attribute to your html element and set the visible property in code.

  • 1 month ago

    You can make table rows and columns programmatically. For this case, you need to add a table in design page and generate rows and columns in source code. Let me know if this interests you. ü

  • 1 month ago

    Hi,

    You would need to do this with javascript, and for that, you will need to give the table an ID so javascript can find it specifically.

    You can emit javascript to set the style of the object to something like style="display:none;"

Post a reply

Enter your message below

Sign in or Join us (it's free).