Hi,
Getting the error "An error occured while communicating with the server" with the JTable implementation in MVC2 ASP.Net.
Below is my script.
<script type="text/javascript">
$(document).ready(function () {
$("#CategoryTable").jtable({
title: 'Service Category List',
paging: true, // Allows Paging.
pageSize: 10,
sorting: true, // Enables Sorting.
defaultSorting: 'CategoryID ASC', // Sort Express.
actions: {
listAction:'/Admin/Service/CategoryList'
},
fields: {
CategoryID: {
key: true,
create: false,
edit: false,
list: true
},
CategoryName: {
title: 'Service Name'
},
ResolutionTime: {
title: 'Resolution Time'
}
}
});
$("#CategoryTable").load('load');
});
</script>
Help me out in fixing this.
Regards,
Raghuveer