Log Grid added, using server side filtering, sorting and paging. Using DynamicQueryable.

This commit is contained in:
Mark McDowall
2012-02-09 09:41:51 -08:00
parent ca5888160d
commit 9c24b5989b
16 changed files with 4886 additions and 64 deletions
@@ -0,0 +1,15 @@
using System.Web.Mvc;
using System.Web.WebPages;
using NzbDrone.Web.Helpers;
using NzbDrone.Web.Models;
[assembly: WebActivator.PreApplicationStartMethod(typeof(NzbDrone.Web.App_Start.RegisterDatatablesModelBinder), "Start")]
namespace NzbDrone.Web.App_Start {
public static class RegisterDatatablesModelBinder {
public static void Start() {
if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams)))
ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder());
}
}
}