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
- AutoScrollExpandMessageFilter.cs
- AttributeUsageAttribute.cs
- XmlEncodedRawTextWriter.cs
- DispatcherSynchronizationContext.cs
- MaskPropertyEditor.cs
- ScaleTransform3D.cs
- ObjectContext.cs
- TraceRecords.cs
- BinaryParser.cs
- ElementNotAvailableException.cs
- IERequestCache.cs
- DialogResultConverter.cs
- PointUtil.cs
- coordinatorfactory.cs
- UseAttributeSetsAction.cs
- StructureChangedEventArgs.cs
- MethodRental.cs
- NonClientArea.cs
- HashCodeCombiner.cs
- EraserBehavior.cs
- TransformerInfoCollection.cs
- FreeFormPanel.cs
- RegexStringValidatorAttribute.cs
- BooleanAnimationBase.cs
- ConfigXmlReader.cs
- ScrollableControl.cs
- FormsAuthentication.cs
- WebPart.cs
- RefreshResponseInfo.cs
- ScriptingJsonSerializationSection.cs
- Utils.cs
- RawStylusInputCustomDataList.cs
- RootAction.cs
- ToolStripHighContrastRenderer.cs
- odbcmetadatacollectionnames.cs
- EventDriven.cs
- OSFeature.cs
- SecurityTimestamp.cs
- HighlightVisual.cs
- SmiGettersStream.cs
- MemoryMappedFileSecurity.cs
- EditorZoneDesigner.cs
- CodeEventReferenceExpression.cs
- EventToken.cs
- ProtocolsConfiguration.cs
- DataContractJsonSerializerOperationBehavior.cs
- WindowsSpinner.cs
- Missing.cs
- Roles.cs
- coordinatorfactory.cs
- Polyline.cs
- GridViewUpdateEventArgs.cs
- Hex.cs
- ExpressionNormalizer.cs
- FrameworkContentElement.cs
- TransportSecurityBindingElement.cs
- ConfigXmlSignificantWhitespace.cs
- EventLogTraceListener.cs
- TCEAdapterGenerator.cs
- x509utils.cs
- LabelAutomationPeer.cs
- KoreanLunisolarCalendar.cs
- RelationshipType.cs
- FontEmbeddingManager.cs
- NumberSubstitution.cs
- XmlSchemaElement.cs
- ColorComboBox.cs
- Point3DAnimationUsingKeyFrames.cs
- DebugHandleTracker.cs
- PropertyCondition.cs
- DataGridViewTopRowAccessibleObject.cs
- XmlValueConverter.cs
- Thumb.cs
- BitmapData.cs
- CheckBoxField.cs
- CapabilitiesUse.cs
- HttpCookie.cs
- GrammarBuilderBase.cs
- Win32PrintDialog.cs
- TraceListeners.cs
- AutomationPatternInfo.cs
- TextWriter.cs
- NextPreviousPagerField.cs
- WindowsAuthenticationModule.cs
- MessageTraceRecord.cs
- RulePatternOps.cs
- OciEnlistContext.cs
- CacheAxisQuery.cs
- DependencyProperty.cs
- RectangleConverter.cs
- GroupBox.cs
- AttachInfo.cs
- ObjectStateEntry.cs
- MethodSet.cs
- InvokeBase.cs
- ExtenderControl.cs
- MethodCallTranslator.cs
- DefaultParameterValueAttribute.cs
- TimeSpanValidator.cs
- ValidationRule.cs