Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- GlobalizationAssembly.cs
- StorageInfo.cs
- DbConnectionPoolIdentity.cs
- UrlMappingsSection.cs
- Graph.cs
- DBPropSet.cs
- CodeThrowExceptionStatement.cs
- assertwrapper.cs
- MdiWindowListStrip.cs
- DesignBindingPicker.cs
- RichTextBox.cs
- AppSecurityManager.cs
- ValidationRuleCollection.cs
- Attributes.cs
- CompositeCollectionView.cs
- SurrogateSelector.cs
- FunctionDescription.cs
- XPathNode.cs
- IssuerInformation.cs
- WebUtil.cs
- StubHelpers.cs
- Stylesheet.cs
- XmlILAnnotation.cs
- EntityType.cs
- ScrollableControl.cs
- ToolStripDropDownMenu.cs
- ContextTokenTypeConverter.cs
- MaterialGroup.cs
- QueryRewriter.cs
- WebUtil.cs
- PermissionRequestEvidence.cs
- IndexerHelper.cs
- ImageMap.cs
- XmlEncodedRawTextWriter.cs
- BaseDataList.cs
- HtmlImage.cs
- SeparatorAutomationPeer.cs
- StagingAreaInputItem.cs
- NameValueSectionHandler.cs
- DSACryptoServiceProvider.cs
- Substitution.cs
- DataGridViewControlCollection.cs
- SiblingIterators.cs
- COM2EnumConverter.cs
- RestHandlerFactory.cs
- SinglePageViewer.cs
- ServiceObjectContainer.cs
- SelectionService.cs
- SimpleBitVector32.cs
- UserControlFileEditor.cs
- X509RawDataKeyIdentifierClause.cs
- Error.cs
- SqlUnionizer.cs
- DeleteWorkflowOwnerCommand.cs
- PathSegmentCollection.cs
- ErasingStroke.cs
- SspiWrapper.cs
- XmlSchemaGroupRef.cs
- Window.cs
- BufferModeSettings.cs
- StructuredProperty.cs
- UrlPath.cs
- Help.cs
- FileInfo.cs
- BaseParaClient.cs
- CopyAttributesAction.cs
- AssemblyHash.cs
- SQLInt32.cs
- SendMailErrorEventArgs.cs
- SpellerStatusTable.cs
- PolyBezierSegmentFigureLogic.cs
- DefaultProxySection.cs
- ResourcePermissionBaseEntry.cs
- XmlSchemaInfo.cs
- ParserStreamGeometryContext.cs
- TagNameToTypeMapper.cs
- ConnectionPointCookie.cs
- SafeNativeMethodsMilCoreApi.cs
- DynamicQueryableWrapper.cs
- Message.cs
- StructuredTypeEmitter.cs
- NetworkInformationPermission.cs
- WebPartDescription.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SHA256.cs
- XmlCustomFormatter.cs
- InvalidOleVariantTypeException.cs
- TaskFormBase.cs
- GestureRecognitionResult.cs
- DocumentPage.cs
- UInt64Converter.cs
- TableRowsCollectionEditor.cs
- PageRouteHandler.cs
- AttachInfo.cs
- HMACSHA512.cs
- ZoneLinkButton.cs
- ScriptRegistrationManager.cs
- ConstructorNeedsTagAttribute.cs
- SingleResultAttribute.cs
- GeometryDrawing.cs