News

join in LINQ to SQL and LINQ to Entities Considered Messy, Redundant

Author: Alf Christophersen In this post I will demonstrate that use of the join keyword in LINQ to SQL and LINQ to Entities is nearly always wrong. LINQ queries which you write with the join keyword are harder to read and write than queries you write using associations, and they require knowledge of database metadata which is not required otherwise. This introduces the potential for errors and…
Read more
News

Using DayPilot with ASP.NET MVC

Author: Craig Stuntz 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…
News

Using jqGrid with ASP.NET MVC: Deleting Records

Author: Craig Stuntz 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…
News

Using jqGrid with ASP.NET MVC: Search and Formatting

Author: Craig Stuntz 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 fixed a bug reported by Andrey last time. If…
Read more
News

Using jqGrid with ASP.NET MVC: LINQ Extensions

Author: Craig Stuntz 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…
News

Using jqGrid with ASP.NET MVC: Introduction

Author: Herwig H10162 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…
News

ASP.NET MVC TempData Is Really RedirectData

Author: Craig Stuntz Update: This post was written for MVC 1. TempData behaves completely differently in MVC 2 Beta and higher. In these versions, TempData is cleared only when it is read (or when the session expires). Many people seem to be confused about the TempData feature in ASP.NET MVC. TempData behaves like the ViewData dictionary, except that it persists until the next request from the…
Read more
News

Customizing jQuery Validation

Author: Andrew Bond While doing some bug fixing and cleanup in a web application, I had the chance to go a little deeper into the jQuery user input validation framework. There are many tutorials available about implementing custom validations. But what I wanted to do was to…
Delphi

Dynamic Creation of IntraWeb Components

Author: Craig Stuntz For the past couple of days I’ve been working on an experimental IntraWeb (a.k.a., “VCL for the Web”) project. Since I typically generate user interfaces dynamically, I wanted to see how that worked with IntraWeb. On the surface, it’s fairly similar to the regular VCL, but there are some important differences. Rule number one is that all components you create…
Read more