Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlGenericControl.cs / 1 / HtmlGenericControl.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* HtmlGenericControl.cs
*
* Copyright (c) 2000 Microsoft Corporation
*/
namespace System.Web.UI.HtmlControls {
using System;
using System.Collections;
using System.ComponentModel;
using System.IO;
using System.Web.UI;
using System.Security.Permissions;
/*
* A control representing an unknown Html tag.
*/
///
///
/// The class defines the methods,
/// properties, and events for all HTML Server control tags not represented by a
/// specific class.
///
///
[ConstructorNeedsTag(true)]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class HtmlGenericControl : HtmlContainerControl {
/*
* Creates a new WebControl
*/
///
/// Initializes a new instance of the class with default
/// values.
///
public HtmlGenericControl() : this("span") {
}
/*
* Creates a new HtmlGenericControl
*/
///
/// Initializes a new instance of the class using the specified
/// string.
///
public HtmlGenericControl(string tag) {
if (tag == null)
tag = String.Empty;
_tagName = tag;
}
/*
* Property to get name of tag.
*/
///
///
/// Gets or sets the element name of a tag that contains a
/// runat="server" attribute/value pair.
///
///
[
WebCategory("Appearance"),
DefaultValue(""),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)
]
new public string TagName {
get { return _tagName;}
set {_tagName = value;}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Fault.cs
- GenericTransactionFlowAttribute.cs
- RegisteredScript.cs
- DragDropManager.cs
- CodeDelegateInvokeExpression.cs
- OutputScope.cs
- CodeMemberEvent.cs
- XmlSchemaObjectTable.cs
- ReturnValue.cs
- LazyTextWriterCreator.cs
- CharEntityEncoderFallback.cs
- ForceCopyBuildProvider.cs
- OutArgument.cs
- InputMethod.cs
- ContainerVisual.cs
- MediaElement.cs
- DataGridViewDataConnection.cs
- HandledMouseEvent.cs
- WebDisplayNameAttribute.cs
- RunWorkerCompletedEventArgs.cs
- OracleConnection.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- MobileComponentEditorPage.cs
- StatusBarDrawItemEvent.cs
- TokenizerHelper.cs
- MexHttpBindingElement.cs
- QuaternionValueSerializer.cs
- BaseUriWithWildcard.cs
- XmlIgnoreAttribute.cs
- DisplayNameAttribute.cs
- TripleDESCryptoServiceProvider.cs
- TextTreeUndo.cs
- initElementDictionary.cs
- XMLUtil.cs
- VectorConverter.cs
- NullableConverter.cs
- SoapExtensionReflector.cs
- AtomMaterializer.cs
- TransformerInfo.cs
- SystemResourceKey.cs
- RTLAwareMessageBox.cs
- DatagramAdapter.cs
- CustomValidator.cs
- ResXResourceWriter.cs
- FontFamilyIdentifier.cs
- cryptoapiTransform.cs
- BitmapImage.cs
- MetricEntry.cs
- SqlPersonalizationProvider.cs
- PropertyEmitterBase.cs
- DependencyObject.cs
- EditingMode.cs
- RoleManagerEventArgs.cs
- PeerCredential.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- ValidatedControlConverter.cs
- BamlVersionHeader.cs
- XmlDictionaryString.cs
- ParagraphVisual.cs
- PersonalizationState.cs
- SQLResource.cs
- MissingMemberException.cs
- PagesChangedEventArgs.cs
- MethodAccessException.cs
- Soap11ServerProtocol.cs
- GenericUriParser.cs
- Selection.cs
- HttpStaticObjectsCollectionWrapper.cs
- SelectionEditor.cs
- ToolStripPanelRenderEventArgs.cs
- ListBox.cs
- QuerySafeNavigator.cs
- HttpHandlerAction.cs
- FreeFormDesigner.cs
- FactoryRecord.cs
- CodeRemoveEventStatement.cs
- ParentQuery.cs
- SecurityRuntime.cs
- EditorAttribute.cs
- PostBackOptions.cs
- BamlResourceContent.cs
- OracleConnectionString.cs
- DynamicQueryStringParameter.cs
- ConfigurationManagerHelper.cs
- RtType.cs
- PenContexts.cs
- NativeStructs.cs
- SqlLiftIndependentRowExpressions.cs
- Profiler.cs
- InvalidCardException.cs
- VideoDrawing.cs
- ResolveNameEventArgs.cs
- DataGridViewCellStyleChangedEventArgs.cs
- BinaryReader.cs
- ColorDialog.cs
- WebSysDescriptionAttribute.cs
- UpdateRecord.cs
- SHA1Managed.cs
- GlyphsSerializer.cs
- DesignBinding.cs