This is a migrated thread and some comments may be shown as answers.

RadMaskedTextBox HideOnBlur

1 Answer 157 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 2
Jeremy asked on 01 Aug 2012, 06:00 PM
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.

1 Answer, 1 is accepted

Sort by
0
Jeremy
Top achievements
Rank 2
answered on 01 Aug 2012, 06:29 PM
Did some more searching and found the Issue Tracker with the ID 5750 that resolves my issue.

Jeremy
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Jeremy
Top achievements
Rank 2
Answers by
Jeremy
Top achievements
Rank 2
Share this question
or