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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use Client-side methods of EJ controls?

Platform: ASP.NET MVC |
Control: MaskEditTextbox |
Published Date: July 6, 2015 |
Last Revised Date: July 23, 2015

Description

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.

Solution

You have to render the MaskEdit control with the FocusOut event in the View page as shown in the following code example.

View

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.

Script

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.

http://www.syncfusion.com/blogs/post/Introduction-to-Essential-JavaScript.aspx

Sample:

http://www.syncfusion.com/uploads/user/directTrac/138353/Maskedit-480960637.zip

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon