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
- PersonalizationProviderCollection.cs
- InterleavedZipPartStream.cs
- InvariantComparer.cs
- SynchronizedInputHelper.cs
- BindingSource.cs
- HostProtectionException.cs
- OdbcTransaction.cs
- ElapsedEventArgs.cs
- HttpModuleActionCollection.cs
- SHA512Managed.cs
- HwndTarget.cs
- NameHandler.cs
- KeySplineConverter.cs
- XmlWellformedWriter.cs
- ChannelServices.cs
- GridSplitter.cs
- ProviderConnectionPoint.cs
- WS2007FederationHttpBindingCollectionElement.cs
- HttpModule.cs
- FixUpCollection.cs
- DbConnectionOptions.cs
- ParseHttpDate.cs
- Trustee.cs
- FilterQuery.cs
- EmptyEnumerable.cs
- StringToken.cs
- ConfigXmlAttribute.cs
- FrameSecurityDescriptor.cs
- SiteMapNodeItem.cs
- KeyTimeConverter.cs
- RequestQueue.cs
- DbProviderFactory.cs
- KeySplineConverter.cs
- BaseCodePageEncoding.cs
- DataSetMappper.cs
- ComNativeDescriptor.cs
- PreloadedPackages.cs
- Triplet.cs
- NotSupportedException.cs
- OptimisticConcurrencyException.cs
- grammarelement.cs
- DataGrid.cs
- NativeRecognizer.cs
- ConfigsHelper.cs
- LicenseProviderAttribute.cs
- FieldNameLookup.cs
- XmlMemberMapping.cs
- SrgsNameValueTag.cs
- Assert.cs
- ResourceReader.cs
- SqlDataSourceStatusEventArgs.cs
- ProcessHost.cs
- lengthconverter.cs
- Listbox.cs
- FixedSOMTableCell.cs
- WebPartCollection.cs
- DispatcherEventArgs.cs
- XsltArgumentList.cs
- DbConnectionPoolGroup.cs
- OutputCacheProfileCollection.cs
- SchemeSettingElementCollection.cs
- OutputChannelBinder.cs
- iisPickupDirectory.cs
- OrCondition.cs
- adornercollection.cs
- ThreadAbortException.cs
- MonitoringDescriptionAttribute.cs
- OleDbError.cs
- BindingFormattingDialog.cs
- PriorityItem.cs
- WaitForChangedResult.cs
- CryptoSession.cs
- CountAggregationOperator.cs
- StreamMarshaler.cs
- Substitution.cs
- GenericAuthenticationEventArgs.cs
- InternalControlCollection.cs
- ReadOnlyAttribute.cs
- EntityObject.cs
- XmlSchemaImporter.cs
- EmbeddedMailObjectsCollection.cs
- PagePropertiesChangingEventArgs.cs
- XmlSchemaSet.cs
- HtmlMeta.cs
- BitmapDecoder.cs
- ImageSourceValueSerializer.cs
- SessionMode.cs
- IDQuery.cs
- ErrorHandlingAcceptor.cs
- SQLDecimal.cs
- ImageCodecInfoPrivate.cs
- XmlDictionary.cs
- ProcessModuleDesigner.cs
- NonDualMessageSecurityOverHttpElement.cs
- WorkflowItemPresenter.cs
- IxmlLineInfo.cs
- FamilyTypeface.cs
- DataColumnMappingCollection.cs
- cache.cs
- EventsTab.cs