Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- RuntimeCompatibilityAttribute.cs
- SiteMap.cs
- StreamReader.cs
- XmlDictionaryReaderQuotas.cs
- CollectionViewGroupInternal.cs
- COAUTHIDENTITY.cs
- CachedPathData.cs
- FileInfo.cs
- VoiceObjectToken.cs
- ZipIOBlockManager.cs
- ExtenderControl.cs
- TypeContext.cs
- TextElementEnumerator.cs
- PropertiesTab.cs
- DbParameterCollectionHelper.cs
- followingquery.cs
- CorrelationResolver.cs
- ADConnectionHelper.cs
- EventTrigger.cs
- StrokeFIndices.cs
- UiaCoreProviderApi.cs
- RemoteWebConfigurationHostStream.cs
- ButtonBaseAutomationPeer.cs
- Utils.cs
- Triangle.cs
- FilterQueryOptionExpression.cs
- Viewport3DAutomationPeer.cs
- SecurityStateEncoder.cs
- MenuItemStyle.cs
- BamlRecordWriter.cs
- XmlAnyAttributeAttribute.cs
- ServiceContractListItemList.cs
- HtmlElementCollection.cs
- WebPartUserCapability.cs
- CompilationRelaxations.cs
- TextEditorLists.cs
- IPAddressCollection.cs
- File.cs
- RealProxy.cs
- DataGridDesigner.cs
- SmiXetterAccessMap.cs
- HostingEnvironment.cs
- MethodImplAttribute.cs
- XmlReturnReader.cs
- PropertyMapper.cs
- VisualCollection.cs
- CustomPopupPlacement.cs
- Merger.cs
- TimeoutHelper.cs
- XmlHelper.cs
- Menu.cs
- AsyncContentLoadedEventArgs.cs
- DataControlFieldHeaderCell.cs
- TailCallAnalyzer.cs
- MessageAction.cs
- SafeFileMappingHandle.cs
- SystemKeyConverter.cs
- FileLevelControlBuilderAttribute.cs
- FrameworkObject.cs
- ApplicationManager.cs
- BlurBitmapEffect.cs
- TemplatedEditableDesignerRegion.cs
- PerformanceCounterPermissionEntry.cs
- DataGridParentRows.cs
- LinearKeyFrames.cs
- PointLightBase.cs
- DoubleStorage.cs
- StorageTypeMapping.cs
- CallTemplateAction.cs
- ZipIOFileItemStream.cs
- SignatureHelper.cs
- MatrixKeyFrameCollection.cs
- TypeUnloadedException.cs
- ErrorInfoXmlDocument.cs
- WindowsStartMenu.cs
- UserControl.cs
- ToolboxBitmapAttribute.cs
- TextProperties.cs
- ConfigurationSectionCollection.cs
- PropertyChangedEventArgs.cs
- CounterCreationDataCollection.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlSchemaRedefine.cs
- DesignDataSource.cs
- IntSecurity.cs
- PreviewPageInfo.cs
- FormViewPagerRow.cs
- ValueChangedEventManager.cs
- SuppressMergeCheckAttribute.cs
- ProfilePropertyNameValidator.cs
- Panel.cs
- MaskInputRejectedEventArgs.cs
- AppLevelCompilationSectionCache.cs
- SessionEndingEventArgs.cs
- ToolStripGrip.cs
- InternalDispatchObject.cs
- RadioButtonPopupAdapter.cs
- ServiceDescriptionImporter.cs
- CodeChecksumPragma.cs
- ClientRuntimeConfig.cs