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 / 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
- ItemCollectionEditor.cs
- DataGridrowEditEndingEventArgs.cs
- DependencyPropertyHelper.cs
- XNameTypeConverter.cs
- HwndSource.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- FontSourceCollection.cs
- OdbcTransaction.cs
- StylusPointProperties.cs
- AsyncOperation.cs
- Ops.cs
- Collection.cs
- WebPartCloseVerb.cs
- XmlDictionaryString.cs
- SignatureHelper.cs
- Column.cs
- LayoutTable.cs
- TransactionState.cs
- SiteMapDataSourceDesigner.cs
- DataList.cs
- ListBoxAutomationPeer.cs
- InkCollectionBehavior.cs
- AliasGenerator.cs
- Utils.cs
- AttributeSetAction.cs
- RequiredArgumentAttribute.cs
- DockingAttribute.cs
- ContentFileHelper.cs
- ContainerParaClient.cs
- _SslStream.cs
- Brushes.cs
- HighlightVisual.cs
- XDRSchema.cs
- ListItemParagraph.cs
- AsymmetricSignatureDeformatter.cs
- RSACryptoServiceProvider.cs
- ScrollChrome.cs
- DataTableReaderListener.cs
- OleDbException.cs
- ModifierKeysValueSerializer.cs
- ProtocolElementCollection.cs
- ByteStack.cs
- SecurityContext.cs
- HttpContextWrapper.cs
- SetterBase.cs
- TabPage.cs
- WindowsRichEdit.cs
- TypeForwardedToAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- DiscoveryClientElement.cs
- DragEventArgs.cs
- RuntimeComponentFilter.cs
- Misc.cs
- SchemaMerger.cs
- XmlSchemaAnnotation.cs
- XsdDuration.cs
- PropertyPushdownHelper.cs
- DataGridViewSelectedRowCollection.cs
- NumberFormatInfo.cs
- SiteMembershipCondition.cs
- ProxySimple.cs
- PngBitmapEncoder.cs
- StorageInfo.cs
- Collection.cs
- Serializer.cs
- CacheModeConverter.cs
- LinkLabel.cs
- JoinTreeSlot.cs
- XmlQueryType.cs
- ComboBoxRenderer.cs
- BamlResourceSerializer.cs
- ReaderWriterLockWrapper.cs
- PropertyMetadata.cs
- NullableDecimalAverageAggregationOperator.cs
- DataMemberFieldConverter.cs
- Misc.cs
- TabPanel.cs
- ExeContext.cs
- LoginUtil.cs
- CornerRadius.cs
- EntityTypeBase.cs
- ArgIterator.cs
- HandlerBase.cs
- TraceContext.cs
- SingleObjectCollection.cs
- RemoteWebConfigurationHostStream.cs
- SelectionProcessor.cs
- datacache.cs
- RTTrackingProfile.cs
- TableLayoutCellPaintEventArgs.cs
- InputReportEventArgs.cs
- ConfigurationManager.cs
- ConfigXmlSignificantWhitespace.cs
- NullableLongMinMaxAggregationOperator.cs
- SqlHelper.cs
- PriorityBinding.cs
- IgnoreFlushAndCloseStream.cs
- DeriveBytes.cs
- WebOperationContext.cs
- ActionMessageFilter.cs