Hi,
I have a UltraTextEditor without any propertys set. The editor is bound to a string property of an object.
If I click in the text box and then click somewhere else, the text box loses his focus as expacted. If I click into the text box, type some text in there and remove the text after that, I can not lose the focus.
I already registered the "BeforeExitEditMode" - event to ensure that the "Cancel" flag of the eventargs is false but it doesn't work.
Has someone an idea?
The sample you attached has an InputMask of "(###) ###-####", which has a different behavior than your originally stated format of "(999) 999-9999". The '#' character indicates that input is required, so the UltraMaskedEdit will prevent you from leaving the control unless the data matches the mask (unless you handle the MaskValidationError event and set the e.RetainFocus property to false). Using the InputMask of "(999) 999-9999" will work as you are expecting.
-Matt
here i have attached the sample code which doesn't have even a single line of code...http://imgpop.com/WindowsApplication1.zip
plz enter (999) 9 and hit tab to leave focus......the focus remains the same...plz someone help me..:(
yes, it's occuring for new project too....are you able to move the cursor from masked phone control to any other control(eg: textbox) by pressing tab while we have partial or not fully masked data ?
The sample I used had literally nothing else in it with the exception of putting the UltraMaskedEdit on the form and setting the InputMask to "(999)999-9999". I had no code anywhere in the form and this was working for me. Does the same behavior exist for you in a new project?
no control is not bind