Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- GridViewSortEventArgs.cs
- XmlSchemaCompilationSettings.cs
- ContainerParaClient.cs
- CompilerError.cs
- LinearGradientBrush.cs
- TrackingProfile.cs
- TimersDescriptionAttribute.cs
- ProgressChangedEventArgs.cs
- XmlAttributes.cs
- ConditionValidator.cs
- UITypeEditors.cs
- HostProtectionPermission.cs
- XmlJsonReader.cs
- SelectionUIService.cs
- PositiveTimeSpanValidator.cs
- PathTooLongException.cs
- SQLChars.cs
- CurrencyManager.cs
- IChannel.cs
- WinEventQueueItem.cs
- MdiWindowListStrip.cs
- XamlToRtfParser.cs
- DbgUtil.cs
- ObjectDataProvider.cs
- GridViewRowPresenter.cs
- ScrollProviderWrapper.cs
- MtomMessageEncoder.cs
- FixedSOMTextRun.cs
- DesigntimeLicenseContext.cs
- EntryWrittenEventArgs.cs
- CheckBox.cs
- ISCIIEncoding.cs
- TypeSystem.cs
- ContextStaticAttribute.cs
- PathNode.cs
- XmlConverter.cs
- ParserOptions.cs
- ListViewItemMouseHoverEvent.cs
- HashRepartitionStream.cs
- ActiveXMessageFormatter.cs
- StateMachineAction.cs
- BufferedStream.cs
- webeventbuffer.cs
- Code.cs
- ConfigsHelper.cs
- VirtualPathProvider.cs
- ScriptServiceAttribute.cs
- TextEditorCharacters.cs
- EntityDesignerUtils.cs
- DispatchWrapper.cs
- ReturnEventArgs.cs
- SerializationSectionGroup.cs
- UnescapedXmlDiagnosticData.cs
- ListViewSelectEventArgs.cs
- BufferedOutputStream.cs
- BlurBitmapEffect.cs
- PageHandlerFactory.cs
- HwndSourceParameters.cs
- VerificationException.cs
- UnmanagedHandle.cs
- SynchronizedPool.cs
- TextTreeFixupNode.cs
- Style.cs
- ACE.cs
- DictionaryKeyPropertyAttribute.cs
- CodeSubDirectoriesCollection.cs
- EmptyEnumerator.cs
- FocusTracker.cs
- StorageTypeMapping.cs
- TimeIntervalCollection.cs
- ActivityDesignerHelper.cs
- ButtonBaseAutomationPeer.cs
- DataRecordInternal.cs
- DesignerTransaction.cs
- Perspective.cs
- ReflectionTypeLoadException.cs
- ConditionValidator.cs
- ErrorWrapper.cs
- RegistryExceptionHelper.cs
- UrlAuthorizationModule.cs
- PinProtectionHelper.cs
- CompiledQueryCacheKey.cs
- ValidatingPropertiesEventArgs.cs
- MimeTypeAttribute.cs
- HyperLinkField.cs
- WSFederationHttpSecurityElement.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PasswordBoxAutomationPeer.cs
- RowToFieldTransformer.cs
- DataObjectFieldAttribute.cs
- NotifyParentPropertyAttribute.cs
- CacheRequest.cs
- HitTestFilterBehavior.cs
- _StreamFramer.cs
- InvalidPropValue.cs
- XmlWriter.cs
- UserControlDesigner.cs
- SpeechSynthesizer.cs
- SessionState.cs
- EnumerationRangeValidationUtil.cs