Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HierarchicalDataSourceConverter.cs
- StylusShape.cs
- GenericTextProperties.cs
- MatrixStack.cs
- ClientConfigPaths.cs
- ProfileServiceManager.cs
- WebSysDefaultValueAttribute.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- CdpEqualityComparer.cs
- SliderAutomationPeer.cs
- AdapterUtil.cs
- ProgressiveCrcCalculatingStream.cs
- AudienceUriMode.cs
- XmlException.cs
- IndexOutOfRangeException.cs
- ScriptingScriptResourceHandlerSection.cs
- ManualResetEvent.cs
- ConfigurationElementProperty.cs
- OracleConnectionStringBuilder.cs
- Style.cs
- CachedPathData.cs
- SpellerHighlightLayer.cs
- CodeTypeDelegate.cs
- UInt16Converter.cs
- PointHitTestParameters.cs
- CompareInfo.cs
- CustomTypeDescriptor.cs
- ToolStripSeparator.cs
- ToolTip.cs
- DelayedRegex.cs
- SeparatorAutomationPeer.cs
- SoapExtension.cs
- Activity.cs
- MaterialGroup.cs
- Canvas.cs
- ComponentDesigner.cs
- EditableTreeList.cs
- DataGridCommandEventArgs.cs
- Stack.cs
- DebugView.cs
- MembershipPasswordException.cs
- TabControlEvent.cs
- IPipelineRuntime.cs
- EdmProviderManifest.cs
- PageContentAsyncResult.cs
- DocumentXmlWriter.cs
- EntityViewGenerationConstants.cs
- BrowserDefinition.cs
- HtmlWindowCollection.cs
- Header.cs
- OleDbConnection.cs
- Trace.cs
- InputMethod.cs
- ComboBoxItem.cs
- HtmlString.cs
- ActivitySurrogateSelector.cs
- SchemaComplexType.cs
- JournalEntry.cs
- DataServices.cs
- EventNotify.cs
- SchemaImporter.cs
- SchemaType.cs
- Debugger.cs
- State.cs
- InputScopeAttribute.cs
- _Semaphore.cs
- IERequestCache.cs
- TableLayoutPanel.cs
- PropertyGrid.cs
- Thread.cs
- WasHttpHandlersInstallComponent.cs
- DesignerVerb.cs
- XmlSerializer.cs
- StickyNote.cs
- MemberExpressionHelper.cs
- UnderstoodHeaders.cs
- CustomAttributeFormatException.cs
- XmlDataSourceNodeDescriptor.cs
- AnnotationAdorner.cs
- ScopedKnownTypes.cs
- WebPartVerbCollection.cs
- FusionWrap.cs
- SchemaElement.cs
- SqlBooleanMismatchVisitor.cs
- DateTime.cs
- XmlSchemaSet.cs
- SessionEndedEventArgs.cs
- ISessionStateStore.cs
- HostSecurityManager.cs
- SerializationSectionGroup.cs
- BooleanProjectedSlot.cs
- TrustLevelCollection.cs
- DirectionalLight.cs
- DataSetMappper.cs
- HttpCacheVary.cs
- TrackingMemoryStream.cs
- ResourceDescriptionAttribute.cs
- BinaryParser.cs
- GroupBoxAutomationPeer.cs
- SqlCachedBuffer.cs