This is more of a code snippet than a post but I’ve been using this lately and it’s a very simple and clean way to display user-friendly messages to your users. It will require you to use toastr.js which can be installed using NuGet. Toastr.js requires jQuery 1.6.3 or greater which will b... [More]
I was recently approached with a question on how someone could implement a checkbox field in a paged GridView that would allow a user to make selections on one page then change pages and still have those selections remembered when they move back to the previous page of data. The reason this problem ... [More]
The Twitter Bootstrap alert component is an easy and good looking way to provide feedback to a user. The example from the Twitter Bootstrap web site uses straight html.
<button type="button" class="close" data-dismiss="alert">×</button>
I have recently began working on a small project to create some html helpers using the Twitter Bootstrap framework. Right now the library is a work in progress and probably not anywhere near ready for production use. This is also my first attempt at creating a library of html helpers so I'm sure the... [More]
This post will show you how to define your columns programmatically in the codebehind. It's a little more work and requires an extra trip to the database, but here's how you could do it.First, a quick side note: I am using Entity Framework and the System.Linq.Dynamic namespace, which can be add... [More]