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
- DPCustomTypeDescriptor.cs
- WorkflowElementDialog.cs
- ColorConvertedBitmap.cs
- RotateTransform3D.cs
- CheckBoxPopupAdapter.cs
- TextMarkerSource.cs
- SecurityManager.cs
- AttributeUsageAttribute.cs
- EditorZoneAutoFormat.cs
- ConfigXmlElement.cs
- BasicDesignerLoader.cs
- ILGenerator.cs
- HtmlInputReset.cs
- ServiceBusyException.cs
- MULTI_QI.cs
- SQLSingleStorage.cs
- TextSimpleMarkerProperties.cs
- SendKeys.cs
- EventLogStatus.cs
- MarkupCompilePass1.cs
- ProfileParameter.cs
- BlobPersonalizationState.cs
- DataBinding.cs
- MarkupExtensionParser.cs
- CodeBinaryOperatorExpression.cs
- WebBrowserContainer.cs
- SQLConvert.cs
- TableLayoutSettingsTypeConverter.cs
- ListItemCollection.cs
- WebPartVerbCollection.cs
- PointLightBase.cs
- WindowInteropHelper.cs
- AsyncSerializedWorker.cs
- MappingMetadataHelper.cs
- RepeaterItemCollection.cs
- ExceptionWrapper.cs
- LayoutEngine.cs
- DetailsViewDeleteEventArgs.cs
- SelectionProviderWrapper.cs
- mansign.cs
- ActiveXSerializer.cs
- StrokeCollection2.cs
- SqlNodeAnnotations.cs
- LocalFileSettingsProvider.cs
- RtfNavigator.cs
- RegexParser.cs
- Crc32.cs
- WebPartEventArgs.cs
- LocalizationParserHooks.cs
- ListViewCancelEventArgs.cs
- VirtualizingStackPanel.cs
- WindowsToolbar.cs
- HttpServerUtilityWrapper.cs
- BitmapEffectInputData.cs
- DetailsViewRow.cs
- DataReceivedEventArgs.cs
- ConfigurationElementProperty.cs
- TextEncodedRawTextWriter.cs
- SubMenuStyle.cs
- EntityDataSourceChangedEventArgs.cs
- TransactedReceiveScope.cs
- ReplacementText.cs
- SystemIdentity.cs
- SimpleBitVector32.cs
- TypeConverterHelper.cs
- HtmlLabelAdapter.cs
- ObfuscateAssemblyAttribute.cs
- TemplateContainer.cs
- MemoryPressure.cs
- WebPartConnectionsCancelVerb.cs
- PolyLineSegmentFigureLogic.cs
- TableParaClient.cs
- QuotedPrintableStream.cs
- safelinkcollection.cs
- AssociationProvider.cs
- ChangeBlockUndoRecord.cs
- SiblingIterators.cs
- parserscommon.cs
- InternalControlCollection.cs
- XmlSchemaInclude.cs
- MemberHolder.cs
- PackagingUtilities.cs
- EllipseGeometry.cs
- JsonServiceDocumentSerializer.cs
- COM2IDispatchConverter.cs
- InputLanguageEventArgs.cs
- MobileControlDesigner.cs
- ThreadAttributes.cs
- ProtocolReflector.cs
- ConfigurationManagerHelper.cs
- SystemInfo.cs
- MonthChangedEventArgs.cs
- OleDbWrapper.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- Serializer.cs
- DbProviderManifest.cs
- streamingZipPartStream.cs
- ProxyFragment.cs
- MenuAdapter.cs
- PartitionResolver.cs