Hi,
You could accomplish this by handling the MaskedEditBox''s GotFous event instead as shown in code below :
this.maskedEditBox1.GotFocus += new EventHandler(MaskedEditBox_GotFocus);
private void MaskedEditBox_GotFocus(object sender, EventArgs args)
{
this.maskedEditBox1.SelectAll();
}
Please refer to the
test sample attached that illustrates this, and let me know if this works for you.
Regards,
Guru Patwal
Syncfusion, Inc.