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
- Pair.cs
- PrintPageEvent.cs
- JournalEntry.cs
- XmlILIndex.cs
- AutomationIdentifier.cs
- TabletDeviceInfo.cs
- ColorTransformHelper.cs
- _DomainName.cs
- BulletedListEventArgs.cs
- ZipIOLocalFileHeader.cs
- HMAC.cs
- PageCache.cs
- XmlILModule.cs
- CrossAppDomainChannel.cs
- SystemSounds.cs
- SqlDataReader.cs
- TabItem.cs
- KnownTypesProvider.cs
- TraceXPathNavigator.cs
- Utils.cs
- SqlBooleanMismatchVisitor.cs
- SourceSwitch.cs
- StylusButtonEventArgs.cs
- XmlReflectionImporter.cs
- XmlSubtreeReader.cs
- QuerySettings.cs
- WorkerRequest.cs
- Guid.cs
- Int32RectConverter.cs
- Literal.cs
- BCLDebug.cs
- CodeCatchClause.cs
- SqlCaseSimplifier.cs
- GregorianCalendarHelper.cs
- XmlConvert.cs
- WindowsIdentity.cs
- ButtonBase.cs
- PersonalizationProviderHelper.cs
- CacheMemory.cs
- XmlWrappingWriter.cs
- DocumentSequence.cs
- SettingsBase.cs
- BlurBitmapEffect.cs
- NamedElement.cs
- ComponentChangedEvent.cs
- FixedHighlight.cs
- TextEffect.cs
- OutputChannel.cs
- AssemblyAttributesGoHere.cs
- TiffBitmapEncoder.cs
- ClientFormsIdentity.cs
- DiagnosticStrings.cs
- UrlMappingsSection.cs
- XmlnsPrefixAttribute.cs
- PingReply.cs
- SoapReflectionImporter.cs
- SelectorAutomationPeer.cs
- PieceNameHelper.cs
- SecurityContext.cs
- CroppedBitmap.cs
- HotCommands.cs
- DiscoveryDocumentSearchPattern.cs
- CodeMemberField.cs
- Parallel.cs
- Event.cs
- AnimationClockResource.cs
- KeyedQueue.cs
- InvokeMethodActivity.cs
- VariableAction.cs
- ListViewInsertedEventArgs.cs
- UnsettableComboBox.cs
- TemplateControl.cs
- HttpRawResponse.cs
- FacetDescription.cs
- QueryStatement.cs
- ImmutablePropertyDescriptorGridEntry.cs
- PropertyDescriptorCollection.cs
- FontEditor.cs
- FactoryMaker.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ItemChangedEventArgs.cs
- CodeSubDirectoriesCollection.cs
- BaseParaClient.cs
- PointHitTestParameters.cs
- SchemaImporterExtension.cs
- CreateParams.cs
- XmlSchemaParticle.cs
- ParallelForEach.cs
- CTreeGenerator.cs
- ProjectedSlot.cs
- ListViewInsertionMark.cs
- WorkerRequest.cs
- DocumentPageView.cs
- CounterSample.cs
- VectorKeyFrameCollection.cs
- BufferedGraphics.cs
- Hash.cs
- AppDomainShutdownMonitor.cs
- D3DImage.cs
- StylusPlugInCollection.cs