i am trying to implement Foo Table paging for my ASP.NET MVC application.
In controller i retrieve data from Stored Proc of DB via EntityFramework and pass on to view.
In view i bind HTML table with Foo table plug-in.
I see that Foo table is able to display records on 1st page. When i click on 2nd page link in bottom-pager, data do not get showed-up on 2nd page.
Also if when i come back on 1st page (by clicking on 1st page link), i cannot see initial data.
Below is my Controller Code:
public ActionResult Test()
{
using (Development_Entities entities = new Development_Entities())
{
var Result = entities.GetAllMembers().ToList();
return View("Test", Result);
}
}
+1
Have you found a solution for that? i am facing the same problem, but only when i supply the options by javascript. concerns no only paging, but filtering as well, sorting is working this way...
Hi Friends,
i am trying to implement Foo Table paging for my ASP.NET MVC application.
In controller i retrieve data from Stored Proc of DB via EntityFramework and pass on to view.
In view i bind HTML table with Foo table plug-in.
I see that Foo table is able to display records on 1st page. When i click on 2nd page link in bottom-pager, data do not get showed-up on 2nd page.
Also if when i come back on 1st page (by clicking on 1st page link), i cannot see initial data.
Below is my Controller Code:
Below is my View Code:
Can you please tell me where i am wrong ?
Thanks in advance Dev