Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ ///// 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- HostedAspNetEnvironment.cs
- RestClientProxyHandler.cs
- ScrollBarRenderer.cs
- Hyperlink.cs
- TextEndOfSegment.cs
- __TransparentProxy.cs
- safelink.cs
- ScrollContentPresenter.cs
- SendMailErrorEventArgs.cs
- ParameterCollection.cs
- CodeDomConfigurationHandler.cs
- BooleanToVisibilityConverter.cs
- dbenumerator.cs
- ReflectionUtil.cs
- QueryableFilterRepeater.cs
- MethodBuilderInstantiation.cs
- DataSourceXmlSerializationAttribute.cs
- Rotation3D.cs
- QuaternionAnimationUsingKeyFrames.cs
- FlowDocumentView.cs
- FixedLineResult.cs
- ExpressionPrefixAttribute.cs
- PersistenceMetadataNamespace.cs
- DropDownList.cs
- Transform.cs
- InkSerializer.cs
- SoapIncludeAttribute.cs
- CoTaskMemHandle.cs
- XsltInput.cs
- ExpressionConverter.cs
- Descriptor.cs
- CellTreeNodeVisitors.cs
- PeerApplication.cs
- SocketPermission.cs
- HtmlTernaryTree.cs
- FontStretchConverter.cs
- handlecollector.cs
- ColorContextHelper.cs
- Point3DCollection.cs
- WmlValidationSummaryAdapter.cs
- _KerberosClient.cs
- DynamicObjectAccessor.cs
- MailMessageEventArgs.cs
- Speller.cs
- AutoResetEvent.cs
- CharEntityEncoderFallback.cs
- ApplicationException.cs
- Attribute.cs
- List.cs
- SplitContainerDesigner.cs
- XPathSelfQuery.cs
- ElementsClipboardData.cs
- ToolStripManager.cs
- WebPartEventArgs.cs
- XmlSchemaValidationException.cs
- FontWeightConverter.cs
- ReflectionServiceProvider.cs
- XmlAnyElementAttribute.cs
- WeakRefEnumerator.cs
- XmlEventCache.cs
- LabelExpression.cs
- CodeBlockBuilder.cs
- DesignerObject.cs
- M3DUtil.cs
- TypographyProperties.cs
- PrintPreviewDialog.cs
- HostExecutionContextManager.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PageCodeDomTreeGenerator.cs
- InputLangChangeRequestEvent.cs
- GenericUI.cs
- SerializationFieldInfo.cs
- SqlGatherConsumedAliases.cs
- MembershipValidatePasswordEventArgs.cs
- RegexGroupCollection.cs
- Main.cs
- EventSinkHelperWriter.cs
- CommonDialog.cs
- ScriptManagerProxy.cs
- KernelTypeValidation.cs
- DataSourceDescriptorCollection.cs
- PassportAuthenticationModule.cs
- ChannelListenerBase.cs
- DataObjectEventArgs.cs
- DesignerActionPropertyItem.cs
- IndexOutOfRangeException.cs
- NopReturnReader.cs
- ChannelSinkStacks.cs
- MD5CryptoServiceProvider.cs
- MetafileEditor.cs
- ResourceSetExpression.cs
- EventLog.cs
- WebEventCodes.cs
- ServiceHostFactory.cs
- RsaSecurityTokenParameters.cs
- InvokeMemberBinder.cs
- dbenumerator.cs
- SystemThemeKey.cs
- InvalidCardException.cs
- DocComment.cs