MVC4 Classic
wijpager Step 2 of 3: Initializing the Widget

In the previous step, you created the pager element. In this step, you will add the jQuery script that initializes the widget.

After the closing <div> tag, add the following script:

<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#pager").wijpager({ pageCount: 50, pageIndex: 40, mode: "numericFirstLast" });
});
</script>
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback