Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / ValidatedControlConverter.cs / 1 / ValidatedControlConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.ComponentModel; using System.Globalization; using System.Reflection; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ValidatedControlConverter: ControlIDConverter { ///Filters and retrieves several types of values from validated controls. ////// protected override bool FilterControl(Control control) { ValidationPropertyAttribute valProp = (ValidationPropertyAttribute)TypeDescriptor.GetAttributes(control)[typeof(ValidationPropertyAttribute)]; return valProp != null && valProp.Name != null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Determines whether a given control should have its id added to the StandardValuesCollection. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DateTimeFormat.cs
- peersecuritysettings.cs
- OleDbConnectionFactory.cs
- oledbmetadatacolumnnames.cs
- StringFreezingAttribute.cs
- AxHost.cs
- LateBoundChannelParameterCollection.cs
- XmlWriterSettings.cs
- WorkflowMarkupSerializationManager.cs
- WebScriptServiceHostFactory.cs
- RoutedEvent.cs
- DefaultValueTypeConverter.cs
- TreeNode.cs
- DeferrableContent.cs
- LogSwitch.cs
- XmlUtil.cs
- TargetInvocationException.cs
- FixedSOMElement.cs
- Encoder.cs
- TableRowGroup.cs
- BindValidationContext.cs
- IgnoreSectionHandler.cs
- SendSecurityHeaderElement.cs
- FixedElement.cs
- ExecutionEngineException.cs
- Activator.cs
- AliasExpr.cs
- EntityAdapter.cs
- HeaderPanel.cs
- WindowsScroll.cs
- ObjectManager.cs
- ByteStream.cs
- ContextMarshalException.cs
- TextBoxAutomationPeer.cs
- TextDocumentView.cs
- ExpressionDumper.cs
- ValidationResult.cs
- PropertyEmitter.cs
- SinglePhaseEnlistment.cs
- ArraySortHelper.cs
- HebrewCalendar.cs
- MemoryResponseElement.cs
- StateBag.cs
- FileDialogCustomPlace.cs
- XmlBinaryReaderSession.cs
- Int16.cs
- ControlPropertyNameConverter.cs
- FormatConvertedBitmap.cs
- _IPv4Address.cs
- InputLanguage.cs
- tooltip.cs
- StyleCollection.cs
- BmpBitmapEncoder.cs
- WeakReferenceList.cs
- AppDomainProtocolHandler.cs
- FigureParaClient.cs
- WebBrowsableAttribute.cs
- PropertyFilterAttribute.cs
- CacheRequest.cs
- TextTreeTextElementNode.cs
- UIElement.cs
- WindowsHyperlink.cs
- ConcurrencyBehavior.cs
- LocalizationComments.cs
- OracleException.cs
- TreeNodeStyleCollection.cs
- TargetParameterCountException.cs
- ReversePositionQuery.cs
- panel.cs
- __Filters.cs
- RegexFCD.cs
- DesignerDeviceConfig.cs
- AlphaSortedEnumConverter.cs
- AssociationEndMember.cs
- ClientScriptManager.cs
- Crc32Helper.cs
- Invariant.cs
- DataGridRelationshipRow.cs
- ActiveXContainer.cs
- listitem.cs
- GenericIdentity.cs
- PageAdapter.cs
- WebControlAdapter.cs
- LifetimeServices.cs
- AsyncResult.cs
- DataSourceListEditor.cs
- DbProviderFactoriesConfigurationHandler.cs
- WithStatement.cs
- Model3DGroup.cs
- EntityDataSourceColumn.cs
- EntityContainer.cs
- MessagePartSpecification.cs
- InputBinding.cs
- CacheSection.cs
- EventProviderWriter.cs
- CompressStream.cs
- VolatileEnlistmentState.cs
- ProtectedProviderSettings.cs
- IncrementalCompileAnalyzer.cs
- LayeredChannelFactory.cs