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
- DocumentEventArgs.cs
- QueryStack.cs
- PenThreadWorker.cs
- ConditionCollection.cs
- AbsoluteQuery.cs
- ShaderRenderModeValidation.cs
- IDispatchConstantAttribute.cs
- TextEditorDragDrop.cs
- LinearQuaternionKeyFrame.cs
- ArrayElementGridEntry.cs
- SystemNetHelpers.cs
- ValidationRuleCollection.cs
- PageRequestManager.cs
- SharedStatics.cs
- DateTimeOffsetConverter.cs
- PointCollectionConverter.cs
- ActiveDocumentEvent.cs
- EmptyStringExpandableObjectConverter.cs
- SortDescription.cs
- Missing.cs
- DataGridViewCellParsingEventArgs.cs
- DCSafeHandle.cs
- CallbackCorrelationInitializer.cs
- CmsInterop.cs
- CustomLineCap.cs
- TextParagraphView.cs
- InternalException.cs
- _NetworkingPerfCounters.cs
- DecoderFallback.cs
- AttachmentCollection.cs
- TextChangedEventArgs.cs
- FunctionCommandText.cs
- Char.cs
- externdll.cs
- DesignerSerializationManager.cs
- FirewallWrapper.cs
- StylusLogic.cs
- LayoutTableCell.cs
- WindowPattern.cs
- CommonGetThemePartSize.cs
- DesignerActionPanel.cs
- BoolExpressionVisitors.cs
- JsonFormatMapping.cs
- ActivityBuilderXamlWriter.cs
- ToolStripDropDownClosedEventArgs.cs
- XmlDigitalSignatureProcessor.cs
- AttachedPropertyInfo.cs
- PathSegmentCollection.cs
- SqlInternalConnectionTds.cs
- UxThemeWrapper.cs
- MsmqIntegrationBinding.cs
- XmlHierarchicalDataSourceView.cs
- BitmapEffectCollection.cs
- TemplateColumn.cs
- Wrapper.cs
- TreeNodeEventArgs.cs
- ProcessHostConfigUtils.cs
- SystemIPv4InterfaceProperties.cs
- StringSorter.cs
- XmlReaderSettings.cs
- MenuItem.cs
- SQLByte.cs
- SqlPersonalizationProvider.cs
- Accessible.cs
- DbConnectionPoolGroupProviderInfo.cs
- DocumentReferenceCollection.cs
- PriorityChain.cs
- SqlFileStream.cs
- MeasureData.cs
- AnnotationService.cs
- MediaElementAutomationPeer.cs
- TypeBuilderInstantiation.cs
- ChameleonKey.cs
- AuthenticationException.cs
- ToolStrip.cs
- XMLSyntaxException.cs
- XmlCDATASection.cs
- InternalEnumValidatorAttribute.cs
- MemberBinding.cs
- ping.cs
- OneOfTypeConst.cs
- TransactionOptions.cs
- DataService.cs
- WebScriptEnablingBehavior.cs
- Pointer.cs
- Tokenizer.cs
- ImageListStreamer.cs
- SigningCredentials.cs
- RegexCompilationInfo.cs
- SafeEventLogReadHandle.cs
- DesignTimeXamlWriter.cs
- LessThanOrEqual.cs
- AnnotationHighlightLayer.cs
- TimerElapsedEvenArgs.cs
- DataBinding.cs
- PostBackTrigger.cs
- CachedFontFamily.cs
- TemplateParser.cs
- ListView.cs
- CompositeDataBoundControl.cs