Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AVElementHelper.cs
- Composition.cs
- PtsHost.cs
- ChineseLunisolarCalendar.cs
- SelectionHighlightInfo.cs
- ConstrainedDataObject.cs
- BlockCollection.cs
- TableItemStyle.cs
- ListViewTableCell.cs
- GPStream.cs
- SignedXml.cs
- ScrollBar.cs
- SerialStream.cs
- LiteralSubsegment.cs
- CodeNamespaceCollection.cs
- SmiRequestExecutor.cs
- ArithmeticException.cs
- AttachInfo.cs
- Variable.cs
- TreeNode.cs
- RequestCachingSection.cs
- RTLAwareMessageBox.cs
- XmlUrlResolver.cs
- SoapHeaders.cs
- CodeTypeReference.cs
- SessionState.cs
- IdentityHolder.cs
- DoubleCollectionConverter.cs
- CodeMemberMethod.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- Rect3DValueSerializer.cs
- SuppressMessageAttribute.cs
- RijndaelCryptoServiceProvider.cs
- XmlAnyAttributeAttribute.cs
- XmlAttributeOverrides.cs
- CompositeScriptReferenceEventArgs.cs
- CodeCatchClauseCollection.cs
- CodeConditionStatement.cs
- Scheduling.cs
- SpecialTypeDataContract.cs
- CodeEventReferenceExpression.cs
- ResourceAssociationSet.cs
- MenuItemCollection.cs
- odbcmetadatacolumnnames.cs
- HtmlLinkAdapter.cs
- Encoder.cs
- TemplateBindingExpression.cs
- CodeTypeConstructor.cs
- ExtensionFile.cs
- SiteMapNodeItemEventArgs.cs
- DbConnectionStringBuilder.cs
- AssociationSet.cs
- ZipIOBlockManager.cs
- JapaneseCalendar.cs
- NumberSubstitution.cs
- DBSchemaRow.cs
- RuleSetBrowserDialog.cs
- TextElement.cs
- CommandDesigner.cs
- RemoteWebConfigurationHostServer.cs
- HtmlInputButton.cs
- AssertFilter.cs
- ComponentFactoryHelpers.cs
- NullableDoubleMinMaxAggregationOperator.cs
- DirectoryGroupQuery.cs
- CustomErrorsSection.cs
- EdmProperty.cs
- ExecutionEngineException.cs
- ObjectSet.cs
- PointLightBase.cs
- DeclarationUpdate.cs
- WebPartsPersonalization.cs
- Set.cs
- SqlCommandBuilder.cs
- CodeDomLoader.cs
- ContextConfiguration.cs
- TextEffect.cs
- DefaultHttpHandler.cs
- OutputCacheModule.cs
- ToolboxComponentsCreatedEventArgs.cs
- ToolStripPanel.cs
- Stroke.cs
- ScriptReferenceEventArgs.cs
- DropTarget.cs
- TokenBasedSet.cs
- ContainerVisual.cs
- ThemeableAttribute.cs
- WpfXamlMember.cs
- HashSetEqualityComparer.cs
- ListViewGroupConverter.cs
- ConsoleKeyInfo.cs
- HttpResponse.cs
- TypedDatasetGenerator.cs
- Tag.cs
- XmlILOptimizerVisitor.cs
- DataGridRowHeaderAutomationPeer.cs
- FusionWrap.cs
- ContextMenuAutomationPeer.cs
- FixedTextSelectionProcessor.cs
- StringDictionaryCodeDomSerializer.cs