Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 1305376 / 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, ] 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. //------------------------------------------------------------------------------ ///// 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, ] 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./// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityKeyElement.cs
- ExceptionHelpers.cs
- TreeNodeBindingCollection.cs
- PropertyReferenceSerializer.cs
- ProcessManager.cs
- KeyNotFoundException.cs
- AppDomainShutdownMonitor.cs
- BamlBinaryReader.cs
- RtType.cs
- PlatformCulture.cs
- QilIterator.cs
- MenuItemAutomationPeer.cs
- ObjectParameterCollection.cs
- TypeConvertions.cs
- EqualityComparer.cs
- GlyphingCache.cs
- UrlPath.cs
- ScrollViewerAutomationPeer.cs
- SharedTcpTransportManager.cs
- TypeDescriptionProviderAttribute.cs
- ConfigurationValidatorBase.cs
- DefaultTypeArgumentAttribute.cs
- UrlAuthFailedErrorFormatter.cs
- DbConnectionPool.cs
- ActivityExecutorSurrogate.cs
- GlobalItem.cs
- ToolTip.cs
- XmlAtomicValue.cs
- TreeBuilderXamlTranslator.cs
- SqlConnectionPoolProviderInfo.cs
- Application.cs
- LinqDataSourceInsertEventArgs.cs
- EdmComplexTypeAttribute.cs
- ScrollEventArgs.cs
- CustomGrammar.cs
- OdbcEnvironmentHandle.cs
- KeyConverter.cs
- wgx_commands.cs
- ClosableStream.cs
- Util.cs
- SetMemberBinder.cs
- ReadOnlyCollectionBase.cs
- HtmlElementEventArgs.cs
- ZoneMembershipCondition.cs
- StoreItemCollection.Loader.cs
- RevocationPoint.cs
- QilLiteral.cs
- DrawingGroup.cs
- DefinitionUpdate.cs
- ToolStripContentPanel.cs
- PrePrepareMethodAttribute.cs
- DateTimeOffsetConverter.cs
- RecognizedWordUnit.cs
- SqlCacheDependencySection.cs
- NamedPipeDuplicateContext.cs
- DriveInfo.cs
- Margins.cs
- AbstractDataSvcMapFileLoader.cs
- TextDecorationCollectionConverter.cs
- HtmlLiteralTextAdapter.cs
- ClientScriptManager.cs
- OletxVolatileEnlistment.cs
- NameValueCollection.cs
- XmlParserContext.cs
- ILGen.cs
- GenericIdentity.cs
- ThreadSafeList.cs
- SmtpNetworkElement.cs
- EntityCollectionChangedParams.cs
- IApplicationTrustManager.cs
- ListBindableAttribute.cs
- SystemIcons.cs
- ConfigurationValues.cs
- CompilerGlobalScopeAttribute.cs
- WebPartHelpVerb.cs
- DeferrableContent.cs
- SchemaMapping.cs
- AsyncInvokeOperation.cs
- Opcode.cs
- NameObjectCollectionBase.cs
- Substitution.cs
- CancellationToken.cs
- XmlSchemaSubstitutionGroup.cs
- DecoratedNameAttribute.cs
- ServiceNameElement.cs
- TableLayoutStyleCollection.cs
- XmlSortKey.cs
- TrackPointCollection.cs
- RenderCapability.cs
- QuerySettings.cs
- URLIdentityPermission.cs
- CodeIndexerExpression.cs
- EditCommandColumn.cs
- DataRowIndexBuffer.cs
- SoapHeaders.cs
- OdbcTransaction.cs
- KeyNotFoundException.cs
- WindowsGraphicsCacheManager.cs
- HttpModuleCollection.cs
- SmiEventStream.cs