Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;} } } }/// 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
- DbProviderFactoriesConfigurationHandler.cs
- ImageAttributes.cs
- LogAppendAsyncResult.cs
- PropertyEmitterBase.cs
- Emitter.cs
- Range.cs
- RadioButtonPopupAdapter.cs
- DbModificationClause.cs
- TrackBar.cs
- SystemFonts.cs
- XmlStringTable.cs
- UpDownEvent.cs
- ServiceNameElementCollection.cs
- SqlBulkCopyColumnMapping.cs
- RegisteredScript.cs
- HtmlTernaryTree.cs
- StringFreezingAttribute.cs
- PrintSchema.cs
- TextBox.cs
- HtmlTernaryTree.cs
- TextMetrics.cs
- NotifyIcon.cs
- ImageFormat.cs
- dtdvalidator.cs
- Int64Storage.cs
- ObjectPersistData.cs
- SeekStoryboard.cs
- UriScheme.cs
- RootProfilePropertySettingsCollection.cs
- ImageSourceTypeConverter.cs
- SecurityState.cs
- CqlLexerHelpers.cs
- ItemDragEvent.cs
- ToolStripItemEventArgs.cs
- Size.cs
- XsltLibrary.cs
- IdnMapping.cs
- CorrelationTokenTypeConvertor.cs
- EventMappingSettings.cs
- EventListener.cs
- SearchExpression.cs
- X509CertificateRecipientClientCredential.cs
- ComplexTypeEmitter.cs
- StringSorter.cs
- GradientStopCollection.cs
- LinkButton.cs
- EncodingInfo.cs
- SID.cs
- TableCellCollection.cs
- ToolboxItemCollection.cs
- _SingleItemRequestCache.cs
- IItemProperties.cs
- SchemaTableColumn.cs
- ScriptingJsonSerializationSection.cs
- SingleQueryOperator.cs
- OleDbParameter.cs
- CodeObject.cs
- Encoder.cs
- BuildResultCache.cs
- LoadItemsEventArgs.cs
- SettingsSection.cs
- LoginView.cs
- HttpInputStream.cs
- ProxyAttribute.cs
- ToolBarButtonClickEvent.cs
- PinnedBufferMemoryStream.cs
- SecurityKeyUsage.cs
- SegmentInfo.cs
- SpecialNameAttribute.cs
- BevelBitmapEffect.cs
- PermissionSet.cs
- ObjectSet.cs
- StructuredTypeInfo.cs
- Bezier.cs
- LexicalChunk.cs
- HWStack.cs
- SecurityHeaderTokenResolver.cs
- HtmlElementCollection.cs
- CodeMethodReturnStatement.cs
- TreeIterator.cs
- Control.cs
- ToolStripMenuItemCodeDomSerializer.cs
- BindingsCollection.cs
- X509Utils.cs
- TaskFormBase.cs
- FileDialogCustomPlace.cs
- UnmanagedMemoryStreamWrapper.cs
- ActivityExecutorOperation.cs
- LinqDataSourceUpdateEventArgs.cs
- ConsoleCancelEventArgs.cs
- CachedBitmap.cs
- HtmlControl.cs
- FillBehavior.cs
- SchemaLookupTable.cs
- FlowSwitchDesigner.xaml.cs
- TableAutomationPeer.cs
- StrictAndMessageFilter.cs
- WorkItem.cs
- SqlDataSourceCustomCommandEditor.cs
- NamespaceMapping.cs