Hello Ashokkumar,
Thank you for your reply.
I've tried to use your solution but there is a slight problem.
I've modified my code so that it has keydown event as following:
@Html.EJ().MaskEdit("txtPhoneHome").ClientSideEvents(evt => evt.Keydown("onKeyDown").KeyUp("onKeyDown")).ReadOnly(disableControls).WatermarkText("Home Phone Number").MaskFormat("999-999-9999").Value(Model.PhoneHome)
The problem is that "Keydown" event never gets triggered and so it never reaches the javascript function you gave me.
I've tested a few things, tried "KeyPress", but the same thing, I couldn't get it triggered what-so-ever.
I've tried "KeyUp", and I was able to get the event triggered, which doesn't help me to resolve the issue.
Please note that I am using MVC to build this.