Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 1 / 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. //------------------------------------------------------------------------------ ///// 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./// 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
- VectorCollectionConverter.cs
- EntityStoreSchemaFilterEntry.cs
- MessageFilterException.cs
- FilterableAttribute.cs
- Sql8ExpressionRewriter.cs
- RadioButtonAutomationPeer.cs
- AccessText.cs
- TextDataBindingHandler.cs
- SafeHandles.cs
- SharedPersonalizationStateInfo.cs
- CodeCompiler.cs
- ToolBarButtonDesigner.cs
- TableLayoutSettings.cs
- LocatorManager.cs
- Command.cs
- ErrorTableItemStyle.cs
- ServiceXNameTypeConverter.cs
- UniqueIdentifierService.cs
- ProxyAttribute.cs
- MultiSelectRootGridEntry.cs
- NamespaceEmitter.cs
- RuleSettingsCollection.cs
- DataControlReference.cs
- XamlStackWriter.cs
- ChildTable.cs
- LayoutInformation.cs
- UpDownBase.cs
- StreamInfo.cs
- Bitmap.cs
- MetafileHeaderWmf.cs
- Attributes.cs
- DataGridCellsPanel.cs
- CriticalFinalizerObject.cs
- sqlnorm.cs
- QueryableDataSourceView.cs
- FileEnumerator.cs
- SignatureToken.cs
- ConfigXmlCDataSection.cs
- DataSetMappper.cs
- JsonEnumDataContract.cs
- DataGridViewCellFormattingEventArgs.cs
- PageCatalogPart.cs
- WhitespaceRule.cs
- SingleConverter.cs
- KeyFrames.cs
- PieceNameHelper.cs
- RangeValuePattern.cs
- DataException.cs
- SettingsPropertyIsReadOnlyException.cs
- X509SecurityTokenProvider.cs
- ScrollBar.cs
- SemaphoreSecurity.cs
- XmlElementCollection.cs
- ImmComposition.cs
- WeakEventTable.cs
- FileVersion.cs
- RelativeSource.cs
- ToolStripStatusLabel.cs
- PersonalizationProviderCollection.cs
- ClientFormsIdentity.cs
- ISAPIApplicationHost.cs
- XPathCompiler.cs
- JavaScriptObjectDeserializer.cs
- DbConnectionPoolOptions.cs
- MetadataItem_Static.cs
- DiscoveryOperationContext.cs
- SecurityContextSecurityTokenResolver.cs
- BackgroundFormatInfo.cs
- RepeaterItem.cs
- ConfigurationProperty.cs
- ToolStripDropDown.cs
- MatrixCamera.cs
- ControlAdapter.cs
- IChannel.cs
- VScrollProperties.cs
- embossbitmapeffect.cs
- SuppressIldasmAttribute.cs
- ClientScriptManager.cs
- WmiPutTraceRecord.cs
- AlgoModule.cs
- LeafCellTreeNode.cs
- X509SecurityToken.cs
- InstanceKeyCollisionException.cs
- mediaclock.cs
- Variable.cs
- SqlConnectionStringBuilder.cs
- SmiEventSink_DeferedProcessing.cs
- RadioButtonList.cs
- SocketElement.cs
- XmlAttributeCollection.cs
- GridEntry.cs
- LogFlushAsyncResult.cs
- PropertyRecord.cs
- Transactions.cs
- ListInitExpression.cs
- ComplexTypeEmitter.cs
- SignatureToken.cs
- EntitySqlQueryCacheEntry.cs
- DeferredBinaryDeserializerExtension.cs
- ContainerAction.cs