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. Removing the border of Text box and combo box

Removing the border of Text box and combo box

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpasp-net
3 Posts 2 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.
  • P Offline
    P Offline
    Prakash_Mishra
    wrote on last edited by
    #1

    Hi all Can any tell me how to remove the border of a text box and combo box. My application is in asp.net and i am writing the code in VB. For example the look should be like this NAME Prakash consider Prakash is in text box but it should look like what i wrote. I tried like this but didn't work TxtFname.BorderColor = Color.Transparent TxtFname.BorderStyle = BorderStyle.None TxtFname.ReadOnly = True Regards

    Prakash Mishra(Banglore,India)

    S 1 Reply Last reply
    0
    • P Prakash_Mishra

      Hi all Can any tell me how to remove the border of a text box and combo box. My application is in asp.net and i am writing the code in VB. For example the look should be like this NAME Prakash consider Prakash is in text box but it should look like what i wrote. I tried like this but didn't work TxtFname.BorderColor = Color.Transparent TxtFname.BorderStyle = BorderStyle.None TxtFname.ReadOnly = True Regards

      Prakash Mishra(Banglore,India)

      S Offline
      S Offline
      Sylvester george
      wrote on last edited by
      #2

      It s working for me..Where did you put the code in your application code behind?

      Regards, Sylvester G If we don't succeed, we run the risk of failure

      P 1 Reply Last reply
      0
      • S Sylvester george

        It s working for me..Where did you put the code in your application code behind?

        Regards, Sylvester G If we don't succeed, we run the risk of failure

        P Offline
        P Offline
        Prakash_Mishra
        wrote on last edited by
        #3

        actually the text box property should change when i click on a button so i cant write in page load. so wrote the code on the click event of that button. But problem is i have a background color in the table and text box is showing a white square background. And what about combo box i think its not possible this way?? Regards

        Prakash Mishra(Banglore,India)

        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