Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
thatraja 3-Sep-14 5:50am    
In which line the error occurs?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900