The wijdialog widget can be used as a Modal dialog window. This is especially useful if you need to communicate information users must have before they continue with the next step. In this topic, you will learn how to set the widget as a Modal Dialog Window. You can also learn how to Create an Alert Dialog, and how to Create a Confirm Dialog.
See the Dialog > Modal sample of the Control Explorer live demo at http://demo.componentone.com/ASPNET/MVCExplorer/dialog/ModalDialog
<body>
tags of the page.
<div>
<div>
<input type="button" value="Show Dialog" onclick="$('#dialog-modal').wijdialog('open')" />
<div id="dialog-modal" title="Basic modal dialog">
<p>
Modal Dialog Windows make the rest of the screen dim until you close the Modal window.</p>
</div>
</div>
</div>
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
// $(":wijmo-wijdialog").wijdialog("destroy").remove();
$("#dialog-modal").wijdialog({
autoOpen: true,
height: 180,
width: 400,
modal: true
});
});
</script>