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
- TypeConverterHelper.cs
- Debug.cs
- FormsAuthenticationEventArgs.cs
- CapabilitiesSection.cs
- MetafileEditor.cs
- ProtocolInformationWriter.cs
- ReferentialConstraint.cs
- Comparer.cs
- PathFigure.cs
- BinaryObjectWriter.cs
- WindowHideOrCloseTracker.cs
- SafeFileMappingHandle.cs
- _TransmitFileOverlappedAsyncResult.cs
- ProfileSection.cs
- TextEditorContextMenu.cs
- BStrWrapper.cs
- HScrollBar.cs
- Vector3D.cs
- XmlSiteMapProvider.cs
- CodeSnippetExpression.cs
- AppendHelper.cs
- ManagedWndProcTracker.cs
- EntityDataSourceColumn.cs
- HttpRequestTraceRecord.cs
- KernelTypeValidation.cs
- MenuBindingsEditor.cs
- MailAddressCollection.cs
- XmlSchemaAttributeGroup.cs
- Transform3DGroup.cs
- RepeatBehavior.cs
- OrderByLifter.cs
- AutomationElementCollection.cs
- MulticastOption.cs
- XhtmlBasicPageAdapter.cs
- RegexStringValidator.cs
- pingexception.cs
- HostingPreferredMapPath.cs
- WebPartVerbsEventArgs.cs
- XmlIncludeAttribute.cs
- XmlEventCache.cs
- BitmapSizeOptions.cs
- MultipartContentParser.cs
- PeerEndPoint.cs
- QuaternionValueSerializer.cs
- TemplateParser.cs
- DependentList.cs
- ListViewInsertionMark.cs
- PropertyValueChangedEvent.cs
- InternalConfigEventArgs.cs
- CharacterHit.cs
- WebPartDisplayMode.cs
- BaseValidatorDesigner.cs
- InvariantComparer.cs
- ResourceAttributes.cs
- RegexCompiler.cs
- QilInvokeEarlyBound.cs
- SqlWebEventProvider.cs
- ApplicationDirectory.cs
- GridView.cs
- LoginUtil.cs
- HttpCookieCollection.cs
- TaskFileService.cs
- KeyValuePair.cs
- TypeUnloadedException.cs
- DataGridToolTip.cs
- WebCategoryAttribute.cs
- DataGridParentRows.cs
- RecordBuilder.cs
- NameTable.cs
- ImageListUtils.cs
- ToolStripPanelSelectionGlyph.cs
- PriorityQueue.cs
- UiaCoreApi.cs
- prefixendpointaddressmessagefiltertable.cs
- CharKeyFrameCollection.cs
- OdbcConnectionFactory.cs
- DocumentPageHost.cs
- ApplicationDirectoryMembershipCondition.cs
- WorkflowWebHostingModule.cs
- CommandEventArgs.cs
- DataGridRowHeaderAutomationPeer.cs
- XPathSelfQuery.cs
- documentation.cs
- DecoderBestFitFallback.cs
- AccessedThroughPropertyAttribute.cs
- CachingHintValidation.cs
- MemoryMappedFileSecurity.cs
- LexicalChunk.cs
- HtmlFormWrapper.cs
- GlyphElement.cs
- SynchronizedDispatch.cs
- MSAANativeProvider.cs
- MatcherBuilder.cs
- TemplateManager.cs
- TrustSection.cs
- BuildResultCache.cs
- LeaseManager.cs
- TreeIterators.cs
- RemoteArgument.cs
- Util.cs