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
- TreeWalker.cs
- DocumentSchemaValidator.cs
- WizardPanelChangingEventArgs.cs
- ApplicationSecurityInfo.cs
- XamlVector3DCollectionSerializer.cs
- KeysConverter.cs
- DBDataPermissionAttribute.cs
- BindableAttribute.cs
- TranslateTransform3D.cs
- RegionIterator.cs
- ButtonBaseAdapter.cs
- _SafeNetHandles.cs
- Point4DValueSerializer.cs
- ResourceManagerWrapper.cs
- SafeHandle.cs
- AnnotationResource.cs
- HtmlInputButton.cs
- AccessDataSource.cs
- ProfilePropertyNameValidator.cs
- WebPartTracker.cs
- PrimitiveRenderer.cs
- XsltException.cs
- TextEncodedRawTextWriter.cs
- Operand.cs
- ApplicationServicesHostFactory.cs
- QueueProcessor.cs
- SmtpNegotiateAuthenticationModule.cs
- XMLSchema.cs
- BaseCollection.cs
- Point.cs
- _NegoStream.cs
- ActiveXSite.cs
- CheckedPointers.cs
- CollaborationHelperFunctions.cs
- CommonDialog.cs
- StructuredTypeInfo.cs
- ContractListAdapter.cs
- Properties.cs
- DifferencingCollection.cs
- CharConverter.cs
- ObjectConverter.cs
- EmptyCollection.cs
- TextView.cs
- FunctionUpdateCommand.cs
- PtsCache.cs
- ProviderCommandInfoUtils.cs
- HostingEnvironmentWrapper.cs
- CachedFontFamily.cs
- PermissionRequestEvidence.cs
- VariableBinder.cs
- HtmlToClrEventProxy.cs
- CacheForPrimitiveTypes.cs
- CharEntityEncoderFallback.cs
- DataTableClearEvent.cs
- PackageController.cs
- SecurityException.cs
- HttpStreamMessage.cs
- RouteValueDictionary.cs
- CfgArc.cs
- HttpCookie.cs
- SimpleModelProvider.cs
- BamlLocalizabilityResolver.cs
- HotCommands.cs
- StreamUpgradeProvider.cs
- HandledMouseEvent.cs
- FileLoadException.cs
- DictionaryEditChange.cs
- GregorianCalendarHelper.cs
- _HeaderInfo.cs
- BitmapImage.cs
- InplaceBitmapMetadataWriter.cs
- HtmlControlPersistable.cs
- CqlQuery.cs
- Flattener.cs
- DataGridViewComboBoxCell.cs
- GridViewColumnHeaderAutomationPeer.cs
- ReachNamespaceInfo.cs
- Metadata.cs
- FontDriver.cs
- DeploymentExceptionMapper.cs
- Listbox.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- AutoResizedEvent.cs
- RenderCapability.cs
- CompModHelpers.cs
- Int64.cs
- DateTimeConstantAttribute.cs
- XmlSchemaSet.cs
- PeerIPHelper.cs
- PreloadHost.cs
- PhysicalOps.cs
- MenuItemAutomationPeer.cs
- SqlWriter.cs
- ChildDocumentBlock.cs
- BookmarkEventArgs.cs
- documentsequencetextcontainer.cs
- MLangCodePageEncoding.cs
- StoragePropertyMapping.cs
- HttpFileCollectionWrapper.cs
- EdmItemError.cs