Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DigestComparer.cs
- PathTooLongException.cs
- ExceptionRoutedEventArgs.cs
- UserPreferenceChangingEventArgs.cs
- StructuralCache.cs
- WeakReferenceKey.cs
- Rotation3D.cs
- ResourceBinder.cs
- LockRecursionException.cs
- keycontainerpermission.cs
- IItemContainerGenerator.cs
- StoreAnnotationsMap.cs
- TextPointer.cs
- FileDialog.cs
- TextComposition.cs
- PasswordPropertyTextAttribute.cs
- XmlSchemaSimpleType.cs
- AutoResetEvent.cs
- AvtEvent.cs
- HttpListenerPrefixCollection.cs
- XmlSchemaSimpleTypeUnion.cs
- MenuItemCollection.cs
- GacUtil.cs
- ClientFormsAuthenticationMembershipProvider.cs
- CreateRefExpr.cs
- DtdParser.cs
- Compress.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- DesignerWebPartChrome.cs
- CacheDict.cs
- DataServiceQueryException.cs
- AssemblyInfo.cs
- DbProviderFactories.cs
- RelationshipConstraintValidator.cs
- Int64.cs
- Int64Animation.cs
- Form.cs
- SizeAnimation.cs
- UnauthorizedWebPart.cs
- SafeSecurityHandles.cs
- ProtectedConfigurationProviderCollection.cs
- GridViewRow.cs
- TextAutomationPeer.cs
- DropShadowBitmapEffect.cs
- CipherData.cs
- ToolbarAUtomationPeer.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- DataFieldCollectionEditor.cs
- TcpServerChannel.cs
- RunInstallerAttribute.cs
- PrinterResolution.cs
- ToolStripDropDownItem.cs
- ServiceControllerDesigner.cs
- DynamicValidatorEventArgs.cs
- HtmlForm.cs
- DataGridState.cs
- Codec.cs
- XmlDataDocument.cs
- QilScopedVisitor.cs
- BinaryObjectWriter.cs
- FileDialogCustomPlace.cs
- XmlCountingReader.cs
- DecoderFallback.cs
- CodeSubDirectoriesCollection.cs
- ContentElementAutomationPeer.cs
- PropertyValueChangedEvent.cs
- DataKey.cs
- panel.cs
- FaultCallbackWrapper.cs
- ToolStripDesignerAvailabilityAttribute.cs
- MatrixAnimationUsingKeyFrames.cs
- CodeStatementCollection.cs
- TypeProvider.cs
- HelpProvider.cs
- UriSection.cs
- Component.cs
- RequestResizeEvent.cs
- WindowsSpinner.cs
- ResourcesBuildProvider.cs
- DbParameterCollectionHelper.cs
- ListViewCancelEventArgs.cs
- hwndwrapper.cs
- PropertyChangeTracker.cs
- DockPattern.cs
- CellNormalizer.cs
- IdnElement.cs
- HttpPostedFile.cs
- TextRangeEditLists.cs
- StringBuilder.cs
- TdsRecordBufferSetter.cs
- GlobalItem.cs
- PageAdapter.cs
- XmlDataLoader.cs
- PackUriHelper.cs
- MergeFailedEvent.cs
- Encoding.cs
- ColorDialog.cs
- Misc.cs
- MethodCallConverter.cs
- CultureTable.cs