I have a masked text box inside an update panel. The masked text box has hideonblur set to true, and uses an empty message. When the page loads, the masked text box displays the empty message correctly. When I type a value in the masked text box, the empty message is correctly hidden.
I then click a button. The click event of this button is a trigger on the update panel that contains my masked text box. The page is asynchronously posted back, and when it finishes, the masked text box now displays the empty message instead of the value that was entered! If you click in the masked text box to give it focus, then tab out, the empty message is now hidden, and the value again displayed.
How can I keep my masked text box inside the update panel and not have it incorrectly hide my value? The only solution I've found is to remove the empty message AND hideonblur, which causes the mask to always display, which is not what I want.
I am using the standard MS AJAX panels. Any help is appreciated.
I then click a button. The click event of this button is a trigger on the update panel that contains my masked text box. The page is asynchronously posted back, and when it finishes, the masked text box now displays the empty message instead of the value that was entered! If you click in the masked text box to give it focus, then tab out, the empty message is now hidden, and the value again displayed.
How can I keep my masked text box inside the update panel and not have it incorrectly hide my value? The only solution I've found is to remove the empty message AND hideonblur, which causes the mask to always display, which is not what I want.
I am using the standard MS AJAX panels. Any help is appreciated.