Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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); } } } // 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, ] [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./// 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
- ItemsControlAutomationPeer.cs
- ACL.cs
- ScrollProperties.cs
- ExpressionNormalizer.cs
- ECDiffieHellmanCngPublicKey.cs
- DataGridViewCellValidatingEventArgs.cs
- HuffModule.cs
- CircleHotSpot.cs
- TextServicesDisplayAttributePropertyRanges.cs
- FormatConvertedBitmap.cs
- SqlUDTStorage.cs
- DefaultTextStore.cs
- JavaScriptString.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- CqlLexer.cs
- SecurityPolicySection.cs
- DataColumnMappingCollection.cs
- SoapExtension.cs
- WebPartAddingEventArgs.cs
- StylusPlugin.cs
- Model3D.cs
- WebRequest.cs
- AsyncOperationManager.cs
- TypeNameHelper.cs
- RadioButtonAutomationPeer.cs
- XMLSyntaxException.cs
- CharEnumerator.cs
- Table.cs
- SerializerProvider.cs
- DependencyObjectValidator.cs
- CodeBinaryOperatorExpression.cs
- ECDiffieHellmanCng.cs
- ConfigXmlDocument.cs
- SingleResultAttribute.cs
- XPathArrayIterator.cs
- ToolStripContainerActionList.cs
- OpenFileDialog.cs
- StickyNoteHelper.cs
- PropertyDescriptorCollection.cs
- XmlCharCheckingWriter.cs
- IItemContainerGenerator.cs
- _AutoWebProxyScriptWrapper.cs
- XhtmlTextWriter.cs
- ImageBrush.cs
- ViewCellRelation.cs
- PathGeometry.cs
- DataObject.cs
- SelfSignedCertificate.cs
- AmbientLight.cs
- DataGridCellAutomationPeer.cs
- EditorPartDesigner.cs
- AuthenticationModuleElementCollection.cs
- ObjectSet.cs
- StylusPlugInCollection.cs
- StrongNameKeyPair.cs
- PointConverter.cs
- HttpRuntime.cs
- AssertFilter.cs
- ConfigXmlCDataSection.cs
- ActivityDesignerAccessibleObject.cs
- SqlConnectionStringBuilder.cs
- TypeCodeDomSerializer.cs
- CustomLineCap.cs
- RouteUrlExpressionBuilder.cs
- ViewStateModeByIdAttribute.cs
- SerializationAttributes.cs
- DateTimeFormatInfoScanner.cs
- TypeViewSchema.cs
- SchemaCollectionPreprocessor.cs
- OdbcStatementHandle.cs
- WindowsFormsHelpers.cs
- InputMethodStateChangeEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- TargetInvocationException.cs
- RtfToXamlReader.cs
- ClientUrlResolverWrapper.cs
- ObjectDataSourceDisposingEventArgs.cs
- InternalBufferOverflowException.cs
- ValidatorCompatibilityHelper.cs
- ContractNamespaceAttribute.cs
- WorkflowPersistenceService.cs
- ItemAutomationPeer.cs
- TypeUtils.cs
- securitycriticaldataformultiplegetandset.cs
- HttpModuleActionCollection.cs
- LowerCaseStringConverter.cs
- ConfigurationManager.cs
- RuntimeEnvironment.cs
- DSGeneratorProblem.cs
- QilLiteral.cs
- GiveFeedbackEvent.cs
- _AutoWebProxyScriptHelper.cs
- UTF7Encoding.cs
- VectorAnimation.cs
- Animatable.cs
- IconConverter.cs
- SyntaxCheck.cs
- XmlCharCheckingWriter.cs
- BrowserCapabilitiesCodeGenerator.cs
- ItemsControlAutomationPeer.cs