Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MenuItemBindingCollection.cs
- HandleRef.cs
- StateBag.cs
- AesManaged.cs
- BindingsCollection.cs
- XPathEmptyIterator.cs
- Point4D.cs
- BitStack.cs
- DecoderNLS.cs
- CharEntityEncoderFallback.cs
- MarkupWriter.cs
- BigIntegerStorage.cs
- SplitterEvent.cs
- DetailsViewDesigner.cs
- TimerTable.cs
- PEFileReader.cs
- MonitoringDescriptionAttribute.cs
- MethodInfo.cs
- ToolStripDropTargetManager.cs
- RectangleGeometry.cs
- DbDataRecord.cs
- FileStream.cs
- Light.cs
- EntityWithKeyStrategy.cs
- XmlNodeChangedEventManager.cs
- HttpRuntimeSection.cs
- Light.cs
- ServiceOperationParameter.cs
- ObfuscateAssemblyAttribute.cs
- InvokeProviderWrapper.cs
- CutCopyPasteHelper.cs
- BooleanConverter.cs
- CompilerGeneratedAttribute.cs
- Attributes.cs
- QilFunction.cs
- XmlToDatasetMap.cs
- ArrayElementGridEntry.cs
- NonClientArea.cs
- CustomMenuItemCollection.cs
- FormatterConverter.cs
- SqlCacheDependencyDatabaseCollection.cs
- EntityViewContainer.cs
- UserControl.cs
- SoapEnumAttribute.cs
- BoolExpr.cs
- TypeDescriptionProviderAttribute.cs
- ReplacementText.cs
- precedingquery.cs
- Size3DValueSerializer.cs
- ImageAnimator.cs
- BridgeDataReader.cs
- CDSCollectionETWBCLProvider.cs
- TextTreeInsertElementUndoUnit.cs
- SmiEventSink.cs
- PngBitmapDecoder.cs
- StringWriter.cs
- AsyncOperationLifetimeManager.cs
- Int32Rect.cs
- EventRouteFactory.cs
- TableMethodGenerator.cs
- SingleSelectRootGridEntry.cs
- SubclassTypeValidatorAttribute.cs
- Dictionary.cs
- UnsafeNativeMethodsTablet.cs
- filewebrequest.cs
- DataMember.cs
- EntryPointNotFoundException.cs
- MarshalByRefObject.cs
- SecurityHelper.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- CustomCredentialPolicy.cs
- UnknownBitmapDecoder.cs
- PreservationFileWriter.cs
- ChangeInterceptorAttribute.cs
- DataGridColumnHeaderCollection.cs
- ElementUtil.cs
- ObjectDataSourceEventArgs.cs
- HtmlFormWrapper.cs
- WebPartManager.cs
- UnauthorizedWebPart.cs
- ManagementPath.cs
- ObjectDataSourceView.cs
- FixedDSBuilder.cs
- InkCanvasAutomationPeer.cs
- MouseActionValueSerializer.cs
- XsltSettings.cs
- FaultPropagationRecord.cs
- TrackingMemoryStreamFactory.cs
- XmlElementAttributes.cs
- LayoutExceptionEventArgs.cs
- BinaryUtilClasses.cs
- AppSettingsReader.cs
- PeerCollaboration.cs
- GetLedgerEntryForRecipientRequest.cs
- SuppressMergeCheckAttribute.cs
- VisualProxy.cs
- BreadCrumbTextConverter.cs
- InheritanceAttribute.cs
- PrimaryKeyTypeConverter.cs
- Scanner.cs