Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Table help

Table help

Scheduled Pinned Locked Moved ASP.NET
helptutorial
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eric_tran
    wrote on last edited by
    #1

    Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

    eric

    K S N E E 6 Replies Last reply
    0
    • E eric_tran

      Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

      eric

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      I would consider using a PlaceHolder control. If this wraps your table you should be able to set the placeholder control visible or not in the code behind page. You might need to nest it:

      ...

      Hope that helps. Ben

      E 1 Reply Last reply
      0
      • K kubben

        I would consider using a PlaceHolder control. If this wraps your table you should be able to set the placeholder control visible or not in the code behind page. You might need to nest it:

        ...

        Hope that helps. Ben

        E Offline
        E Offline
        eric_tran
        wrote on last edited by
        #3

        That's a great idea. Thanks. I'll try that.

        eric

        1 Reply Last reply
        0
        • E eric_tran

          Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

          eric

          S Offline
          S Offline
          Sherin Iranimose
          wrote on last edited by
          #4

          Hi, You can use ASP Table control. So that you can set visible attribute to true or false.


          To succeed, we must first believe that we can. Sherin Iranimose


          1 Reply Last reply
          0
          • E eric_tran

            Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

            eric

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            Easy way could be making the table runat="server". Then you can access this from codebehind

            Navaneeth My Website

            1 Reply Last reply
            0
            • E eric_tran

              Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

              eric

              E Offline
              E Offline
              eric_tran
              wrote on last edited by
              #6

              Thanks so much everyone

              eric

              1 Reply Last reply
              0
              • E eric_tran

                Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

                eric

                E Offline
                E Offline
                Expert Coming
                wrote on last edited by
                #7

                Personally I like to use panels. I just place the tables and all other controls in it and then display the panel when I want to.

                The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.

                1 Reply Last reply
                0
                • E eric_tran

                  Gday everyone I have a new problem that I really need someone help I need to make visibility of a table at runtime depending on user to click on a button to show it or not. Please guide me how to do it Thanks so much

                  eric

                  M Offline
                  M Offline
                  metallica_rock10
                  wrote on last edited by
                  #8

                  Just make the table runat="server" and then use uts visibility property and set it to true or fals according to your needs.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups