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
- IdentifierService.cs
- RemoteWebConfigurationHostServer.cs
- PolyLineSegmentFigureLogic.cs
- _BufferOffsetSize.cs
- BuiltInExpr.cs
- MethodSignatureGenerator.cs
- DeobfuscatingStream.cs
- _Rfc2616CacheValidators.cs
- XPathItem.cs
- MessageAction.cs
- RangeValuePattern.cs
- Converter.cs
- PropertyItemInternal.cs
- TableRowGroup.cs
- ReceiveCompletedEventArgs.cs
- LinkLabelLinkClickedEvent.cs
- Thread.cs
- BamlStream.cs
- SettingsProperty.cs
- EmptyImpersonationContext.cs
- DesignerTransactionCloseEvent.cs
- XmlTypeMapping.cs
- ProjectionPathSegment.cs
- OdbcInfoMessageEvent.cs
- WSDualHttpBinding.cs
- SwitchLevelAttribute.cs
- EditBehavior.cs
- DecimalFormatter.cs
- BoundingRectTracker.cs
- EmptyEnumerator.cs
- PartManifestEntry.cs
- EntityAdapter.cs
- EventArgs.cs
- RangeValuePatternIdentifiers.cs
- PublisherMembershipCondition.cs
- PlanCompiler.cs
- ContextStaticAttribute.cs
- RegexGroupCollection.cs
- UnmanagedMarshal.cs
- WebSysDefaultValueAttribute.cs
- DbMetaDataFactory.cs
- DependencyPropertyChangedEventArgs.cs
- Iis7Helper.cs
- EndpointAddressMessageFilterTable.cs
- RenamedEventArgs.cs
- _IPv4Address.cs
- BitHelper.cs
- Expression.cs
- TCPListener.cs
- ConfigurationFileMap.cs
- AdPostCacheSubstitution.cs
- JoinGraph.cs
- InternalCache.cs
- SemanticKeyElement.cs
- DnsPermission.cs
- AggregateNode.cs
- WriteFileContext.cs
- CodeChecksumPragma.cs
- sqlcontext.cs
- PageFunction.cs
- HtmlToClrEventProxy.cs
- XmlElementAttribute.cs
- SourceLineInfo.cs
- X509SecurityToken.cs
- ReversePositionQuery.cs
- UnSafeCharBuffer.cs
- VisualBrush.cs
- PropertyTabChangedEvent.cs
- CodeDirectoryCompiler.cs
- SkinIDTypeConverter.cs
- DayRenderEvent.cs
- ColorContext.cs
- StoragePropertyMapping.cs
- TextServicesCompartmentContext.cs
- Transform3D.cs
- CommandHelper.cs
- DatagridviewDisplayedBandsData.cs
- DefaultExpression.cs
- DataBinding.cs
- ThreadStartException.cs
- ObjectDataSourceFilteringEventArgs.cs
- BitmapFrame.cs
- ComponentChangingEvent.cs
- UriExt.cs
- XmlNodeReader.cs
- RunWorkerCompletedEventArgs.cs
- DefaultPrintController.cs
- EncryptedPackage.cs
- PageAsyncTaskManager.cs
- CodeIdentifier.cs
- BindToObject.cs
- XmlSiteMapProvider.cs
- ObjectItemCollection.cs
- GridViewSelectEventArgs.cs
- SspiNegotiationTokenProviderState.cs
- ComAdminInterfaces.cs
- SqlParameterizer.cs
- RemoteAsymmetricSignatureFormatter.cs
- CompilerState.cs
- GACIdentityPermission.cs