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. Different colors of text in textbox [modified]

Different colors of text in textbox [modified]

Scheduled Pinned Locked Moved ASP.NET
question
5 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.
  • D Offline
    D Offline
    Dot Net Dev
    wrote on last edited by
    #1

    Hi, How can i apply the different colors on the text of single textbox while the user is typing. Thanks, Sonia

    modified on Saturday, December 19, 2009 2:38 AM

    S J 2 Replies Last reply
    0
    • D Dot Net Dev

      Hi, How can i apply the different colors on the text of single textbox while the user is typing. Thanks, Sonia

      modified on Saturday, December 19, 2009 2:38 AM

      S Offline
      S Offline
      saini arun
      wrote on last edited by
      #2

      like [this]

      1 Reply Last reply
      0
      • D Dot Net Dev

        Hi, How can i apply the different colors on the text of single textbox while the user is typing. Thanks, Sonia

        modified on Saturday, December 19, 2009 2:38 AM

        J Offline
        J Offline
        John Bracey
        wrote on last edited by
        #3

        You should be able to assign a CSS style to textbox to control the colour of the text. You could have a new style activated using an event handler.

        D 1 Reply Last reply
        0
        • J John Bracey

          You should be able to assign a CSS style to textbox to control the colour of the text. You could have a new style activated using an event handler.

          D Offline
          D Offline
          Dot Net Dev
          wrote on last edited by
          #4

          I want to have one word in green second in red and third in black in the textbox. How can i do this. Sonia

          J 1 Reply Last reply
          0
          • D Dot Net Dev

            I want to have one word in green second in red and third in black in the textbox. How can i do this. Sonia

            J Offline
            J Offline
            John Bracey
            wrote on last edited by
            #5

            Not sure you can do this on a live textbox.

            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