We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Focusing options

Hi, 

I am using the SfMaskedEdit, and I noticed a behaviour which is a little bit confusing for my clients.

When they click on the control to get the focus, the charret doesn't go to the left if the content is empty, it goes where the mouse is inside the mask. 

I wanted to know if there is a simple way to get this behaviour automatically or if I need to get this behaviour by using the Focusing Event manually.

Thank you for the answer,

Regards,

Marvin


3 Replies

VJ Victory Jessie Selvam D Syncfusion Team December 7, 2015 11:35 AM UTC

Hi Marvin,

Thank you for using Syncfusion products.

This is the default behavior from TextBox control, and we have to manually set the CaretIndex for moving the cursor left when the text is empty. We have prepared a sample for the same and you can download it from the following link:

Sample: MaskedEdit_Focus

Regards,
Jessie


AD Atlante Dev Team December 14, 2015 09:41 AM UTC

Hi Jessie,

Thank you for the answer,

Regards,

Marvin


VJ Victory Jessie Selvam D Syncfusion Team December 14, 2015 12:45 PM UTC

Hi Marvin,

Thank you for your update.

Please let us know if you need any other assistance.

Regards,
Jessie

Loader.
Live Chat Icon For mobile
Up arrow icon