Hello,
I need to be able to keep the caret in the same location on a masked textbox when a user leaves our webpage (switches tabs) and comes back.
Currently, if the user enters some text, '123', and then goes to a different tab and comes back, the caret does not remain after the '3'. It has moved to the end of the mask.
This happens regardless of whether I set the SelectionOnFocus attribute to "None" or not.
A standard asp textbox keeps the caret in the same location. If I type "test" and leave the caret between the 'e' and the 's'. Tab away and come back, the caret is still in the same location. Is there another attribute I need to use in order to replicate this functionality? Or in other words, stop the caret from moving?
Regards,
Chris
I need to be able to keep the caret in the same location on a masked textbox when a user leaves our webpage (switches tabs) and comes back.
Currently, if the user enters some text, '123', and then goes to a different tab and comes back, the caret does not remain after the '3'. It has moved to the end of the mask.
<telerik:RadMaskedTextBox ID="RMTBZip" runat="server" Mask="#####-####" SelectionOnFocus="None" />This happens regardless of whether I set the SelectionOnFocus attribute to "None" or not.
A standard asp textbox keeps the caret in the same location. If I type "test" and leave the caret between the 'e' and the 's'. Tab away and come back, the caret is still in the same location. Is there another attribute I need to use in order to replicate this functionality? Or in other words, stop the caret from moving?
Regards,
Chris