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
- ContextQuery.cs
- RedirectionProxy.cs
- EditingCoordinator.cs
- HoistedLocals.cs
- EventTrigger.cs
- BindingUtils.cs
- Point3DCollection.cs
- CollectionViewSource.cs
- MulticastIPAddressInformationCollection.cs
- QueryContinueDragEvent.cs
- SqlClientFactory.cs
- DeclaredTypeValidator.cs
- MonitorWrapper.cs
- RegistrationServices.cs
- Empty.cs
- PowerModeChangedEventArgs.cs
- Internal.cs
- ZipIOModeEnforcingStream.cs
- SimpleMailWebEventProvider.cs
- ConfigUtil.cs
- TranslateTransform3D.cs
- FigureHelper.cs
- TextAction.cs
- SecurityException.cs
- URLString.cs
- ResXResourceSet.cs
- X509SubjectKeyIdentifierClause.cs
- ManualResetEventSlim.cs
- DrawListViewColumnHeaderEventArgs.cs
- ChangeBlockUndoRecord.cs
- EditorPartChrome.cs
- HttpGetProtocolImporter.cs
- StackBuilderSink.cs
- WriteTimeStream.cs
- StrongNameUtility.cs
- TimerElapsedEvenArgs.cs
- SpecularMaterial.cs
- PerfService.cs
- FrugalMap.cs
- Attributes.cs
- DeviceContext.cs
- ViewBox.cs
- CodeExpressionStatement.cs
- Conditional.cs
- GridItemPattern.cs
- TypeDescriptionProvider.cs
- DecimalAnimation.cs
- COAUTHINFO.cs
- FileDetails.cs
- QueryOperator.cs
- MiniModule.cs
- TextHintingModeValidation.cs
- HwndTarget.cs
- OdbcConnectionPoolProviderInfo.cs
- PriorityChain.cs
- AttributeCollection.cs
- DPAPIProtectedConfigurationProvider.cs
- SoundPlayerAction.cs
- QilParameter.cs
- AlgoModule.cs
- ExternalException.cs
- ComboBoxDesigner.cs
- XmlFormatExtensionAttribute.cs
- DataGridViewDesigner.cs
- InvariantComparer.cs
- AlphaSortedEnumConverter.cs
- TextTreeInsertElementUndoUnit.cs
- TerminatingOperationBehavior.cs
- PartDesigner.cs
- ValueChangedEventManager.cs
- ModelToObjectValueConverter.cs
- ListViewDeleteEventArgs.cs
- QueryExecutionOption.cs
- MultiBindingExpression.cs
- SecurityRuntime.cs
- ProjectedSlot.cs
- EditingContext.cs
- ChineseLunisolarCalendar.cs
- DecoderReplacementFallback.cs
- RawStylusSystemGestureInputReport.cs
- MLangCodePageEncoding.cs
- _CacheStreams.cs
- AxWrapperGen.cs
- InputMethod.cs
- DataGridViewLinkColumn.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- Decoder.cs
- DataObjectFieldAttribute.cs
- DbParameterCollectionHelper.cs
- PipelineModuleStepContainer.cs
- Group.cs
- EndPoint.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- XmlSchemaCollection.cs
- TextBoxLine.cs
- DocumentsTrace.cs
- DataGridViewTopLeftHeaderCell.cs
- DataServiceQueryProvider.cs
- RtfFormatStack.cs
- DropDownList.cs