I was going to start this post with a rousing ARE YOU READY FOR SOME PROGRAMMING?, but my lawyer suggested it might cause the NFL to take action against me. He suggested something more simple like PROGRAMMING HAPPENS HERE! since he had high doubts the NBA will sue me. After all they’d have to admit [...]
ASP.Net MVC: Create a link method… ie JUST GIVE ME THE STUPID URL
One thing that kind of annoys me is the situation where you just want a url, but you don’t want one of the prepackaged links using: Html.RouteLink Or Html.ActionLink Mostly because you want to be able to create your own html and you only want the created url. Well turns out there’s a method for [...]
Paging and the Entity Framework, Skip, and Take Part 4
Get the total count of pages. | Get the real page number. | Using Skip and Take to Page | The Actual Paging Controls Now onto the fourth part of this epic saga that George Washington once called, “The most astounding exercise in futility” Ok so let’s say you have a grid, items to fill [...]
Paging and the Entity Framework, Skip, and Take Part 3
Get the total count of pages. | Get the real page number. | Using Skip and Take to Page | The Actual Paging Controls Ok so the last two posts have been arguably useless, maybe more so than anything else here, but they were somewhat needed because now I am going to show how to [...]
Paging and the Entity Framework, Skip, and Take Part 2
Get the total count of pages. | Get the real page number. | Using Skip and Take to Page | The Actual Paging Controls So in part one I posted the method to find the total count of pages you’ll need so that you don’t go too far while paging. Now it’s about trying to [...]