Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); } } }/// 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
- FileUpload.cs
- InteropExecutor.cs
- ListViewSortEventArgs.cs
- VectorAnimation.cs
- ImageInfo.cs
- MULTI_QI.cs
- ChangePassword.cs
- MsmqIntegrationProcessProtocolHandler.cs
- CatalogZoneBase.cs
- DataListItemCollection.cs
- RangeValuePattern.cs
- HttpListenerPrefixCollection.cs
- FilterQuery.cs
- DataViewSettingCollection.cs
- XmlLinkedNode.cs
- DbConnectionPoolIdentity.cs
- CodeNamespace.cs
- DataGridViewTextBoxColumn.cs
- LineMetrics.cs
- TextSelection.cs
- XmlExtensionFunction.cs
- BypassElementCollection.cs
- Material.cs
- Block.cs
- EdmRelationshipRoleAttribute.cs
- BypassElement.cs
- EntryPointNotFoundException.cs
- ContractsBCL.cs
- RubberbandSelector.cs
- Italic.cs
- __ComObject.cs
- XNodeNavigator.cs
- RepeatInfo.cs
- TypeCollectionPropertyEditor.cs
- SqlUtils.cs
- DiscoveryDocumentSearchPattern.cs
- CodeTypeDeclaration.cs
- HttpValueCollection.cs
- SemanticAnalyzer.cs
- HasCopySemanticsAttribute.cs
- ReceiveContext.cs
- XmlAttributeCollection.cs
- KnownAssembliesSet.cs
- X509ScopedServiceCertificateElement.cs
- TypeValidationEventArgs.cs
- PropertyDescriptor.cs
- TextCompositionEventArgs.cs
- SignerInfo.cs
- ScriptingJsonSerializationSection.cs
- MessageFault.cs
- ByteStack.cs
- LassoHelper.cs
- SecurityTokenRequirement.cs
- CurrentTimeZone.cs
- Int32Converter.cs
- TextEditorCopyPaste.cs
- WebPartDeleteVerb.cs
- CategoryAttribute.cs
- _StreamFramer.cs
- DataSetFieldSchema.cs
- RankException.cs
- DesignerSerializationManager.cs
- TextElementCollection.cs
- _HeaderInfoTable.cs
- ProcessStartInfo.cs
- DrawListViewItemEventArgs.cs
- MSAAEventDispatcher.cs
- XmlMtomReader.cs
- ParallelDesigner.cs
- DataGridViewCellValidatingEventArgs.cs
- FrameworkElement.cs
- SharedPerformanceCounter.cs
- ActivityDesignerHelper.cs
- XmlReflectionImporter.cs
- TabletCollection.cs
- ToolBarButton.cs
- WindowsEditBox.cs
- WebPartDeleteVerb.cs
- SqlUnionizer.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- EventDescriptor.cs
- GatewayDefinition.cs
- DefaultValueConverter.cs
- TextCharacters.cs
- ArgumentNullException.cs
- Imaging.cs
- Simplifier.cs
- DynamicRendererThreadManager.cs
- SendingRequestEventArgs.cs
- TranslateTransform.cs
- RegexCapture.cs
- WebPartZoneBase.cs
- UnmanagedMarshal.cs
- MenuStrip.cs
- XmlEntityReference.cs
- _HelperAsyncResults.cs
- MediaContext.cs
- DocumentXPathNavigator.cs
- DataGridViewRowPrePaintEventArgs.cs
- MdiWindowListStrip.cs