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
- HtmlHistory.cs
- EnvelopedPkcs7.cs
- NumberFunctions.cs
- CommunicationException.cs
- Site.cs
- XsltException.cs
- DataGridViewImageColumn.cs
- DispatcherObject.cs
- BadImageFormatException.cs
- RequestContext.cs
- IsolatedStorageException.cs
- BaseDataBoundControl.cs
- QuaternionRotation3D.cs
- Publisher.cs
- TextWriter.cs
- InstanceData.cs
- SingleObjectCollection.cs
- ResourceReferenceExpressionConverter.cs
- ShaperBuffers.cs
- ComPlusInstanceProvider.cs
- HwndSourceKeyboardInputSite.cs
- MiniAssembly.cs
- TextElement.cs
- TransformValueSerializer.cs
- PolicyException.cs
- StreamResourceInfo.cs
- XmlSchemaAttribute.cs
- CroppedBitmap.cs
- WebDisplayNameAttribute.cs
- DbSource.cs
- LambdaCompiler.Logical.cs
- RequestCacheManager.cs
- FileRecordSequenceHelper.cs
- Line.cs
- Type.cs
- DataColumnPropertyDescriptor.cs
- HttpPostClientProtocol.cs
- DropShadowBitmapEffect.cs
- DoubleLinkList.cs
- BufferBuilder.cs
- ManagedFilter.cs
- Int16AnimationBase.cs
- StickyNoteAnnotations.cs
- MergablePropertyAttribute.cs
- Internal.cs
- ListControlDesigner.cs
- Script.cs
- ScriptResourceAttribute.cs
- CodeArrayIndexerExpression.cs
- NavigationEventArgs.cs
- _NegoStream.cs
- PKCS1MaskGenerationMethod.cs
- MissingManifestResourceException.cs
- WebPartMenu.cs
- sqlstateclientmanager.cs
- EntityCommand.cs
- Nullable.cs
- Console.cs
- URLMembershipCondition.cs
- CachingHintValidation.cs
- ZipIOExtraFieldZip64Element.cs
- WebServiceEnumData.cs
- StrokeFIndices.cs
- Int32CAMarshaler.cs
- OAVariantLib.cs
- ScriptControlDescriptor.cs
- NonBatchDirectoryCompiler.cs
- TakeOrSkipQueryOperator.cs
- FrameworkContentElement.cs
- LineServicesCallbacks.cs
- DrawingContextWalker.cs
- TraceContextRecord.cs
- KeyGestureValueSerializer.cs
- PageContentCollection.cs
- TransformDescriptor.cs
- DataGridViewImageCell.cs
- HandleExceptionArgs.cs
- RequestResizeEvent.cs
- OpenFileDialog.cs
- ObservableCollection.cs
- ServiceDescriptionSerializer.cs
- TimeEnumHelper.cs
- filewebresponse.cs
- XmlSequenceWriter.cs
- TimeZone.cs
- SortAction.cs
- IdentitySection.cs
- AuthenticatingEventArgs.cs
- BitmapEffectInputData.cs
- PermissionSet.cs
- XmlQueryTypeFactory.cs
- ObjectComplexPropertyMapping.cs
- ColorConverter.cs
- SqlHelper.cs
- SingleResultAttribute.cs
- DataGridBoolColumn.cs
- UserPreferenceChangedEventArgs.cs
- DebuggerAttributes.cs
- ArraySubsetEnumerator.cs
- DataSourceProvider.cs