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
- AssemblyHash.cs
- PropertyChangedEventArgs.cs
- ServiceProviders.cs
- ObjectManager.cs
- NTAccount.cs
- WebProxyScriptElement.cs
- DictionaryContent.cs
- EntityDataSourceUtil.cs
- BinHexEncoder.cs
- TableLayoutPanelDesigner.cs
- COAUTHINFO.cs
- ObjectStateManager.cs
- AccessText.cs
- Int32CollectionValueSerializer.cs
- EdmItemCollection.cs
- MetaTableHelper.cs
- SiteMapPath.cs
- CodeCatchClauseCollection.cs
- DateTimeFormatInfoScanner.cs
- ContextMenu.cs
- RuntimeConfigLKG.cs
- XmlArrayItemAttributes.cs
- VisualBrush.cs
- InstalledFontCollection.cs
- PointConverter.cs
- Property.cs
- ResourceAttributes.cs
- TextTreeExtractElementUndoUnit.cs
- GradientBrush.cs
- FormViewDeletedEventArgs.cs
- ForeignKeyConstraint.cs
- SoapReflectionImporter.cs
- TreeView.cs
- VariableQuery.cs
- ExceptionHandlerDesigner.cs
- MetaModel.cs
- ParameterBinding.cs
- AutoGeneratedField.cs
- ZipIOExtraFieldZip64Element.cs
- SecurityTokenSerializer.cs
- ContainsSearchOperator.cs
- EdmComplexPropertyAttribute.cs
- StopStoryboard.cs
- PrimitiveXmlSerializers.cs
- PKCS1MaskGenerationMethod.cs
- OLEDB_Enum.cs
- ComboBoxRenderer.cs
- SkipQueryOptionExpression.cs
- Int32AnimationBase.cs
- StrongNameHelpers.cs
- EastAsianLunisolarCalendar.cs
- ThrowHelper.cs
- HtmlTableRow.cs
- ImageUrlEditor.cs
- ProcessModelInfo.cs
- DiscriminatorMap.cs
- TypeInformation.cs
- ClientConfigurationHost.cs
- ValueHandle.cs
- RequestCacheManager.cs
- WSSecureConversation.cs
- TrackingServices.cs
- DocumentOrderQuery.cs
- EditingMode.cs
- DataBinder.cs
- ParenthesizePropertyNameAttribute.cs
- ImageMetadata.cs
- UniqueConstraint.cs
- webclient.cs
- BinaryMethodMessage.cs
- EnumerableValidator.cs
- WinFormsSecurity.cs
- Regex.cs
- TreeNodeBindingCollection.cs
- ProviderException.cs
- FileFormatException.cs
- DataGridViewCellPaintingEventArgs.cs
- ModifierKeysValueSerializer.cs
- cache.cs
- XmlHierarchicalEnumerable.cs
- EventArgs.cs
- EncoderParameters.cs
- DataGridViewDataConnection.cs
- FixedSOMTable.cs
- TypeCollectionDesigner.xaml.cs
- TemplateBindingExtension.cs
- ProjectionPlan.cs
- CqlIdentifiers.cs
- CompiledQueryCacheEntry.cs
- Win32MouseDevice.cs
- LiteralTextParser.cs
- PointAnimationUsingKeyFrames.cs
- IndentTextWriter.cs
- RelationshipDetailsRow.cs
- FixedHighlight.cs
- _LocalDataStore.cs
- Message.cs
- CodeLabeledStatement.cs
- SettingsPropertyWrongTypeException.cs
- CharEnumerator.cs