O'Reilly logo

ASP.NET for Web Designers by Peter Ladka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The XML Server Control

The first thing to cover is the XML server control. This is located in the System.Web.UI.WebControls namespace and looks like the following:

<asp:xml runat="server" /> 

As you can see, it is no different from any other server control in the way it is addressed. In inherits the Control object (as do all the other Web server controls), which provides it with all the base properties such as ID, EnableViewState, and Visible. If you need a refresher on all the properties it inherits from the Control object, refer back to Chapter 7 or the .NET Framework SDK. Table 13.1 looks at the additional properties that we’ll be dealing with.

Table 13.1. XML Object Properties
Property Description
Document Gets or set the System.Xml.XmlDocument ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required