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
- ByteBufferPool.cs
- QilPatternVisitor.cs
- HighlightVisual.cs
- MulticastOption.cs
- SourceFileInfo.cs
- PixelFormat.cs
- XhtmlBasicCommandAdapter.cs
- EventItfInfo.cs
- NetPeerTcpBindingCollectionElement.cs
- ChangeProcessor.cs
- CodeNamespaceImport.cs
- ScriptResourceHandler.cs
- FontResourceCache.cs
- RelationshipNavigation.cs
- CurrencyManager.cs
- ReplyChannelBinder.cs
- ScrollChrome.cs
- CommonObjectSecurity.cs
- SplashScreenNativeMethods.cs
- Triplet.cs
- ScalarRestriction.cs
- BooleanFacetDescriptionElement.cs
- RadioButton.cs
- RuntimeConfig.cs
- TextTreeText.cs
- QueryTaskGroupState.cs
- TransformDescriptor.cs
- AppliedDeviceFiltersEditor.cs
- ToolStripItemTextRenderEventArgs.cs
- MembershipPasswordException.cs
- URL.cs
- ProcessHostConfigUtils.cs
- ElementHost.cs
- StrongTypingException.cs
- WebBrowserProgressChangedEventHandler.cs
- CatalogPartCollection.cs
- NumberFormatInfo.cs
- KeyPullup.cs
- _NestedSingleAsyncResult.cs
- RelatedPropertyManager.cs
- TagMapCollection.cs
- DropShadowEffect.cs
- CodeGeneratorAttribute.cs
- BitmapMetadata.cs
- FragmentNavigationEventArgs.cs
- DataServiceSaveChangesEventArgs.cs
- ObjectQuery.cs
- ProtocolElementCollection.cs
- ContentDesigner.cs
- NativeMethods.cs
- HostedElements.cs
- CopyAttributesAction.cs
- DataBinding.cs
- CompilationPass2TaskInternal.cs
- IsolatedStorageException.cs
- ToolStripItemTextRenderEventArgs.cs
- ZipPackage.cs
- GifBitmapDecoder.cs
- MasterPageCodeDomTreeGenerator.cs
- WindowsListViewItem.cs
- Bidi.cs
- DateTimeUtil.cs
- ButtonChrome.cs
- CompositeDispatchFormatter.cs
- AbstractDataSvcMapFileLoader.cs
- TextServicesPropertyRanges.cs
- MultipartContentParser.cs
- BasePattern.cs
- ZoneLinkButton.cs
- ToolStripDropDownButton.cs
- ColumnReorderedEventArgs.cs
- EventSinkActivity.cs
- RadioButtonStandardAdapter.cs
- PixelFormat.cs
- FileInfo.cs
- BrowserCapabilitiesFactory.cs
- HttpRuntimeSection.cs
- XmlTextWriter.cs
- ValidationPropertyAttribute.cs
- StorageEntityTypeMapping.cs
- ParseElement.cs
- MatrixAnimationBase.cs
- FacetDescriptionElement.cs
- EventNotify.cs
- FragmentQueryKB.cs
- Int32Collection.cs
- MenuItemCollection.cs
- WebPartMenuStyle.cs
- UserMapPath.cs
- ZipIOLocalFileHeader.cs
- IPAddress.cs
- HMACSHA1.cs
- AuthorizationSection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ImageBrush.cs
- IPipelineRuntime.cs
- TextBox.cs
- SctClaimDictionary.cs
- MemberDescriptor.cs
- UnSafeCharBuffer.cs