Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlInputPassword.cs / 1305376 / 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, ] 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, ] 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
- SmiEventSink_DeferedProcessing.cs
- StylusPointProperties.cs
- StatusBarDrawItemEvent.cs
- SoapFormatter.cs
- PowerModeChangedEventArgs.cs
- DesignerSelectionListAdapter.cs
- TitleStyle.cs
- CodeSnippetExpression.cs
- CqlBlock.cs
- CodeAttributeArgument.cs
- RequestCacheValidator.cs
- XmlSerializerSection.cs
- DecimalStorage.cs
- XmlEntity.cs
- ErrorRuntimeConfig.cs
- TypeReference.cs
- DataBinder.cs
- XmlHierarchicalEnumerable.cs
- EntityDataSourceConfigureObjectContext.cs
- PrimitiveXmlSerializers.cs
- AuthenticationConfig.cs
- InvalidOleVariantTypeException.cs
- DataSourceDescriptorCollection.cs
- WebServiceMethodData.cs
- TextSelectionHelper.cs
- ClientUtils.cs
- ImageMapEventArgs.cs
- DataKey.cs
- ComplexTypeEmitter.cs
- DependencySource.cs
- SHA1.cs
- PointCollection.cs
- VariableExpressionConverter.cs
- RectangleGeometry.cs
- BrowserDefinition.cs
- EventRouteFactory.cs
- DiscoveryDocumentSerializer.cs
- TextEditorContextMenu.cs
- ToolboxDataAttribute.cs
- LabelLiteral.cs
- ListView.cs
- Profiler.cs
- DrawingAttributeSerializer.cs
- WorkflowMessageEventHandler.cs
- HuffCodec.cs
- DispatcherOperation.cs
- CompiledQueryCacheKey.cs
- ConfigurationPropertyAttribute.cs
- ColumnReorderedEventArgs.cs
- NavigationService.cs
- SqlErrorCollection.cs
- HttpServerChannel.cs
- ProfileSection.cs
- IntegrationExceptionEventArgs.cs
- DataGridViewRowCollection.cs
- SqlDataSourceConfigureFilterForm.cs
- Pair.cs
- FileDialog.cs
- DataGridPagingPage.cs
- _Semaphore.cs
- FileLoadException.cs
- DebuggerAttributes.cs
- NativeMethods.cs
- ActivityExecutorOperation.cs
- TogglePatternIdentifiers.cs
- NodeLabelEditEvent.cs
- NetCodeGroup.cs
- XmlQuerySequence.cs
- WebPageTraceListener.cs
- InvokePattern.cs
- SQLString.cs
- AddInProcess.cs
- FormatVersion.cs
- SQLCharsStorage.cs
- Range.cs
- DatePickerAutomationPeer.cs
- Rule.cs
- TextContainer.cs
- MdImport.cs
- CollectionBuilder.cs
- HtmlTextArea.cs
- UriExt.cs
- HttpContext.cs
- JoinTreeNode.cs
- ReflectionPermission.cs
- InstalledVoice.cs
- DataGridTemplateColumn.cs
- DynamicRendererThreadManager.cs
- StylusPlugin.cs
- ByteStack.cs
- ResponseStream.cs
- ListViewUpdateEventArgs.cs
- EntityTemplateUserControl.cs
- LoginView.cs
- AuthenticationService.cs
- HyperLinkStyle.cs
- precedingsibling.cs
- SoapExtensionReflector.cs
- AnnotationHelper.cs
- ToolboxControl.cs