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. General Programming
  3. WPF
  4. How to get rid of "Enter text here" in DatePicker?

How to get rid of "Enter text here" in DatePicker?

Scheduled Pinned Locked Moved WPF
helptutorialquestion
2 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.
  • M Offline
    M Offline
    makumazan84
    wrote on last edited by
    #1

    Here is the problem: I have a DatePicker control (Framework 4.0) and once I delete the text in its textbox, a phrase "Enter text here" (enclosed in <> brackets) appears in a text box. I need to get rid of it, so when the user deletes the text in a DatePicker's textbox, the textbox remains empty. So far I've tried to examine DatePicker's code via reflector, but haven't found any clues. Any help will be greatly appreciated.

    A 1 Reply Last reply
    0
    • M makumazan84

      Here is the problem: I have a DatePicker control (Framework 4.0) and once I delete the text in its textbox, a phrase "Enter text here" (enclosed in <> brackets) appears in a text box. I need to get rid of it, so when the user deletes the text in a DatePicker's textbox, the textbox remains empty. So far I've tried to examine DatePicker's code via reflector, but haven't found any clues. Any help will be greatly appreciated.

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      Found this[^] thread. Could be of some help to you.

      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

      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