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
- SqlEnums.cs
- ExecutionEngineException.cs
- ClonableStack.cs
- PropertyPath.cs
- Typeface.cs
- TriggerCollection.cs
- CheckBoxFlatAdapter.cs
- ForeignKeyConstraint.cs
- WorkflowInspectionServices.cs
- CustomExpressionEventArgs.cs
- CodeCompileUnit.cs
- LambdaCompiler.Unary.cs
- HttpWriter.cs
- Brush.cs
- TextEditorCharacters.cs
- RijndaelManagedTransform.cs
- InkCanvasSelectionAdorner.cs
- RegisteredExpandoAttribute.cs
- SettingsContext.cs
- DbParameterCollectionHelper.cs
- UnauthorizedWebPart.cs
- EditorZoneBase.cs
- XPathQueryGenerator.cs
- MaskInputRejectedEventArgs.cs
- WindowHideOrCloseTracker.cs
- ZipIOBlockManager.cs
- CompoundFileReference.cs
- LayoutInformation.cs
- DataGridViewButtonColumn.cs
- CompiledELinqQueryState.cs
- OutputCacheProviderCollection.cs
- Type.cs
- SqlRetyper.cs
- ConfigXmlElement.cs
- ColorTypeConverter.cs
- CorePropertiesFilter.cs
- ApplicationCommands.cs
- Events.cs
- CodeDirectoryCompiler.cs
- PermissionSetEnumerator.cs
- Missing.cs
- ExtensionQuery.cs
- TableParaClient.cs
- Animatable.cs
- NetworkStream.cs
- sqlinternaltransaction.cs
- HostedElements.cs
- InputMethodStateTypeInfo.cs
- ErrorFormatterPage.cs
- DropSourceBehavior.cs
- DataGridGeneralPage.cs
- AsyncCompletedEventArgs.cs
- MessageSecurityOverHttpElement.cs
- SafeBitVector32.cs
- XamlDebuggerXmlReader.cs
- ConfigXmlWhitespace.cs
- DependencyObjectType.cs
- ContractInferenceHelper.cs
- Wizard.cs
- AllowedAudienceUriElement.cs
- WorkflowViewStateService.cs
- X509CertificateCollection.cs
- DiagnosticsConfigurationHandler.cs
- CodeStatementCollection.cs
- DataSourceView.cs
- ComboBox.cs
- NonSerializedAttribute.cs
- ChangePassword.cs
- DebuggerService.cs
- ComponentCollection.cs
- TCPClient.cs
- ConstructorBuilder.cs
- DataKeyCollection.cs
- InkCanvasSelection.cs
- ChannelServices.cs
- VirtualizingPanel.cs
- UriExt.cs
- Image.cs
- DrawingCollection.cs
- ListBox.cs
- Button.cs
- DebugInfoGenerator.cs
- DataChangedEventManager.cs
- TextElementEnumerator.cs
- MessageDecoder.cs
- ProviderConnectionPoint.cs
- TemplateParser.cs
- ResourceWriter.cs
- DocumentReferenceCollection.cs
- RemoveStoryboard.cs
- wgx_render.cs
- OpCodes.cs
- WindowCollection.cs
- PropertyGridCommands.cs
- PeerHopCountAttribute.cs
- EditorPart.cs
- ObjectDataSourceView.cs
- Stacktrace.cs
- InputGestureCollection.cs
- RunInstallerAttribute.cs