Skip to content

Commit 653ff02

Browse files
author
interestincode
committed
RegisterDatatablesModelBinder namespace fix
Fixes the error: "The type or namespace name 'RegisterDatatablesModelBinder' could not be found (are you missing a using directive or an assembly reference?)" caused by namespace not being part of PreApplicationStartMethod.
1 parent 1f7b7fa commit 653ff02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mvc.JQuery.Datatables/RegisterDatatablesModelBinder.cs.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Web.WebPages;
44
using Mvc.JQuery.Datatables;
55

6-
[assembly: PreApplicationStartMethod(typeof(RegisterDatatablesModelBinder), "Start")]
6+
[assembly: PreApplicationStartMethod(typeof($rootnamespace$.RegisterDatatablesModelBinder), "Start")]
77

88
namespace $rootnamespace$ {
99
public static class RegisterDatatablesModelBinder {

0 commit comments

Comments
 (0)