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. input type as 'button' in asp.net page [modified]

input type as 'button' in asp.net page [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorialquestion
4 Posts 3 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.
  • V Offline
    V Offline
    Vsree
    wrote on last edited by
    #1

    Hi Am using a control of type as 'button' in my web page. How to make it invisible during page load? I couldnt find any attribute to make its visibility to 'False'. Please help me -- modified at 1:12 Friday 19th January, 2007

    G M V 3 Replies Last reply
    0
    • V Vsree

      Hi Am using a control of type as 'button' in my web page. How to make it invisible during page load? I couldnt find any attribute to make its visibility to 'False'. Please help me -- modified at 1:12 Friday 19th January, 2007

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Use any of the CSS styles display:none or visibility:hidden, depending on how you want to hide it.

      --- Year happy = new Year(2007);

      1 Reply Last reply
      0
      • V Vsree

        Hi Am using a control of type as 'button' in my web page. How to make it invisible during page load? I couldnt find any attribute to make its visibility to 'False'. Please help me -- modified at 1:12 Friday 19th January, 2007

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        Mark the control with runat="server" and you can set the Visible property of the control in code.

        1 Reply Last reply
        0
        • V Vsree

          Hi Am using a control of type as 'button' in my web page. How to make it invisible during page load? I couldnt find any attribute to make its visibility to 'False'. Please help me -- modified at 1:12 Friday 19th January, 2007

          V Offline
          V Offline
          Vsree
          wrote on last edited by
          #4

          Hi I got the solution by including the code document.getElementById("button1").style.visibility = "hidden" Thanx!

          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