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.
Unfortunately, activation email could not send to your email. Please try again.

How to prevent auto initialization of input controls

The script file ej.widgets.all.min.js is a combination of Essential Javascript for Web (ej.web.all.min.js) and Mobile (ej.mobile.all.min.js) components. In Mobile source, input controls are auto initialized on document ready for Essential Javascript Mobile applications, hence mobile styles have been applied. To prevent auto initialization, we need to set the property App.renderEJMControlsByDef as false. Refer to the following code example.

 

 

And also, additional container (div) element with a data-role “AppView” will be created on initialization, in which AppView acts as a master page for Mobile applications. To prevent the initialization of AppView, we need to set the property App.preventAppviewInit as true. Refer to the following code example

 

 

The above mentioned code example has to be referred, next to ej.widgets.all.min.js script reference.

 

Note: The above mentioned properties has to be utilized, only when ej.widgets.all.min.js is referred, not in case of ej.web.all.min.js is referred.

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5912 12/30/2015 12/30/2015 JavaScript ejmTextBox
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.