RadMaskedTextBox HideOnBlur

Thread is closed for posting
2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    4 posts
    Member since:
    Jul 2012

    Posted 01 Aug 2012 Link to this post

    Hello,

    I am finding the behavior of the HideOnBlur property a little difficult to understand.  If I add a RadMaskedTextBox to a page, apply a mask, and set the HideOnBlur property to true it works as I would expect.  When the control doesn't have focus the prompting characters and mask characters are hidden.  However, if I fill the .Text property with a value programatically, say in page load, then everything including the value I supplied is hidden until focus is given to the control and focus is switched off of the control and the onblur event is fired.

    This results in a page loading and data that was supplied to the control doesn't show up.  Then you click inside the control and if you remove focus or start typing the supplied text appears.  Should I be supplying text to the RadMaskedTextBox in a different manner then using the .Text property of the control?

    Thank you,
    Jeremy

    EDIT: Sorry...  this should be in the ASP.NET AJAX > General Discussions...  I didn't realize I was in the sub forum.
  2. Jeremy
    Jeremy avatar
    4 posts
    Member since:
    Jul 2012

    Posted 01 Aug 2012 Link to this post

    Did some more searching and found the Issue Tracker with the ID 5750 that resolves my issue.

    Jeremy
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top