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
- SmtpMail.cs
- ColumnBinding.cs
- DataDocumentXPathNavigator.cs
- AuthorizationContext.cs
- RequestBringIntoViewEventArgs.cs
- IntSecurity.cs
- TemplatePropertyEntry.cs
- KeySpline.cs
- GrammarBuilderDictation.cs
- Configuration.cs
- InkCanvasAutomationPeer.cs
- SR.Designer.cs
- StringReader.cs
- CodeSubDirectory.cs
- Size.cs
- PeerNearMe.cs
- SafeCryptoKeyHandle.cs
- PackWebRequestFactory.cs
- SizeFConverter.cs
- XmlSchemaValidator.cs
- RegexTypeEditor.cs
- SqlParameter.cs
- MessageDecoder.cs
- ModuleConfigurationInfo.cs
- ZipIOLocalFileDataDescriptor.cs
- _ConnectOverlappedAsyncResult.cs
- ChildDocumentBlock.cs
- DesigntimeLicenseContext.cs
- __FastResourceComparer.cs
- FlowDocumentPaginator.cs
- DoubleLinkList.cs
- SerializationSectionGroup.cs
- SqlDataSourceStatusEventArgs.cs
- _BasicClient.cs
- uribuilder.cs
- ResourceContainer.cs
- ImageButton.cs
- SqlDataSourceFilteringEventArgs.cs
- AddInProcess.cs
- RoutingBehavior.cs
- Fonts.cs
- InternalConfigEventArgs.cs
- XhtmlBasicControlAdapter.cs
- RunWorkerCompletedEventArgs.cs
- RadialGradientBrush.cs
- ArcSegment.cs
- Viewport3DAutomationPeer.cs
- XsltException.cs
- ServicePoint.cs
- FaultBookmark.cs
- SubstitutionList.cs
- XmlCustomFormatter.cs
- DecoderExceptionFallback.cs
- ListenerHandler.cs
- DataSourceControlBuilder.cs
- IItemProperties.cs
- BitmapEncoder.cs
- ExtensionSurface.cs
- Fonts.cs
- XmlChoiceIdentifierAttribute.cs
- hwndwrapper.cs
- XamlStyleSerializer.cs
- ByeMessageCD1.cs
- RowUpdatedEventArgs.cs
- ConfigurationValidatorBase.cs
- TextLineBreak.cs
- ClientSettingsSection.cs
- CellCreator.cs
- WebHostUnsafeNativeMethods.cs
- FileSecurity.cs
- Scene3D.cs
- CursorConverter.cs
- ArraySet.cs
- XamlClipboardData.cs
- StorageComplexPropertyMapping.cs
- DataObjectPastingEventArgs.cs
- SmtpException.cs
- _LocalDataStore.cs
- SendActivityValidator.cs
- RegexCapture.cs
- XmlSerializationGeneratedCode.cs
- RelationshipSet.cs
- AuthenticationServiceManager.cs
- CollectionViewProxy.cs
- CharStorage.cs
- SafeNativeMethods.cs
- IndexedString.cs
- ArrayElementGridEntry.cs
- HttpRuntimeSection.cs
- ConfigDefinitionUpdates.cs
- XamlRtfConverter.cs
- basevalidator.cs
- EnumerableCollectionView.cs
- Hashtable.cs
- MimeMultiPart.cs
- XmlSchemaGroupRef.cs
- XmlDataContract.cs
- ServiceDurableInstance.cs
- PrintPageEvent.cs
- AssemblyAttributesGoHere.cs