Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the element name of a tag that contains a /// runat="server" attribute/value pair. /// ///// 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;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- WindowsRichEditRange.cs
- LiteralTextParser.cs
- SQLResource.cs
- ConstraintManager.cs
- OleStrCAMarshaler.cs
- UmAlQuraCalendar.cs
- XmlIncludeAttribute.cs
- WebPartDisplayModeEventArgs.cs
- InvokeProviderWrapper.cs
- arabicshape.cs
- StateWorkerRequest.cs
- TraceContextEventArgs.cs
- RuntimeConfigLKG.cs
- BaseParaClient.cs
- CodeDomDesignerLoader.cs
- EpmSourceTree.cs
- BaseParser.cs
- NullableBoolConverter.cs
- FilterException.cs
- StyleModeStack.cs
- APCustomTypeDescriptor.cs
- FormsAuthenticationCredentials.cs
- InputChannelAcceptor.cs
- CompositeFontParser.cs
- DesignerDataSchemaClass.cs
- ComponentEditorPage.cs
- AnimatedTypeHelpers.cs
- SettingsPropertyNotFoundException.cs
- XPathDocumentNavigator.cs
- SettingsBase.cs
- RegistrationServices.cs
- ImageCollectionCodeDomSerializer.cs
- WindowsToolbarAsMenu.cs
- TableSectionStyle.cs
- ByteAnimationBase.cs
- SharedPersonalizationStateInfo.cs
- ClockController.cs
- SafeNativeMethods.cs
- ResourceType.cs
- Switch.cs
- GiveFeedbackEvent.cs
- WeakReadOnlyCollection.cs
- TemplateBuilder.cs
- SpecialNameAttribute.cs
- sqlser.cs
- DesignTimeVisibleAttribute.cs
- Mutex.cs
- MetadataWorkspace.cs
- DataBoundControlHelper.cs
- ConnectionManagementElementCollection.cs
- RouteParameter.cs
- SqlDataSourceFilteringEventArgs.cs
- BinHexEncoder.cs
- SQLMembershipProvider.cs
- CustomBindingElementCollection.cs
- TextInfo.cs
- RelationshipNavigation.cs
- TaskExceptionHolder.cs
- StringHandle.cs
- WindowPattern.cs
- WindowsIPAddress.cs
- MappingSource.cs
- ProofTokenCryptoHandle.cs
- DataGridViewColumnCollection.cs
- VerticalAlignConverter.cs
- XmlAttributeProperties.cs
- ProfessionalColorTable.cs
- MatchNoneMessageFilter.cs
- EntityDataSourceDesignerHelper.cs
- BitmapFrameEncode.cs
- ReaderWriterLockWrapper.cs
- RadioButton.cs
- ApplyImportsAction.cs
- ForeignConstraint.cs
- ConstraintConverter.cs
- MimeFormatExtensions.cs
- ExpressionBuilderCollection.cs
- WCFModelStrings.Designer.cs
- ResourcesChangeInfo.cs
- UnsafeNativeMethods.cs
- Attributes.cs
- WsatServiceCertificate.cs
- ArgIterator.cs
- XsdBuildProvider.cs
- AssemblyResolver.cs
- DateTimeHelper.cs
- HttpPostedFile.cs
- DbConnectionPoolGroup.cs
- FontInfo.cs
- TextDecoration.cs
- DBPropSet.cs
- CharAnimationUsingKeyFrames.cs
- KerberosTicketHashIdentifierClause.cs
- WindowsRichEditRange.cs
- ZipIOFileItemStream.cs
- OleDbMetaDataFactory.cs
- FileSecurity.cs
- ServiceBusyException.cs
- XMLUtil.cs
- HistoryEventArgs.cs