Implementing a checkbox in Editor using http://editor.datatables.net/examples/api/checkbox.html
Implementing a checkbox in Editor using http://editor.datatables.net/examples/api/checkbox.html
Hi I am trying to implement a checkbox field in Editor for my database field of type bit in SQL Server.
I am reffering to the local version of the above example for .NET i.e http://localhost:xxx/Web/examples/api/checkbox.html
When I run this example I get the following error in the Firefox debugger:
Message: "No HTTP resource was found that matches the request URI 'http://localhost:xxxxx/api/checkbox?_=1443533414355'."
MessageDetail: "No type was found that matches the controller named 'checkbox'."
I can see that the following request is made from the browser:
http://localhost:xxxxx/api/checkbox?_=1443533414355
and I think there is no Checkbox controller present in the Controllers folder of the downloaded examples
I suppose the corresponding examples at http://editor.datatables.net/examples/api/checkbox.html is working as it is using PHP
Do you have missing controller?
Regards
Hasan
KasamaliHasan@Yahoo.co.uk
Replies
Hi Hasan,
Thanks for letting me know about this - the controller and model are missing from the 1.5.1 download package for .NET. They should be:
Model:
Controller:
I'll have them in 1.5.2!
Regards,
Allan