.NET Answers

ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.
Subscribe

The .NET Framework Library Source Code has been released.

January 17, 2008 By: Dave Category: none

 Scott just posted that the .NET Framework Source has just been released with instructions on how to get a hold of it and put it on your development computer.

(more…)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Add/Edit/Delete with ListView

January 16, 2008 By: Dave Category: none

Last week we took a short look at the new ListView control in ASP.NET 3.5.  Today, we’ll take a brief look at Add/Edit/Delete.  This is actually pretty simple stuff.

(more…)

Sorting the ListView in ASP.NET

January 10, 2008 By: Dave Category: none

Are you confused about how to implement sorting in the new ListView control in ASP.NET 3.5?  Join me as I show you in this step by step video showing you exactly how to sort a ListView, even when it isn’t in gridview mode.

(more…)

ListView and the DataPager

January 07, 2008 By: Dave Category: none

One of the new controls that Visual Studio 2008 brings us is the ListView.  Now, the ListView control is really several different controls all rolled into one.  There is a lot to see with this control.  So, today is just going to be a small introduction.  We’ll come back another day and do a presentation that goes deeper than we have time for today. (more…)

Validating A Checkbox . . .

January 04, 2008 By: Dave Category: none

. . . and other ASP.NET controls that the Validation controls can not be wired to.

The presentation today may be something you already know how to do.  But, this question comes up repeatedly in my work as a .NET coach, which means there are still people who don’t know how to do this.  There are other people who think they know how to do this but are hacking the solution.  I encourage you to watch the video.  My bet is that 80% of you that do will learn something you didn’t already know about the validation controls and how to use them properly.

Here’s the basic problem.  There are controls in the .NET framework that can not be wired to the standard validation controls.  The checkbox control is one example.  You can’t use the RequiredFieldValidator because it has a value.  It’s either true or false.  And you can’t provide a RegularExpressionValidator or one of the others because it is a boolean value.

(more…)