Dotnet
- Kendo UI MVC Grid with Custom Calendar Filter
Here is my code for filtering a Kendo Grid using the Kendo Calendar control. Important things to note: The read method needs to accept a DataSourceRequest object. This will allow the filters you apply to the grid in JavaScript to be performed on the data you retrieve on the server side.
- Kendo UI MVC Grid DatePicker In-Line and In-Cell Edit Validation Error - The Value Is Not Valid
Errors:The value ‘Date Time’ is not valid for Field. If you are using the Kendo UI MVC grid with in-line or in-cell editing and you are using a culture that does not format the dates with the month first (eg en-US) you might encounter the above error when you enter a date over the 12th day because it will try to save the day as the month.
- How to add a checkbox to a Kendo UI MVC Grid
Ok took me a while to find this by piecing together information from various sources on the web. columns.Bound(p => p.Discontinued).ClientTemplate("<input type='checkbox' #= Discontinued ? checked='checked' : '' # ></input>") Do you agree with this solution? Do you know a better way? Please feel free to leave a comment and help us all in our quest for perfect code :-)
- Microsoft Visual Studio 2012 - Converting SQL Server Express database to LocalDB
When you open an old project in visual studio 2012 that contains a SQL Server Express DataBase you may get the following message: The Web project ‘Project Name’ requires SQL Server Exress, which is not installed on this computer. The recommended database engine for Visual Studio 2012 is SQL Server LocalDB Express. To upgrade the project database to use SQL Server LocalDB Express, double-clisk the database file and follow the instructions. Note: After this upgrade, the project database can’t be modified using earlier versions of Visual Studio. To use SQL Server Express for this project, install it from the Microsoft Download Center.