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
- LinearGradientBrush.cs
- ControlSerializer.cs
- MatrixValueSerializer.cs
- SettingsPropertyNotFoundException.cs
- DictionaryContent.cs
- FigureHelper.cs
- ConfigurationSectionGroupCollection.cs
- SqlDataSourceConfigureSelectPanel.cs
- DataColumnMappingCollection.cs
- HelloOperationCD1AsyncResult.cs
- InputProcessorProfilesLoader.cs
- WebPartAuthorizationEventArgs.cs
- LineGeometry.cs
- WindowsFormsSectionHandler.cs
- UInt16Converter.cs
- RelationshipConstraintValidator.cs
- TcpSocketManager.cs
- InternalsVisibleToAttribute.cs
- CheckableControlBaseAdapter.cs
- HMACSHA1.cs
- Function.cs
- ProviderCollection.cs
- MessageBox.cs
- IpcPort.cs
- UserControlFileEditor.cs
- ProviderUtil.cs
- PickDesigner.xaml.cs
- ReachSerializer.cs
- XmlSchemaType.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DataGridView.cs
- DocumentOrderQuery.cs
- PanelDesigner.cs
- MeasureItemEvent.cs
- SelectionItemProviderWrapper.cs
- ConstraintConverter.cs
- DebugManager.cs
- PngBitmapEncoder.cs
- LayoutInformation.cs
- SafeCryptoHandles.cs
- AnnotationMap.cs
- AsynchronousChannelMergeEnumerator.cs
- XmlUtil.cs
- WebPartConnectionsEventArgs.cs
- SharedRuntimeState.cs
- DebugController.cs
- EventListenerClientSide.cs
- ServiceDescriptionData.cs
- Schedule.cs
- DataGridViewColumnStateChangedEventArgs.cs
- RelationshipWrapper.cs
- Number.cs
- PropertyMetadata.cs
- ToolStripOverflow.cs
- EventHandlersStore.cs
- AsmxEndpointPickerExtension.cs
- Filter.cs
- Debug.cs
- RequestQueryProcessor.cs
- HostedHttpTransportManager.cs
- SqlCommandBuilder.cs
- XXXOnTypeBuilderInstantiation.cs
- XsltQilFactory.cs
- ComponentEditorPage.cs
- TemplateControl.cs
- AsymmetricKeyExchangeDeformatter.cs
- WebPart.cs
- BindValidationContext.cs
- ConfigXmlCDataSection.cs
- EditorZoneBase.cs
- MiniModule.cs
- ErrorWebPart.cs
- ListView.cs
- KeyGestureValueSerializer.cs
- WorkflowOperationContext.cs
- KeyValueSerializer.cs
- Flattener.cs
- TableLayoutColumnStyleCollection.cs
- TailPinnedEventArgs.cs
- JournalNavigationScope.cs
- MatrixCamera.cs
- PolicyValidationException.cs
- MasterPageParser.cs
- AbstractExpressions.cs
- StaticFileHandler.cs
- GeneralTransformGroup.cs
- SQLGuidStorage.cs
- DynamicMethod.cs
- InputProcessorProfiles.cs
- ThrowHelper.cs
- RegexGroupCollection.cs
- SiteMapNodeItemEventArgs.cs
- DataContractSerializerOperationFormatter.cs
- BasicExpressionVisitor.cs
- ContentControl.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TextPenaltyModule.cs
- SortAction.cs
- KernelTypeValidation.cs
- ThreadSafeList.cs