Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ContentPosition.cs
- SystemTcpStatistics.cs
- ImmutableCommunicationTimeouts.cs
- RuntimeTransactionHandle.cs
- NotSupportedException.cs
- ItemList.cs
- PartialTrustValidationBehavior.cs
- AppDomainResourcePerfCounters.cs
- ServiceDescription.cs
- PropertyPath.cs
- HttpClientChannel.cs
- StorageBasedPackageProperties.cs
- DynamicILGenerator.cs
- BindToObject.cs
- Int32Rect.cs
- PassportAuthenticationModule.cs
- StringComparer.cs
- TextEditorCharacters.cs
- SourceChangedEventArgs.cs
- Keywords.cs
- ContentIterators.cs
- XamlSerializerUtil.cs
- TextWriterEngine.cs
- HttpWriter.cs
- DefaultValueAttribute.cs
- CodeConstructor.cs
- IntSecurity.cs
- BoundField.cs
- ItemList.cs
- InertiaTranslationBehavior.cs
- ToolStripContainer.cs
- EventLogHandle.cs
- storagemappingitemcollection.viewdictionary.cs
- InfiniteIntConverter.cs
- DataBoundControlHelper.cs
- ACE.cs
- DataGridViewCellConverter.cs
- GlobalProxySelection.cs
- Rule.cs
- SByte.cs
- ValidatorUtils.cs
- HtmlHead.cs
- DropShadowEffect.cs
- tooltip.cs
- ColorKeyFrameCollection.cs
- ScriptControlManager.cs
- CodePageUtils.cs
- MetaType.cs
- SqlDataRecord.cs
- Query.cs
- SimpleFieldTemplateFactory.cs
- FatalException.cs
- FigureHelper.cs
- ConfigurationLockCollection.cs
- TextDocumentView.cs
- QueryCacheManager.cs
- FixedPageProcessor.cs
- BookmarkWorkItem.cs
- DocumentXPathNavigator.cs
- TextTreeTextNode.cs
- CachedPathData.cs
- LoginUtil.cs
- ProcessManager.cs
- TableCellAutomationPeer.cs
- LineMetrics.cs
- HttpModulesSection.cs
- HtmlInputHidden.cs
- DisplayInformation.cs
- CultureMapper.cs
- HttpException.cs
- LinqDataSourceEditData.cs
- ScrollBar.cs
- SpellerStatusTable.cs
- DataGridViewColumnCollectionDialog.cs
- StylusDownEventArgs.cs
- PtsHost.cs
- MobilePage.cs
- DataSourceHelper.cs
- WebServiceParameterData.cs
- RoleServiceManager.cs
- StateMachineAction.cs
- DbRetry.cs
- LoginViewDesigner.cs
- Metafile.cs
- WSTrust.cs
- TypeDefinition.cs
- PointConverter.cs
- ValueType.cs
- SmtpNegotiateAuthenticationModule.cs
- MdImport.cs
- ScrollBarRenderer.cs
- InfoCardProofToken.cs
- RangeValueProviderWrapper.cs
- EventLogPermissionHolder.cs
- FileDataSourceCache.cs
- ControlPaint.cs
- TypeDependencyAttribute.cs
- AccessViolationException.cs
- RequestNavigateEventArgs.cs
- MarginCollapsingState.cs