Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 1305376 / 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, ] 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, ] 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
- InputLanguage.cs
- WindowVisualStateTracker.cs
- AstTree.cs
- EdmToObjectNamespaceMap.cs
- GridEntry.cs
- GreaterThan.cs
- ExtendedProperty.cs
- QuestionEventArgs.cs
- Decorator.cs
- DbConnectionInternal.cs
- xml.cs
- Converter.cs
- ServiceBusyException.cs
- BinHexEncoding.cs
- FormattedText.cs
- PatternMatcher.cs
- DataGridViewBindingCompleteEventArgs.cs
- MatrixConverter.cs
- Timeline.cs
- Parser.cs
- Dispatcher.cs
- FileVersion.cs
- RadioButton.cs
- DataGridViewHitTestInfo.cs
- StateDesigner.LayoutSelectionGlyph.cs
- DataGridTextColumn.cs
- ListenerConnectionModeReader.cs
- ReaderWriterLock.cs
- StandardOleMarshalObject.cs
- DataObjectEventArgs.cs
- RectAnimationBase.cs
- TransformerInfoCollection.cs
- PropertyInformationCollection.cs
- ScrollPatternIdentifiers.cs
- ConfigXmlSignificantWhitespace.cs
- AtomServiceDocumentSerializer.cs
- GradientStop.cs
- XmlComplianceUtil.cs
- SoapIncludeAttribute.cs
- CLSCompliantAttribute.cs
- DetailsViewRow.cs
- ProviderBase.cs
- ToolStripPanelRow.cs
- IChannel.cs
- NetPeerTcpBindingCollectionElement.cs
- Zone.cs
- RotateTransform.cs
- ReflectTypeDescriptionProvider.cs
- XmlSchemaAny.cs
- BaseDataBoundControlDesigner.cs
- SafeFileMappingHandle.cs
- RequestCachePolicy.cs
- TraceShell.cs
- FormsAuthenticationUserCollection.cs
- ArgIterator.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- XmlConverter.cs
- CustomAssemblyResolver.cs
- ProfileEventArgs.cs
- DynamicPropertyHolder.cs
- PathSegmentCollection.cs
- TdsParserStaticMethods.cs
- ResourceDescriptionAttribute.cs
- HttpStreamXmlDictionaryWriter.cs
- NamespaceQuery.cs
- MaskedTextBox.cs
- SystemKeyConverter.cs
- ImageBrush.cs
- DeploymentSectionCache.cs
- SqlTriggerContext.cs
- DrawListViewColumnHeaderEventArgs.cs
- ModulesEntry.cs
- UrlMappingCollection.cs
- OLEDB_Util.cs
- MatrixValueSerializer.cs
- TargetInvocationException.cs
- MemoryResponseElement.cs
- LocalizableResourceBuilder.cs
- ListenerElementsCollection.cs
- Effect.cs
- CommandBinding.cs
- GroupJoinQueryOperator.cs
- LongValidator.cs
- ProfileModule.cs
- Size.cs
- X509Certificate.cs
- FtpWebRequest.cs
- NameValueSectionHandler.cs
- EntityContainer.cs
- AssociationTypeEmitter.cs
- TransformGroup.cs
- MouseGesture.cs
- TemplateNameScope.cs
- _ConnectOverlappedAsyncResult.cs
- OverrideMode.cs
- EpmAttributeNameBuilder.cs
- ObfuscateAssemblyAttribute.cs
- KeyedPriorityQueue.cs
- MemberCollection.cs
- StreamWithDictionary.cs