Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }/// 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
- Polygon.cs
- DataQuery.cs
- MultiBindingExpression.cs
- GeneralTransform3D.cs
- StructuredCompositeActivityDesigner.cs
- Matrix.cs
- HandlerBase.cs
- ThreadExceptionDialog.cs
- IntMinMaxAggregationOperator.cs
- keycontainerpermission.cs
- WmlImageAdapter.cs
- KeyValueConfigurationElement.cs
- FaultCode.cs
- DelegateCompletionCallbackWrapper.cs
- GZipDecoder.cs
- HostingPreferredMapPath.cs
- codemethodreferenceexpression.cs
- StylusEventArgs.cs
- DashStyles.cs
- ToolStripGripRenderEventArgs.cs
- CaseInsensitiveComparer.cs
- TypeKeyValue.cs
- Journal.cs
- FileStream.cs
- DataRelationPropertyDescriptor.cs
- SqlDataSource.cs
- Token.cs
- BoundColumn.cs
- AlignmentXValidation.cs
- MonthCalendar.cs
- XmlSchemaSimpleContent.cs
- SystemWebCachingSectionGroup.cs
- PatternMatcher.cs
- ConsoleTraceListener.cs
- ArrayWithOffset.cs
- ToolStripOverflowButton.cs
- WindowVisualStateTracker.cs
- Version.cs
- CompensationDesigner.cs
- ConfigsHelper.cs
- ReachNamespaceInfo.cs
- GridViewUpdateEventArgs.cs
- XNameConverter.cs
- DataGridViewHeaderCell.cs
- FatalException.cs
- InputLanguageManager.cs
- DragStartedEventArgs.cs
- PopupEventArgs.cs
- PatternMatcher.cs
- SerializationInfoEnumerator.cs
- Single.cs
- PermissionSet.cs
- WebContext.cs
- BitConverter.cs
- XmlException.cs
- DependencyObjectProvider.cs
- HtmlTableRowCollection.cs
- DescendantBaseQuery.cs
- Wildcard.cs
- Errors.cs
- HwndSourceParameters.cs
- TreeWalker.cs
- BindingList.cs
- SelectionListComponentEditor.cs
- EntityDataSourceMemberPath.cs
- StickyNote.cs
- RelationshipDetailsCollection.cs
- GuidConverter.cs
- AlphaSortedEnumConverter.cs
- ResXBuildProvider.cs
- XomlCompilerParameters.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- BinHexEncoder.cs
- xmlfixedPageInfo.cs
- FileDialogCustomPlacesCollection.cs
- FormatException.cs
- InternalControlCollection.cs
- ReadOnlyDictionary.cs
- FormView.cs
- BindStream.cs
- GZipDecoder.cs
- XmlSchemaException.cs
- StylusOverProperty.cs
- BoolExpression.cs
- DelegateCompletionCallbackWrapper.cs
- OleDbConnection.cs
- PropagatorResult.cs
- SourceChangedEventArgs.cs
- LocalBuilder.cs
- GlyphShapingProperties.cs
- SqlSupersetValidator.cs
- TypedReference.cs
- AssemblyAttributesGoHere.cs
- FormViewModeEventArgs.cs
- Util.cs
- HMACSHA256.cs
- DependencyStoreSurrogate.cs
- unsafenativemethodstextservices.cs
- BindingNavigatorDesigner.cs
- DocumentViewer.cs