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
- XmlSerializationGeneratedCode.cs
- Rijndael.cs
- XmlIlGenerator.cs
- RefExpr.cs
- XmlILIndex.cs
- AuthenticationService.cs
- UpdatePanelTriggerCollection.cs
- GlobalProxySelection.cs
- BuildProvidersCompiler.cs
- SmtpCommands.cs
- OdbcConnection.cs
- IndexedSelectQueryOperator.cs
- filewebrequest.cs
- DivideByZeroException.cs
- UrlParameterWriter.cs
- SupportedAddressingMode.cs
- StylusDevice.cs
- DBParameter.cs
- ArgumentDirectionHelper.cs
- Encoder.cs
- SchemaImporter.cs
- EntityViewGenerator.cs
- SequenceRange.cs
- SpecialNameAttribute.cs
- DocumentGrid.cs
- GuidConverter.cs
- ActivityTypeDesigner.xaml.cs
- ReaderContextStackData.cs
- MetadataExchangeClient.cs
- shaperfactory.cs
- MethodRental.cs
- DetailsViewPagerRow.cs
- RightsManagementSuppressedStream.cs
- WebBrowserSiteBase.cs
- TreeViewTemplateSelector.cs
- StylusPointPropertyInfoDefaults.cs
- StylusCollection.cs
- ConversionContext.cs
- CopyCodeAction.cs
- SingleConverter.cs
- OpenTypeLayoutCache.cs
- elementinformation.cs
- DataGridViewLinkColumn.cs
- SimpleMailWebEventProvider.cs
- columnmapfactory.cs
- ScrollProviderWrapper.cs
- ThreadInterruptedException.cs
- Section.cs
- BitmapData.cs
- StreamGeometry.cs
- ClassHandlersStore.cs
- LambdaCompiler.Address.cs
- TemplateNameScope.cs
- DesignerSerializationOptionsAttribute.cs
- DesignerActionService.cs
- AvTrace.cs
- InvokeWebService.cs
- RoutedEventConverter.cs
- ImageBrush.cs
- SqlSelectClauseBuilder.cs
- TCPClient.cs
- DesignerMetadata.cs
- SHA384Managed.cs
- FontFaceLayoutInfo.cs
- Timeline.cs
- RedistVersionInfo.cs
- ActivationServices.cs
- SmtpReplyReader.cs
- HwndSource.cs
- AsyncOperationManager.cs
- HwndHostAutomationPeer.cs
- InternalConfigHost.cs
- ObjectParameter.cs
- PromptBuilder.cs
- ValidationManager.cs
- DocumentPage.cs
- ToolStripLocationCancelEventArgs.cs
- SessionSwitchEventArgs.cs
- Serializer.cs
- sqlcontext.cs
- SHA512.cs
- WasNotInstalledException.cs
- TextDecoration.cs
- DateTimeOffset.cs
- Triplet.cs
- NameTable.cs
- Compiler.cs
- XsltException.cs
- SingleKeyFrameCollection.cs
- ApplicationSecurityInfo.cs
- DataGridViewCellLinkedList.cs
- NonVisualControlAttribute.cs
- EntityFunctions.cs
- KerberosSecurityTokenProvider.cs
- TemplateControl.cs
- IconConverter.cs
- Tokenizer.cs
- DrawingContext.cs
- OleDbRowUpdatedEvent.cs
- ValueTypePropertyReference.cs