(Brian Mains) In my previous article I wrote about the basics of developing data control fields that can be used in the GridView or DetailsView field. This article will show some more concrete examples, using a more simplified approach by creating a custom base class that makes developing custom dat
Tag: Development
WPF Basics: How To Add Controls Dynamically at Run Time
(Ged Mead) Adding controls at run time using VB.NET in Windows Forms is fairly well-documented. Finding C# code-behind samples for doing this with WPF controls under Framework 3.0 is also an easy task.
ASP.NET hang/slowness on startup
(Tess Fernandez) After making some changes to their domains one of my customers noticed that their ASP.NET 2.0 applications didn’t respond anymore. HTML pages and images were serving just fine as well as their ASP.NET 1.1. sites, but all their 2.0 sites on all servers seemed to hang when browsing to
Using ASP.NET 3.5’s ListView and DataPager Controls: Sorting Data with the ListView Control
(Scott Mitchell) When binding data to a GridView using a data source control, enabling sorting is as simple as ticking the “Enable Sorting” checkbox in the GridView’s Smart Tag. Enabling sorting turns each GridView column’s header into a LinkButton that, when clicked, causes a postback and re-binds
Understanding Single Sign-On in ASP.NET 2.0
(Masoud Tabatabaei) Normally when you are implementing authentication in ASP.NET web application, you have to create a login page for each of your applications. Imagine that you have two or more web application which are related together. So you may want to use a mechanism which allows you to create
View database structure using C#
(Scott Lysle) This article describes an easy approach to examining all of the tables, views, and columns in a database, the article is written to describe an example application that may be used to connect to a database (Oracle, SQL Server, or MS Access), view that database’s tables and views, and d
Working with LINQ in Visual Studio 2008
(Tony Patton) Last week, I introduced the basics about the .NET Language-Integrated Query (LINQ) technology. Now I’ll cover how the O/R Designer feature in Visual Studio 2008 allows you to use LINQ to access SQL Server.
Onchanged Event for Composite User Controls
(Michael Livshitz) In a previous article we discussed some ways to create composite user controls with OnChanged events. Our goal was to catch any data changes, which could occur on some form with many controls, and then to react to these changes by starting some process, prompting with a question o
Changing The Background Color of a TabControl’s Tab
(Ged Mead) I’ve noticed a couple of questions in the VB.NET forums recently where someone wants to change the BackColor of the Tab Header on TabPages. As far as I know, in VB2005 and earlier you have to either use OwnerDraw techniques or subclass your own version of a TabControl.
Creating Composite Controls
(Bipin Joshi) So far in this series you developed controls by emitting raw HTML markup. As you will agree with me this can be tedious at times. Won’t it be nice if you can assemble existing controls of ASP.NET and render them as a part of your control? In fact this is a common requirement in many ca
