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
- ResourceProperty.cs
- AnimationClockResource.cs
- DependencyObjectProvider.cs
- ContentPresenter.cs
- ConfigurationStrings.cs
- SecurityTokenRequirement.cs
- ActivityDesignerLayoutSerializers.cs
- HttpCacheVary.cs
- ComponentResourceKey.cs
- XamlWrappingReader.cs
- DataGridViewCellValidatingEventArgs.cs
- SecurityPermission.cs
- InkCanvasAutomationPeer.cs
- Trace.cs
- ToolStripSystemRenderer.cs
- DateTime.cs
- AutomationEvent.cs
- HttpServerVarsCollection.cs
- WizardStepBase.cs
- SafeProcessHandle.cs
- ThreadAttributes.cs
- validation.cs
- HyperLinkField.cs
- PropertyManager.cs
- SessionStateItemCollection.cs
- DuplicateWaitObjectException.cs
- JsonServiceDocumentSerializer.cs
- EmissiveMaterial.cs
- XomlCompiler.cs
- SafeProcessHandle.cs
- StyleXamlTreeBuilder.cs
- HttpApplication.cs
- CurrentChangingEventManager.cs
- TraceUtility.cs
- WrappedIUnknown.cs
- Vertex.cs
- SimpleApplicationHost.cs
- ExpandedWrapper.cs
- TemplateManager.cs
- MetadataExporter.cs
- XmlSerializerImportOptions.cs
- IgnoreDataMemberAttribute.cs
- _ConnectionGroup.cs
- TabControlAutomationPeer.cs
- UnaryQueryOperator.cs
- AsyncWaitHandle.cs
- FilterQuery.cs
- ScrollBar.cs
- ChangePasswordAutoFormat.cs
- ObjectTag.cs
- PropertiesTab.cs
- StyleXamlTreeBuilder.cs
- SoapFault.cs
- DefaultPropertyAttribute.cs
- WebPartVerb.cs
- OleDbMetaDataFactory.cs
- Int64AnimationBase.cs
- QueryExpr.cs
- Solver.cs
- AsynchronousChannel.cs
- EntryWrittenEventArgs.cs
- ProfileParameter.cs
- EntityClassGenerator.cs
- VarRefManager.cs
- AnnotationMap.cs
- TypeHelpers.cs
- SrgsRulesCollection.cs
- FontConverter.cs
- ObjectDataSourceMethodEventArgs.cs
- XmlElement.cs
- StrongNameMembershipCondition.cs
- CSharpCodeProvider.cs
- path.cs
- WindowsFormsSynchronizationContext.cs
- CaseInsensitiveComparer.cs
- WebPartDescriptionCollection.cs
- TimeSpanValidatorAttribute.cs
- TypeUsage.cs
- Vector3D.cs
- PropertyKey.cs
- QueryCoreOp.cs
- TreeNodeClickEventArgs.cs
- ImageFormatConverter.cs
- RankException.cs
- DbProviderSpecificTypePropertyAttribute.cs
- UInt32.cs
- HyperLinkColumn.cs
- SoapHeaders.cs
- LinqExpressionNormalizer.cs
- EdmToObjectNamespaceMap.cs
- FixedBufferAttribute.cs
- BulletChrome.cs
- ResourceWriter.cs
- TransactionOptions.cs
- FolderLevelBuildProviderCollection.cs
- UnitySerializationHolder.cs
- KeyFrames.cs
- PriorityChain.cs
- RecognizerBase.cs