jqxTextArea requires the following files:
jqx.base.css
jqxcore.js
jqxbuttons.js
jqxscrollbar.js
jqxlistbox.js
jqxTextArea.js
<script src="~/jqwidgets/jqxbuttons.js"></script> <script src="~/jqwidgets/jqxscrollbar.js"></script> <script src="~/jqwidgets/jqxtextarea.js"></script> @model IEnumerable<jQWidgets.AspNet.Core.Models.SalesEmployee> <jqx-text-area disabled="true" width="150" source="Model" display-member="Name"></jqx-text-area>To call a function(method), you need to pass the method name and parameters(if any) in the UI component’s instance.
<script src="~/jqwidgets/jqxbuttons.js"></script> <script src="~/jqwidgets/jqxscrollbar.js"></script> <script src="~/jqwidgets/jqxtextarea.js"></script> @model IEnumerable<jQWidgets.AspNet.Core.Models.SalesEmployee> <jqx-text-area width="150" source="Model" display-member="Name" instance="getInstance()"></jqx-text-area> @section scripts { <script type="text/javascript"> function getInstance(instance) { instance["focus"](); } </script> }To bind to an event of a UI Component, you can use
on-event-type
syntax. The example
code below demonstrates how to bind to an event.
<script src="~/jqwidgets/jqxbuttons.js"></script> <script src="~/jqwidgets/jqxscrollbar.js"></script> <script src="~/jqwidgets/jqxtextarea.js"></script> @model IEnumerable<jQWidgets.AspNet.Core.Models.SalesEmployee> <jqx-text-area on-change="eventHandler()"></jqx-text-area> @section scripts { <script type="text/javascript"> function eventHandler(event) { } </script> }