Skip to content

{ Tag Archives } asp.net mvc

Using DayPilot with ASP.NET MVC

I’m going to demonstrate how to use the open-source DayPilot Lite calendar control in an ASP.NET MVC application. I will discuss the capabilities of the control and consider the general problem of how to use controls designed for "plain" ASP.NET in MVC applications. I’m including a demo solution which you can download and run yourself.
Download [...]

Also tagged , , ,

Using jqGrid with ASP.NET MVC: Understanding LINQ Errors

If you spend enough time with the PagedList class that I’ve been using for paging in the method which supplies data to jqGrid, it’s a near-certainty that sooner or later you will see a LINQ error with Count in the call stack. The error may seem confusing, because it has nothing to do with Count. [...]

Also tagged , , , , ,

Using jqGrid with ASP.NET MVC: Deleting Records

This is the fifth post in a series on using jqGrid with ASP.NET MVC. Today, we’re going to begin examining the grid’s editing features by implementing deletes. If you’re new to the series, you might want to start at the beginning.
The delete feature of jqGrid is, oddly, almost entirely undocumented, even though there quite a [...]

Also tagged ,

Using jqGrid with ASP.NET MVC: Search and Formatting

This is the fourth post in a series on using jqGrid with ASP.NET MVC. Today, we’re going to examine search and formatting results. I will implement a search feature and fix the problem with formatting date columns which I observed in the last post. I’ve updated the demo solution with these new features, and also [...]

Also tagged , , , ,

Using jqGrid with ASP.NET MVC: Finally, A Solution

Having introduced jqGrid and written LINQ extension methods to make supplying data to the grid easy, we’re now ready to put together a demo application. The solution I’m going to build demonstrates sorting and paging. In a future post, I will enhance it to demonstrate search, formatting, and editing data. I’ve made the demo application [...]

Also tagged ,

Using jqGrid with ASP.NET MVC: LINQ Extensions

Mere hours after I posted the first in a planned series of posts on using jqGrid in ASP.NET MVC applications, Phil Haack, a rather-more-widely-read-ASP.NET-MVC-blogger, wrote a long post on, er, exactly the same thing. Who, me, bitter? Naahhh…
But it turns out that we’re using the grid in a different way, and I think [...]

Also tagged , ,

Using jqGrid with ASP.NET MVC: Introduction

This is the first post in a short series on using the jqGrid jQuery plug-in with ASP.NET MVC. In this short introduction I will describe the plug-in, list some of its strengths and weaknesses, and explain why we selected it for our MVC applications. In the next few days, I will give detailed information about [...]

Also tagged ,

What ASP.NET MVC Did Learn from Rails

This morning, I saw two different posts from Rails developers who were newly learning ASP.NET MVC, both bemoaning the fact that ASP.NET MVC does not supply/force upon you one particular ORM. The dependency on ActiveRecord is, to my way of thinking, a shortcoming of Rails, which the Rails community is presently doing an exceptional job [...]

Also tagged , ,

ASP.NET Routing and ASP.NET MVC

.NET 3.5 SP1 introduced ASP.NET Routing. This feature is primarily used by ASP.NET MVC and Dynamic Data. Routing is actually a very simple feature; here is what it does:

Stores a list of routes.
Translates an incoming URI into lists of values and tokens, and passes those lists to the handler specified on the route. In the [...]

Also tagged ,

jQuery and ASP.NET MVC Model Binding to a List

In ASP.NET MVC, when you want to submit a page with many instances of a certain type (e.g., a form with a list of phone numbers), the framework will recognize the form elements as a list if you use a specific format for the name attribute of the inputs. This allows you to have an [...]

Also tagged , ,

Bad Behavior has blocked 713 access attempts in the last 7 days.

Close