Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuget package update from 1.5.31 - DataTablesModelBinder #164

Open
mcshaz opened this issue Jun 13, 2017 · 4 comments
Open

nuget package update from 1.5.31 - DataTablesModelBinder #164

mcshaz opened this issue Jun 13, 2017 · 4 comments

Comments

@mcshaz
Copy link
Contributor

mcshaz commented Jun 13, 2017

I installed nuget package 1.5.31 (.net 4.5.1, NOT core), but the DataTablesParam was not binding the sSearchValues array. When I downloaded and included the relevant projects hosted on github, the binding worked perfectly.

This makes me suspect that at the time the nuget package was uploaded, there was an error within the DataTablesModelBinder code which has subsequently been corrected or reverted to a prior working version. If this is the case, could a new version be uploaded to nuget? Thank you.

As a small side note, the DataTablesModelBinder .BindModel method chooses between bind v10 and bind legacy - would you be able to add a comment to the code on what this refers to (exactly what version of what library) (I had assumed datatables 1.10.x but this does not seem to be the case).

Thank you

@mcintyre321
Copy link
Owner

mcintyre321 commented Jun 13, 2017 via email

@archana0909
Copy link

hi
I installed nuget package 1.5.50 for .net(not core ) application but the DataTablesParam was not binding for any property at all while it is binding if I run the MvcJquery.DatatTable.Example project. I'm using DataTables 1.10.11 version. Should i be using a different version of datatables?
s1
s2

@mcintyre321
Copy link
Owner

It looks like the model binder registration could be missing in your project. Check the files in app_start in your project

@archana0909
Copy link

yeah it seems the modelbinder class does not get downloaded with the nuget package.
Added it manually and it worked. :) thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants