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
- ZipIOCentralDirectoryFileHeader.cs
- XmlCodeExporter.cs
- ChangeDirector.cs
- PropertyFilter.cs
- CreateUserWizardStep.cs
- XmlAttributeOverrides.cs
- NonClientArea.cs
- FilteredSchemaElementLookUpTable.cs
- DbProviderFactoriesConfigurationHandler.cs
- ContainerAction.cs
- FullTextState.cs
- UpdatePanelTriggerCollection.cs
- CompensatableTransactionScopeActivityDesigner.cs
- ToolboxComponentsCreatingEventArgs.cs
- RoutedEventValueSerializer.cs
- AggregateNode.cs
- ResXResourceWriter.cs
- BinaryNode.cs
- MessageEventSubscriptionService.cs
- PersianCalendar.cs
- CookieHandler.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ReaderContextStackData.cs
- IIS7WorkerRequest.cs
- CfgParser.cs
- ServiceNotStartedException.cs
- SinglePageViewer.cs
- TableParagraph.cs
- XPathItem.cs
- ImageListUtils.cs
- BitmapCache.cs
- RevocationPoint.cs
- WhileDesigner.cs
- ConstructorNeedsTagAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- ThumbButtonInfo.cs
- NamespaceDecl.cs
- TargetConverter.cs
- TraceContextEventArgs.cs
- GridViewDeletedEventArgs.cs
- WebPermission.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- FirstMatchCodeGroup.cs
- CancellationScope.cs
- CryptoApi.cs
- Transform3D.cs
- SQLBinaryStorage.cs
- State.cs
- UserControl.cs
- VisualBrush.cs
- OleDbStruct.cs
- columnmapkeybuilder.cs
- DataGridItem.cs
- CoTaskMemHandle.cs
- SoapAttributeOverrides.cs
- TextServicesManager.cs
- RenamedEventArgs.cs
- XPathNavigatorException.cs
- XPathNavigatorReader.cs
- SqlServices.cs
- Pair.cs
- unsafeIndexingFilterStream.cs
- HttpTransportSecurityElement.cs
- TabControlToolboxItem.cs
- SystemGatewayIPAddressInformation.cs
- XmlTextReaderImpl.cs
- TextRunCache.cs
- PropertyBuilder.cs
- DataReaderContainer.cs
- AnnotationMap.cs
- UnitySerializationHolder.cs
- UInt64Converter.cs
- _BasicClient.cs
- RenderCapability.cs
- objectresult_tresulttype.cs
- DynamicHyperLink.cs
- DbConnectionInternal.cs
- DependencyPropertyChangedEventArgs.cs
- Encoder.cs
- SynchronizationContext.cs
- ListControl.cs
- RowToParametersTransformer.cs
- UserControlAutomationPeer.cs
- TextDecorationUnitValidation.cs
- ErrorLog.cs
- RoutedEventHandlerInfo.cs
- Win32SafeHandles.cs
- XamlInt32CollectionSerializer.cs
- InputScopeAttribute.cs
- UpdateTracker.cs
- DocumentEventArgs.cs
- _ProxyChain.cs
- StreamGeometry.cs
- ScriptingSectionGroup.cs
- Stroke2.cs
- Span.cs
- MenuItem.cs
- ZipIOLocalFileDataDescriptor.cs
- sitestring.cs
- Rect3DValueSerializer.cs