jqxButton requires the following files:
jqx.base.cssjqxcore.jsjqxbuttons.js<script src="~/jqwidgets/jqxbuttons.js"></script> <jqx-button disabled="true">Button</jqx-button>
<script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-toggle-button instance="getInstance()">Button</jqx-toggle-button>
@section scripts {
<script type="text/javascript">
function getInstance(instance) {
instance["unCheck"]();
}
</script>
}
To bind to an event of a UI widget, you can use on-event-type syntax. The example
code below demonstrates how to bind to an event.
<script src="~/jqwidgets/jqxbuttons.js"></script>
<jqx-button on-click="eventHandler()">Button</jqx-button>
@section scripts {
<script type="text/javascript">
function eventHandler(event) {
}
</script>
}