Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 1 / HtmlInputPassword.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlInputPassword.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System.ComponentModel; using System; using System.Collections; using System.Collections.Specialized; using System.Globalization; using System.Web; using System.Web.UI; using System.Security.Permissions; ////// [ DefaultEvent("ServerChange"), ValidationProperty("Value"), SupportsEventValidation, ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlInputPassword : HtmlInputText, IPostBackDataHandler { private static readonly object EventServerChange = new object(); /* * Creates an intrinsic Html INPUT type=password control. */ public HtmlInputPassword() : base("password") { } protected override void RenderAttributes(HtmlTextWriter writer) { // Remove value from viewstate for input type=password ViewState.Remove("value"); base.RenderAttributes(writer); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The ////// class defines the methods, properties, and events for the HtmlInputPassword server /// control. This class allows programmatic access to the HTML <input type= /// text> /// and <input type= /// password> elements on the server. /// // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * HtmlInputPassword.cs * * Copyright (c) 2000 Microsoft Corporation */ namespace System.Web.UI.HtmlControls { using System.ComponentModel; using System; using System.Collections; using System.Collections.Specialized; using System.Globalization; using System.Web; using System.Web.UI; using System.Security.Permissions; ////// [ DefaultEvent("ServerChange"), ValidationProperty("Value"), SupportsEventValidation, ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class HtmlInputPassword : HtmlInputText, IPostBackDataHandler { private static readonly object EventServerChange = new object(); /* * Creates an intrinsic Html INPUT type=password control. */ public HtmlInputPassword() : base("password") { } protected override void RenderAttributes(HtmlTextWriter writer) { // Remove value from viewstate for input type=password ViewState.Remove("value"); base.RenderAttributes(writer); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The ////// class defines the methods, properties, and events for the HtmlInputPassword server /// control. This class allows programmatic access to the HTML <input type= /// text> /// and <input type= /// password> elements on the server. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataList.cs
- ConnectionProviderAttribute.cs
- ConfigurationSectionCollection.cs
- APCustomTypeDescriptor.cs
- Quaternion.cs
- ExceptionWrapper.cs
- StateBag.cs
- AffineTransform3D.cs
- GPPOINT.cs
- HandleTable.cs
- ConnectivityStatus.cs
- ClaimComparer.cs
- SubMenuStyleCollection.cs
- ExecutionContext.cs
- TableRowsCollectionEditor.cs
- InvokeGenerator.cs
- TemplatedWizardStep.cs
- XhtmlBasicControlAdapter.cs
- WebPartAddingEventArgs.cs
- CursorEditor.cs
- XmlLangPropertyAttribute.cs
- DataPagerFieldItem.cs
- DBParameter.cs
- PassportAuthenticationModule.cs
- LogicalExpr.cs
- GenericTextProperties.cs
- HttpRuntimeSection.cs
- WpfKnownType.cs
- MultiBinding.cs
- ControlParameter.cs
- ChannelManagerService.cs
- OleDbMetaDataFactory.cs
- UTF8Encoding.cs
- IDReferencePropertyAttribute.cs
- IgnorePropertiesAttribute.cs
- UrlMappingCollection.cs
- Annotation.cs
- SignatureGenerator.cs
- ClientRuntimeConfig.cs
- EdmSchemaAttribute.cs
- XhtmlTextWriter.cs
- Rijndael.cs
- GridViewSortEventArgs.cs
- CellLabel.cs
- SourceFileBuildProvider.cs
- SafeBuffer.cs
- MiniCustomAttributeInfo.cs
- CodeTypeReferenceExpression.cs
- LinkArea.cs
- VersionPair.cs
- IntSumAggregationOperator.cs
- QueryExpr.cs
- XsdDateTime.cs
- PerformanceCounterPermissionEntryCollection.cs
- ProfileModule.cs
- ExtendedPropertyDescriptor.cs
- ReadOnlyAttribute.cs
- CombinedHttpChannel.cs
- InvokeMethod.cs
- MsmqInputChannelListener.cs
- URI.cs
- TreeViewAutomationPeer.cs
- ActiveXMessageFormatter.cs
- ContentFileHelper.cs
- SnapshotChangeTrackingStrategy.cs
- TrustManager.cs
- TextRenderer.cs
- TrackBarDesigner.cs
- FieldBuilder.cs
- COM2EnumConverter.cs
- ISO2022Encoding.cs
- ResetableIterator.cs
- Visitors.cs
- NamedPermissionSet.cs
- FormViewPageEventArgs.cs
- ElementUtil.cs
- PropertyValidationContext.cs
- CreateUserErrorEventArgs.cs
- InheritanceContextHelper.cs
- ConfigurationSectionGroupCollection.cs
- FixUpCollection.cs
- StoryFragments.cs
- HMACSHA512.cs
- LinqDataSourceStatusEventArgs.cs
- ValidateNames.cs
- Enum.cs
- Timer.cs
- IntegerValidatorAttribute.cs
- SqlStream.cs
- TextWriter.cs
- EmptyEnumerator.cs
- MessagingDescriptionAttribute.cs
- ServerProtocol.cs
- XhtmlConformanceSection.cs
- ReturnEventArgs.cs
- StreamInfo.cs
- DetailsViewPageEventArgs.cs
- ConfigurationValidatorAttribute.cs
- BitmapDecoder.cs
- DataListItem.cs