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
- DesignerVerbCollection.cs
- FontCollection.cs
- XmlDataProvider.cs
- XmlSignatureManifest.cs
- ITextView.cs
- AxHostDesigner.cs
- DesignerActionPanel.cs
- TransactionScopeDesigner.cs
- DataError.cs
- Currency.cs
- TokenBasedSet.cs
- ErrorFormatterPage.cs
- AutoResizedEvent.cs
- PocoEntityKeyStrategy.cs
- TraceContext.cs
- ColorContextHelper.cs
- ClientScriptManagerWrapper.cs
- EntityCommandCompilationException.cs
- Splitter.cs
- RefType.cs
- ExpandCollapseProviderWrapper.cs
- DataSourceXmlTextReader.cs
- ProcessManager.cs
- SystemUdpStatistics.cs
- Sentence.cs
- IndexedEnumerable.cs
- GatewayDefinition.cs
- PrintingPermission.cs
- PublisherMembershipCondition.cs
- WindowsSolidBrush.cs
- TaskScheduler.cs
- X509Utils.cs
- ComponentDispatcher.cs
- PrimarySelectionAdorner.cs
- ErrorStyle.cs
- CatalogZone.cs
- CultureNotFoundException.cs
- GradientBrush.cs
- RsaSecurityTokenAuthenticator.cs
- DataGridViewColumnConverter.cs
- assemblycache.cs
- ControlPaint.cs
- StringCollection.cs
- DrawingDrawingContext.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Control.cs
- EventOpcode.cs
- SerializationInfo.cs
- BaseCodePageEncoding.cs
- StringBuilder.cs
- Dispatcher.cs
- SiteMapProvider.cs
- NonParentingControl.cs
- Win32PrintDialog.cs
- DataGrid.cs
- StrokeCollectionConverter.cs
- RuntimeEnvironment.cs
- PathSegmentCollection.cs
- HyperLinkStyle.cs
- UrlMappingsSection.cs
- XmlNamespaceDeclarationsAttribute.cs
- DefaultTextStoreTextComposition.cs
- EntityDataSourceConfigureObjectContext.cs
- SystemIPInterfaceStatistics.cs
- Exception.cs
- CacheManager.cs
- StorageModelBuildProvider.cs
- QueryOutputWriter.cs
- SlipBehavior.cs
- SmtpTransport.cs
- DrawingAttributesDefaultValueFactory.cs
- ImageKeyConverter.cs
- ServiceOperation.cs
- BitmapSource.cs
- FillBehavior.cs
- WebPartConnectVerb.cs
- LookupNode.cs
- ControlPropertyNameConverter.cs
- RoutedUICommand.cs
- InputReportEventArgs.cs
- EntityDataSourceChangingEventArgs.cs
- DataGridColumnStyleMappingNameEditor.cs
- ShaderRenderModeValidation.cs
- AnnotationResourceChangedEventArgs.cs
- SpeechAudioFormatInfo.cs
- EntityKey.cs
- HMACSHA512.cs
- X509ChainElement.cs
- SqlProcedureAttribute.cs
- DetailsViewCommandEventArgs.cs
- HtmlToClrEventProxy.cs
- SoapMessage.cs
- SecurityTokenProvider.cs
- OpenFileDialog.cs
- WebServiceEnumData.cs
- MetadataArtifactLoaderFile.cs
- UICuesEvent.cs
- OptionalColumn.cs
- ComponentResourceKeyConverter.cs
- CacheChildrenQuery.cs