Library tutorials & articles

Introduction to custom server controls

Overview

This article will serve as an introduction to developing custom server controls, but it is by no means meant for people who do not have a decent understanding of C#.

In this article I'll guide you through the creation of a guestbook that you can use on your site or whatever. The guestbook will be organized like this:

  • GuestbookForm.cs - This will be the control that allows users to sign the guestbook
  • GuestbookRepeater.cs - This will be the control that displays all the entries in the guestbook
  • XmlEngine.cs - This class will control the retrieval and insertion of guestbook entries from the XML file
  • Guestbook.xml - This XML file will hold all the guestbook entries

Ok, we're just about ready to start developing this little application, but I just though I'd mention that the XmlEngine class will not be described in detail as I assume you understand what is going on there when you see it.
Well enough of this, let's start off by developing our XmlEngine class then...

Comments

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of Introduction to custom server controls.

Leave a comment

Sign in or Join us (it's free).

Thomas Johansen

Related podcasts

Events coming up

  • Mar 15

    DevWeek 2010

    London, United Kingdom

    DevWeek is Europe’s leading independent conference for software developers, database professionals and IT architects, and features expert speakers on a wide range of topics, including .NET 4.0, Silverlight 3, WCF 4, Visual Studio 2010, REST, Windows Workflow 4, Thread Synchronization, ASP.NET 4.0, SQL Server 2008 R2, LINQ, Unit Testing, CLR & C# 4.0, .NET Patterns, WPF 4, F#, Windows Azure, ADO.NET, Entity Framework, Debugging, T-SQL Tips & Tricks, and more.

Want to stay in touch with what's going on? Follow us on twitter!