Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 1305376 / 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, ] 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, ] 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
- CancellationTokenSource.cs
- Attachment.cs
- TreeBuilder.cs
- SizeIndependentAnimationStorage.cs
- HitTestDrawingContextWalker.cs
- InlineObject.cs
- FormViewRow.cs
- ScrollableControl.cs
- InstanceLockQueryResult.cs
- DPCustomTypeDescriptor.cs
- AnimationTimeline.cs
- ColorBlend.cs
- COAUTHINFO.cs
- ComponentCollection.cs
- Matrix3DStack.cs
- StylusPointCollection.cs
- PrintingPermission.cs
- Cloud.cs
- SolidBrush.cs
- ClientScriptManager.cs
- WindowVisualStateTracker.cs
- ConfigurationValidatorBase.cs
- FormsAuthenticationUserCollection.cs
- UniqueConstraint.cs
- CompositeScriptReference.cs
- LineGeometry.cs
- QilTargetType.cs
- EndpointDiscoveryMetadataCD1.cs
- MultiAsyncResult.cs
- DockProviderWrapper.cs
- MetadataSerializer.cs
- CompleteWizardStep.cs
- SByteConverter.cs
- InheritanceRules.cs
- WindowsFormsLinkLabel.cs
- SchemaTableOptionalColumn.cs
- SystemMulticastIPAddressInformation.cs
- CompositeActivityTypeDescriptorProvider.cs
- BindingGroup.cs
- DateTimeUtil.cs
- MailAddress.cs
- MimeFormatter.cs
- StringDictionary.cs
- ParagraphVisual.cs
- WebDescriptionAttribute.cs
- ListViewSelectEventArgs.cs
- WebBrowserEvent.cs
- DataGridViewUtilities.cs
- CriticalHandle.cs
- JsonSerializer.cs
- ImportCatalogPart.cs
- EndpointIdentityConverter.cs
- LogReserveAndAppendState.cs
- WebSysDefaultValueAttribute.cs
- RemotingException.cs
- TabletDevice.cs
- Line.cs
- FontNameConverter.cs
- ViewStateModeByIdAttribute.cs
- WebPartUtil.cs
- CustomAttribute.cs
- TripleDESCryptoServiceProvider.cs
- WebPartCloseVerb.cs
- ObjectIDGenerator.cs
- SafeTimerHandle.cs
- CheckBoxStandardAdapter.cs
- Transactions.cs
- MessageQueue.cs
- ScriptControlManager.cs
- ListBindingConverter.cs
- EntitySqlQueryState.cs
- MsmqIntegrationSecurityElement.cs
- WebPartConnectionsEventArgs.cs
- EventLogPermission.cs
- Delay.cs
- BooleanFacetDescriptionElement.cs
- PropertyStore.cs
- EncoderFallback.cs
- ServerValidateEventArgs.cs
- EventSetter.cs
- SpecularMaterial.cs
- WbemProvider.cs
- RefType.cs
- ChtmlTextWriter.cs
- DataGridViewImageCell.cs
- OletxEnlistment.cs
- VirtualPath.cs
- AutomationIdentifierGuids.cs
- WizardStepBase.cs
- ServerIdentity.cs
- RawStylusInputCustomData.cs
- PerformanceCounterCategory.cs
- ServicePointManager.cs
- FixedPageStructure.cs
- ZipIOExtraFieldElement.cs
- KeyValueSerializer.cs
- WindowClosedEventArgs.cs
- Trace.cs
- DataGridViewTextBoxCell.cs
- TypeBrowser.xaml.cs