Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SymLanguageType.cs
- _FixedSizeReader.cs
- GrammarBuilder.cs
- PrefixQName.cs
- ControlCommandSet.cs
- ArcSegment.cs
- Oid.cs
- InputMethod.cs
- Proxy.cs
- Button.cs
- ProcessModuleCollection.cs
- TraceUtility.cs
- XmlILTrace.cs
- LocatorPartList.cs
- RegionIterator.cs
- GroupedContextMenuStrip.cs
- Random.cs
- PenLineJoinValidation.cs
- DrawingContextDrawingContextWalker.cs
- MailAddress.cs
- Translator.cs
- JoinTreeSlot.cs
- PeerApplicationLaunchInfo.cs
- CharAnimationUsingKeyFrames.cs
- FontFamilyValueSerializer.cs
- ErrorWrapper.cs
- CellIdBoolean.cs
- HandleRef.cs
- processwaithandle.cs
- ByteKeyFrameCollection.cs
- ObjectQueryState.cs
- HtmlMeta.cs
- FloaterBaseParaClient.cs
- SplitterCancelEvent.cs
- HtmlUtf8RawTextWriter.cs
- Queue.cs
- WebRequestModuleElement.cs
- DataServiceRequestException.cs
- DataControlFieldHeaderCell.cs
- RSAOAEPKeyExchangeFormatter.cs
- BaseValidator.cs
- EntityClientCacheKey.cs
- ButtonField.cs
- InvokeWebService.cs
- XmlSchemaRedefine.cs
- WebPartTracker.cs
- CustomExpression.cs
- QueryAccessibilityHelpEvent.cs
- TransactionScope.cs
- TextRangeSerialization.cs
- CacheSection.cs
- LineGeometry.cs
- Psha1DerivedKeyGeneratorHelper.cs
- WebPartMinimizeVerb.cs
- parserscommon.cs
- XmlSchemaAttributeGroupRef.cs
- PlacementWorkspace.cs
- IPipelineRuntime.cs
- GetMemberBinder.cs
- TextFormatter.cs
- QueryLifecycle.cs
- HighlightVisual.cs
- TrackingDataItemValue.cs
- ProvideValueServiceProvider.cs
- WebException.cs
- FileDialogCustomPlace.cs
- URI.cs
- ItemsPanelTemplate.cs
- Control.cs
- PlainXmlDeserializer.cs
- XmlHierarchicalEnumerable.cs
- InputProcessorProfiles.cs
- SingleSelectRootGridEntry.cs
- Internal.cs
- OdbcEnvironment.cs
- ValidationErrorCollection.cs
- LocalClientSecuritySettings.cs
- COM2EnumConverter.cs
- XmlSerializerFactory.cs
- FormViewRow.cs
- LineMetrics.cs
- RenamedEventArgs.cs
- FontFamilyValueSerializer.cs
- FlowNode.cs
- NameValueFileSectionHandler.cs
- ServiceManager.cs
- _NetRes.cs
- TextFormatterContext.cs
- PassportAuthenticationEventArgs.cs
- Font.cs
- Mapping.cs
- SparseMemoryStream.cs
- WorkflowOperationErrorHandler.cs
- Group.cs
- DatagridviewDisplayedBandsData.cs
- DataQuery.cs
- XamlFxTrace.cs
- ObjectManager.cs
- Container.cs
- ButtonBase.cs