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
- BookmarkScopeHandle.cs
- HtmlInputFile.cs
- HebrewCalendar.cs
- DocumentViewerBaseAutomationPeer.cs
- AssociatedControlConverter.cs
- TableRowCollection.cs
- Trace.cs
- SafePointer.cs
- SmtpDigestAuthenticationModule.cs
- SafeUserTokenHandle.cs
- ValueTypeFieldReference.cs
- DrawListViewItemEventArgs.cs
- ISAPIWorkerRequest.cs
- LongSumAggregationOperator.cs
- CompoundFileReference.cs
- StorageFunctionMapping.cs
- MethodInfo.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Html32TextWriter.cs
- WhitespaceRuleLookup.cs
- OrderByLifter.cs
- NumericUpDownAccelerationCollection.cs
- ComboBox.cs
- DesignerCategoryAttribute.cs
- EFTableProvider.cs
- SmtpDigestAuthenticationModule.cs
- WCFServiceClientProxyGenerator.cs
- DataColumnPropertyDescriptor.cs
- RoleService.cs
- UIElement.cs
- InternalConfigSettingsFactory.cs
- Latin1Encoding.cs
- Error.cs
- RequiredAttributeAttribute.cs
- MappedMetaModel.cs
- RawUIStateInputReport.cs
- ControlBuilderAttribute.cs
- DropAnimation.xaml.cs
- XamlFigureLengthSerializer.cs
- TargetException.cs
- SymDocumentType.cs
- COAUTHIDENTITY.cs
- QualifiedCellIdBoolean.cs
- WeakReferenceKey.cs
- EncryptedType.cs
- QilName.cs
- ReversePositionQuery.cs
- PostBackOptions.cs
- DynamicPropertyHolder.cs
- OutputWindow.cs
- CodePageEncoding.cs
- AggregateException.cs
- BatchParser.cs
- DependencyPropertyKind.cs
- ReversePositionQuery.cs
- RunWorkerCompletedEventArgs.cs
- StrongNameUtility.cs
- ComponentChangingEvent.cs
- ExportOptions.cs
- ConfigsHelper.cs
- CacheVirtualItemsEvent.cs
- UmAlQuraCalendar.cs
- RightsManagementInformation.cs
- JoinSymbol.cs
- DataGrid.cs
- BypassElementCollection.cs
- TakeOrSkipQueryOperator.cs
- PolicyValidationException.cs
- XmlCharacterData.cs
- Registry.cs
- PeerNeighborManager.cs
- LostFocusEventManager.cs
- wgx_exports.cs
- DispatcherTimer.cs
- _TimerThread.cs
- CompilerErrorCollection.cs
- Thickness.cs
- FullTextLine.cs
- RightsDocument.cs
- SspiHelper.cs
- Command.cs
- SoapReflectionImporter.cs
- HttpProxyCredentialType.cs
- Vector3DConverter.cs
- BinaryMethodMessage.cs
- MarkupProperty.cs
- PrimitiveType.cs
- BehaviorEditorPart.cs
- ByteViewer.cs
- NavigationPropertyEmitter.cs
- WebPartAuthorizationEventArgs.cs
- AssociationType.cs
- ExpressionEditorAttribute.cs
- XmlSiteMapProvider.cs
- MetadataProperty.cs
- CompatibleComparer.cs
- RequestTimeoutManager.cs
- GridViewAutomationPeer.cs
- EventRoute.cs
- RecordBuilder.cs