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
- PointCollection.cs
- CallbackValidatorAttribute.cs
- CatalogZone.cs
- SchemaName.cs
- TemplateContent.cs
- InternalConfigConfigurationFactory.cs
- TraceSection.cs
- MexBindingElement.cs
- Error.cs
- PartialCachingControl.cs
- SmiEventSink_Default.cs
- PrintController.cs
- URI.cs
- RowToParametersTransformer.cs
- GroupBoxAutomationPeer.cs
- BatchWriter.cs
- _Win32.cs
- SyndicationItem.cs
- TaiwanCalendar.cs
- Configuration.cs
- XamlFxTrace.cs
- StretchValidation.cs
- UnknownBitmapEncoder.cs
- WebPartMovingEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- Menu.cs
- followingsibling.cs
- BitmapMetadataEnumerator.cs
- SqlDataRecord.cs
- BackgroundFormatInfo.cs
- DataGridViewCellFormattingEventArgs.cs
- RequiredAttributeAttribute.cs
- ProxyFragment.cs
- DebugViewWriter.cs
- Accessors.cs
- TemplateControlBuildProvider.cs
- QuaternionAnimationUsingKeyFrames.cs
- DesignerActionVerbList.cs
- ImageSourceValueSerializer.cs
- PropertyValueUIItem.cs
- InternalCache.cs
- PropertyPushdownHelper.cs
- FileRecordSequenceCompletedAsyncResult.cs
- NumberSubstitution.cs
- UnsafeNativeMethods.cs
- FlowDocumentScrollViewer.cs
- ClientUtils.cs
- XpsImage.cs
- SortedList.cs
- AccessedThroughPropertyAttribute.cs
- CodeDelegateCreateExpression.cs
- brushes.cs
- FileBasedResourceGroveler.cs
- StringValueConverter.cs
- DeriveBytes.cs
- xsdvalidator.cs
- SerializationSectionGroup.cs
- TextRenderingModeValidation.cs
- ToolStripSplitButton.cs
- DataColumn.cs
- RawUIStateInputReport.cs
- ListControlBuilder.cs
- SpeechRecognizer.cs
- PageContentAsyncResult.cs
- DbCommandTree.cs
- Wrapper.cs
- ActivityStateQuery.cs
- WriteFileContext.cs
- QueryStatement.cs
- ExpandSegmentCollection.cs
- SecurityUtils.cs
- QueryOptionExpression.cs
- Validator.cs
- HierarchicalDataTemplate.cs
- DataGridRowClipboardEventArgs.cs
- RegistrySecurity.cs
- EntityDataSourceViewSchema.cs
- Module.cs
- EventWaitHandleSecurity.cs
- StorageMappingItemCollection.cs
- CaseInsensitiveComparer.cs
- _SingleItemRequestCache.cs
- _ProxyRegBlob.cs
- DeploymentSection.cs
- StylusOverProperty.cs
- DataGridItemAutomationPeer.cs
- ErrorLog.cs
- XmlDocumentType.cs
- ChannelCredentials.cs
- PngBitmapDecoder.cs
- CodeMemberField.cs
- QueryAccessibilityHelpEvent.cs
- ElementNotEnabledException.cs
- SrgsRuleRef.cs
- PreviewKeyDownEventArgs.cs
- BindingObserver.cs
- GorillaCodec.cs
- ColumnPropertiesGroup.cs
- ActivityExecutor.cs
- WindowsFont.cs