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
- ItemChangedEventArgs.cs
- ClockController.cs
- NavigationProperty.cs
- ValidationRule.cs
- StaticExtension.cs
- SafeNativeMethods.cs
- ParallelEnumerable.cs
- InteropDesigner.xaml.cs
- PointHitTestParameters.cs
- ProcessInputEventArgs.cs
- MediaTimeline.cs
- Deserializer.cs
- CodeStatement.cs
- ReflectionHelper.cs
- AssemblyAttributesGoHere.cs
- HtmlLink.cs
- EventLogPermissionAttribute.cs
- XComponentModel.cs
- SqlBooleanizer.cs
- ArraySortHelper.cs
- SmtpNtlmAuthenticationModule.cs
- XmlAttributeOverrides.cs
- SiteMembershipCondition.cs
- AnimationClock.cs
- AssociationTypeEmitter.cs
- HttpListener.cs
- BlurBitmapEffect.cs
- SecurityUniqueId.cs
- Label.cs
- filewebresponse.cs
- DbProviderManifest.cs
- ValueUnavailableException.cs
- StrokeNodeData.cs
- HttpWebRequestElement.cs
- CollectionViewProxy.cs
- Message.cs
- HtmlShim.cs
- PerformanceCounterManager.cs
- FunctionImportElement.cs
- SharedStatics.cs
- EmbeddedMailObject.cs
- ParserExtension.cs
- PreservationFileReader.cs
- InvokeGenerator.cs
- CalloutQueueItem.cs
- ModifiableIteratorCollection.cs
- XPathQilFactory.cs
- _NestedMultipleAsyncResult.cs
- AttributeAction.cs
- ComponentCommands.cs
- FileDialogPermission.cs
- UnsafeNetInfoNativeMethods.cs
- PathData.cs
- DataShape.cs
- TraceListener.cs
- ContextMenuAutomationPeer.cs
- odbcmetadatafactory.cs
- FixedSOMTable.cs
- RuntimeHelpers.cs
- XmlDownloadManager.cs
- COM2PropertyPageUITypeConverter.cs
- ParameterElement.cs
- ResourceManagerWrapper.cs
- CodeTryCatchFinallyStatement.cs
- FileDataSourceCache.cs
- serverconfig.cs
- OperationInfo.cs
- SystemGatewayIPAddressInformation.cs
- QilExpression.cs
- WebPartHeaderCloseVerb.cs
- TextStore.cs
- TextEditorContextMenu.cs
- XmlQueryTypeFactory.cs
- PropertyItemInternal.cs
- MobileComponentEditorPage.cs
- ToolStripItemCollection.cs
- PersonalizationProvider.cs
- Pair.cs
- ProfessionalColorTable.cs
- RowUpdatedEventArgs.cs
- IFormattable.cs
- BinaryParser.cs
- ConvertEvent.cs
- WindowsClaimSet.cs
- KernelTypeValidation.cs
- CollectionExtensions.cs
- ResourceAssociationTypeEnd.cs
- WindowsListViewGroupSubsetLink.cs
- TypeGeneratedEventArgs.cs
- AnnotationResourceCollection.cs
- Int32KeyFrameCollection.cs
- _IPv4Address.cs
- OAVariantLib.cs
- MenuScrollingVisibilityConverter.cs
- ImpersonationContext.cs
- SqlNotificationEventArgs.cs
- ComplexTypeEmitter.cs
- DataGridCommandEventArgs.cs
- PackageStore.cs
- MiniConstructorInfo.cs