Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TableFieldsEditor.cs
- SelectQueryOperator.cs
- ArrayExtension.cs
- InternalConfigSettingsFactory.cs
- MobileFormsAuthentication.cs
- PromptBuilder.cs
- Debug.cs
- ConfigurationManagerInternalFactory.cs
- ParserContext.cs
- ContainerFilterService.cs
- PointIndependentAnimationStorage.cs
- RotateTransform3D.cs
- XmlSerializationReader.cs
- _NestedMultipleAsyncResult.cs
- PriorityBinding.cs
- PreloadedPackages.cs
- CompressStream.cs
- ParameterReplacerVisitor.cs
- HttpAsyncResult.cs
- TrackBarRenderer.cs
- TextRange.cs
- RegionIterator.cs
- TryCatch.cs
- CodePageEncoding.cs
- querybuilder.cs
- PrintPreviewGraphics.cs
- BackStopAuthenticationModule.cs
- ExtenderProvidedPropertyAttribute.cs
- EventProxy.cs
- RtfToken.cs
- CustomBindingCollectionElement.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ChameleonKey.cs
- TransactionsSectionGroup.cs
- ClassValidator.cs
- Process.cs
- HtmlLiteralTextAdapter.cs
- CollectionEditVerbManager.cs
- MatrixAnimationUsingPath.cs
- DataException.cs
- ListBindableAttribute.cs
- CacheEntry.cs
- SortQueryOperator.cs
- TextTreeText.cs
- TypeDescriptor.cs
- control.ime.cs
- SafeFileMappingHandle.cs
- XsltException.cs
- Span.cs
- WCFBuildProvider.cs
- Rfc2898DeriveBytes.cs
- Aggregates.cs
- tooltip.cs
- TextDocumentView.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TextRange.cs
- UnauthorizedWebPart.cs
- ActivitiesCollection.cs
- keycontainerpermission.cs
- ContainsRowNumberChecker.cs
- MimeTypePropertyAttribute.cs
- UriTemplateDispatchFormatter.cs
- log.cs
- EntitySqlQueryCacheKey.cs
- TextPatternIdentifiers.cs
- ConversionContext.cs
- OrderedDictionaryStateHelper.cs
- ContextMenu.cs
- SuppressMessageAttribute.cs
- PolicyException.cs
- CodeDirectoryCompiler.cs
- CodeExpressionRuleDeclaration.cs
- LayoutEditorPart.cs
- SecurityTokenProvider.cs
- DataTableClearEvent.cs
- ArrayTypeMismatchException.cs
- SecUtil.cs
- EntityDataSourceDataSelection.cs
- DiscoveryReferences.cs
- ProfileModule.cs
- DataPagerCommandEventArgs.cs
- ListenerElementsCollection.cs
- AnchoredBlock.cs
- storagemappingitemcollection.viewdictionary.cs
- MembershipSection.cs
- messageonlyhwndwrapper.cs
- DelegatedStream.cs
- HttpPostedFile.cs
- NumberFunctions.cs
- FormViewDeletedEventArgs.cs
- RtfControlWordInfo.cs
- ModuleBuilderData.cs
- RequestCachePolicyConverter.cs
- M3DUtil.cs
- CodeAttributeArgumentCollection.cs
- ActiveDocumentEvent.cs
- ScrollableControl.cs
- StorageTypeMapping.cs
- PtsHelper.cs
- FlowDocumentReader.cs