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. */ ////// [ConstructorNeedsTag(true)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlGenericControl : HtmlContainerControl { /* * Creates a new WebControl */ ////// The ///class defines the methods, /// properties, and events for all HTML Server control tags not represented by a /// specific class. /// /// public HtmlGenericControl() : this("span") { } /* * Creates a new HtmlGenericControl */ ///Initializes a new instance of the ///class with default /// values. /// public HtmlGenericControl(string tag) { if (tag == null) tag = String.Empty; _tagName = tag; } /* * Property to get name of tag. */ ///Initializes a new instance of the ///class using the specified /// string. /// [ WebCategory("Appearance"), DefaultValue(""), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden) ] new public string TagName { get { return _tagName;} set {_tagName = value;} } } }/// Gets or sets the element name of a tag that contains a /// runat="server" attribute/value pair. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AttachedAnnotationChangedEventArgs.cs
- NavigationWindowAutomationPeer.cs
- DrawingAttributesDefaultValueFactory.cs
- KeyFrames.cs
- basenumberconverter.cs
- SmiContextFactory.cs
- TrackingLocation.cs
- AccessedThroughPropertyAttribute.cs
- PeerCollaboration.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DataGridViewTopRowAccessibleObject.cs
- ProfileInfo.cs
- Rect3D.cs
- CustomAttributeSerializer.cs
- ExtenderControl.cs
- ColorContextHelper.cs
- ConstructorNeedsTagAttribute.cs
- DbReferenceCollection.cs
- DialogResultConverter.cs
- OrderedDictionary.cs
- WebPartZone.cs
- WebSysDescriptionAttribute.cs
- ProcessStartInfo.cs
- DefaultPropertyAttribute.cs
- Registry.cs
- Module.cs
- ResourceContainer.cs
- SelectorAutomationPeer.cs
- BaseParser.cs
- RawUIStateInputReport.cs
- SimpleTextLine.cs
- RegistryDataKey.cs
- BidPrivateBase.cs
- PseudoWebRequest.cs
- ConfigurationProperty.cs
- NodeCounter.cs
- ObjectSerializerFactory.cs
- ValueQuery.cs
- CDSsyncETWBCLProvider.cs
- CacheVirtualItemsEvent.cs
- HostVisual.cs
- PropertyItem.cs
- PropertyChangedEventArgs.cs
- IconConverter.cs
- ProcessInputEventArgs.cs
- OciLobLocator.cs
- Cursor.cs
- AvTraceFormat.cs
- HtmlInputControl.cs
- HealthMonitoringSectionHelper.cs
- CreateUserWizardStep.cs
- SettingsSavedEventArgs.cs
- TypeDefinition.cs
- TTSEngineTypes.cs
- BaseValidatorDesigner.cs
- Serializer.cs
- MdiWindowListItemConverter.cs
- NullableDecimalSumAggregationOperator.cs
- VScrollProperties.cs
- BindingParameterCollection.cs
- ServiceReference.cs
- ExpressionBindingCollection.cs
- thaishape.cs
- ProvidePropertyAttribute.cs
- CodeMemberEvent.cs
- SoapReflector.cs
- TextBoxAutomationPeer.cs
- DBConnection.cs
- ParameterCollection.cs
- XmlDictionary.cs
- SvcMapFileSerializer.cs
- StylusButtonEventArgs.cs
- WebMessageFormatHelper.cs
- PropertyItemInternal.cs
- ReadOnlyAttribute.cs
- SqlClientWrapperSmiStream.cs
- TemplateXamlTreeBuilder.cs
- XmlUrlEditor.cs
- WebPartTransformer.cs
- Int32CAMarshaler.cs
- ErrorFormatter.cs
- DataGridItemEventArgs.cs
- XmlWellformedWriter.cs
- TextTabProperties.cs
- Mappings.cs
- AssemblyAttributes.cs
- ConditionChanges.cs
- CodeAttributeArgument.cs
- SocketElement.cs
- SqlClientFactory.cs
- RegexParser.cs
- WebBrowserBase.cs
- Executor.cs
- SafeFindHandle.cs
- ExceptionCollection.cs
- VisualStyleElement.cs
- WsatServiceAddress.cs
- DataGridViewCellValidatingEventArgs.cs
- ProtocolElementCollection.cs
- RuleSet.cs