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
- ScriptReference.cs
- TreeView.cs
- Control.cs
- MailWriter.cs
- RestHandler.cs
- CultureSpecificCharacterBufferRange.cs
- ImpersonationContext.cs
- BaseDataList.cs
- NativeMethods.cs
- CultureInfoConverter.cs
- NullableLongAverageAggregationOperator.cs
- ComAdminWrapper.cs
- SqlVersion.cs
- EventListenerClientSide.cs
- SettingsPropertyNotFoundException.cs
- _UriSyntax.cs
- Table.cs
- AvTraceFormat.cs
- FixedLineResult.cs
- KnownIds.cs
- MultiAsyncResult.cs
- SHA256.cs
- CachingHintValidation.cs
- FileLevelControlBuilderAttribute.cs
- ByteAnimationUsingKeyFrames.cs
- MultipartIdentifier.cs
- ClientSession.cs
- ProtectedConfigurationSection.cs
- SelectorAutomationPeer.cs
- ModelVisual3D.cs
- ServerTooBusyException.cs
- WebPartEditorApplyVerb.cs
- WebPartConnectionsEventArgs.cs
- TemplateContentLoader.cs
- DbParameterCollection.cs
- MethodBuilder.cs
- xdrvalidator.cs
- CodeAttributeArgumentCollection.cs
- SafeFileMappingHandle.cs
- InkCanvasSelection.cs
- UnknownWrapper.cs
- BaseComponentEditor.cs
- StyleBamlTreeBuilder.cs
- BreakSafeBase.cs
- Triangle.cs
- Listen.cs
- Enlistment.cs
- RtType.cs
- CommandDesigner.cs
- Bits.cs
- ManagedIStream.cs
- RootBrowserWindowProxy.cs
- xmlsaver.cs
- SubclassTypeValidator.cs
- EdmSchemaError.cs
- Style.cs
- Rect.cs
- BufferBuilder.cs
- XPathChildIterator.cs
- HMACSHA512.cs
- SiteMapHierarchicalDataSourceView.cs
- GroupStyle.cs
- DataGridHeaderBorder.cs
- MenuEventArgs.cs
- InvalidDataContractException.cs
- TraceUtils.cs
- DebugView.cs
- DatatypeImplementation.cs
- LoadMessageLogger.cs
- TraceRecord.cs
- WmpBitmapDecoder.cs
- GenericsNotImplementedException.cs
- Encoding.cs
- HScrollBar.cs
- ConfigurationManagerInternalFactory.cs
- ScriptManager.cs
- login.cs
- SecurityElement.cs
- Ticks.cs
- SettingsPropertyIsReadOnlyException.cs
- ValidationResult.cs
- WMICapabilities.cs
- FileNameEditor.cs
- FontFamily.cs
- Emitter.cs
- TabControl.cs
- SystemIPInterfaceStatistics.cs
- Sentence.cs
- ResponseBodyWriter.cs
- WizardForm.cs
- UInt64Converter.cs
- TreeViewDesigner.cs
- ChameleonKey.cs
- HMAC.cs
- DispatcherOperation.cs
- AssemblyBuilderData.cs
- DataContractFormatAttribute.cs
- DataGridTablesFactory.cs
- ProgressBar.cs
- MarkupProperty.cs