You can use the Client-side methods of the controls by accessing it with the use of object creation for the control in the script section.
You have to render the MaskEdit control with the FocusOut event in the View page as shown in the following code example.
You have to create an object for the control and by using the object you can access the Methods as shown in the following code example.
Created here is the MaskEdit control in the View page with the Client-side on FocusOut event. In that event you can access the method by creating an object to the MaskEdit control as shown in the above code example. Also you can refer the following blog for more details.
This page will automatically be redirected to the sign-in page in 10 seconds.