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.
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.