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
- XmlSignatureProperties.cs
- SequenceFullException.cs
- XhtmlTextWriter.cs
- DefaultPrintController.cs
- Visual3D.cs
- VideoDrawing.cs
- AnnotationComponentManager.cs
- WebPartConnectionsCloseVerb.cs
- DataGridGeneralPage.cs
- FixedSOMPage.cs
- InternalBase.cs
- PageOutputQuality.cs
- StylusPointProperty.cs
- XamlPathDataSerializer.cs
- KeyValuePairs.cs
- TransformGroup.cs
- SqlCacheDependencyDatabase.cs
- RichTextBoxDesigner.cs
- XMLSchema.cs
- FixedFindEngine.cs
- DeviceSpecific.cs
- AssociationTypeEmitter.cs
- MoveSizeWinEventHandler.cs
- PropertyItemInternal.cs
- FlatButtonAppearance.cs
- DbConnectionPoolGroupProviderInfo.cs
- SettingsProviderCollection.cs
- ComboBox.cs
- TextSpan.cs
- Privilege.cs
- XsltLoader.cs
- PropertyConverter.cs
- DelayedRegex.cs
- ErrorTableItemStyle.cs
- XslTransform.cs
- InkCanvasFeedbackAdorner.cs
- StatusBarDrawItemEvent.cs
- BulletedList.cs
- MouseCaptureWithinProperty.cs
- ContentType.cs
- LinqDataSourceValidationException.cs
- GeneralTransform.cs
- TabControl.cs
- CompModHelpers.cs
- Membership.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- Clipboard.cs
- OdbcCommandBuilder.cs
- SmtpSection.cs
- _HTTPDateParse.cs
- XslUrlEditor.cs
- ProviderIncompatibleException.cs
- MeasureData.cs
- GuidelineCollection.cs
- WebHttpEndpoint.cs
- ExtensionDataObject.cs
- TextSelectionHighlightLayer.cs
- ZoneIdentityPermission.cs
- MarkupCompiler.cs
- ConfigurationElementProperty.cs
- PropertyEmitterBase.cs
- BindableTemplateBuilder.cs
- GacUtil.cs
- DomainUpDown.cs
- MergeFailedEvent.cs
- TrailingSpaceComparer.cs
- Win32PrintDialog.cs
- ActivationProxy.cs
- DetailsViewInsertedEventArgs.cs
- StrongNameMembershipCondition.cs
- CustomTypeDescriptor.cs
- DetailsViewDeletedEventArgs.cs
- ApplicationId.cs
- MobileControlsSectionHelper.cs
- CalendarDataBindingHandler.cs
- externdll.cs
- EntityCollection.cs
- ProfilePropertySettings.cs
- QualificationDataAttribute.cs
- ResourceDictionary.cs
- BaseParaClient.cs
- ListenerChannelContext.cs
- Boolean.cs
- FusionWrap.cs
- ViewgenContext.cs
- SingleSelectRootGridEntry.cs
- CompareValidator.cs
- QuotedPrintableStream.cs
- Serializer.cs
- ListManagerBindingsCollection.cs
- Message.cs
- BitmapEffectInputConnector.cs
- Package.cs
- DbConnectionPoolOptions.cs
- XmlWrappingReader.cs
- Switch.cs
- UnknownWrapper.cs
- TraceSource.cs
- Exceptions.cs
- FragmentQueryKB.cs