Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }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
- StylusPoint.cs
- SqlDataSourceEnumerator.cs
- NativeCppClassAttribute.cs
- MetadataItemEmitter.cs
- ProfileGroupSettings.cs
- TextureBrush.cs
- ObjectConverter.cs
- ContactManager.cs
- ListMarkerLine.cs
- CryptoConfig.cs
- DateTimeParse.cs
- CodeTypeParameterCollection.cs
- MimePart.cs
- EdgeModeValidation.cs
- RayHitTestParameters.cs
- StateRuntime.cs
- SoapObjectWriter.cs
- ExpressionHelper.cs
- AuthenticatedStream.cs
- TextContainerChangedEventArgs.cs
- UnionQueryOperator.cs
- WebControlAdapter.cs
- HtmlControl.cs
- TdsParserSafeHandles.cs
- ExpressionTable.cs
- CharEnumerator.cs
- SQLByte.cs
- MultiDataTrigger.cs
- DynamicExpression.cs
- ReflectPropertyDescriptor.cs
- FixedSOMLineCollection.cs
- TraceProvider.cs
- XmlSerializerNamespaces.cs
- ContentPathSegment.cs
- NullableLongSumAggregationOperator.cs
- StringValueSerializer.cs
- _NestedMultipleAsyncResult.cs
- AggregateNode.cs
- MultiPageTextView.cs
- DragEvent.cs
- UnionCodeGroup.cs
- SamlAuthorityBinding.cs
- ReadOnlyTernaryTree.cs
- ElementMarkupObject.cs
- Effect.cs
- QEncodedStream.cs
- BidirectionalDictionary.cs
- CustomAttributeFormatException.cs
- SkipStoryboardToFill.cs
- SelectionHighlightInfo.cs
- DeflateStream.cs
- ServiceThrottlingElement.cs
- FactoryMaker.cs
- TypeConverter.cs
- EntityContainerAssociationSetEnd.cs
- XmlNamespaceManager.cs
- TabRenderer.cs
- XmlTextReaderImplHelpers.cs
- SortQuery.cs
- NavigationProgressEventArgs.cs
- RoutedEventArgs.cs
- PrivilegeNotHeldException.cs
- UnsafeNativeMethods.cs
- SchemaElementLookUpTable.cs
- InvalidCastException.cs
- PresentationSource.cs
- ItemType.cs
- XmlSerializerSection.cs
- StatusBarPanelClickEvent.cs
- MetadataElement.cs
- ValidatingPropertiesEventArgs.cs
- DispatcherTimer.cs
- Encoding.cs
- Stack.cs
- QilNode.cs
- StringUtil.cs
- MonikerSyntaxException.cs
- PropertyEmitter.cs
- StickyNoteContentControl.cs
- EditBehavior.cs
- SessionPageStatePersister.cs
- BrowserCapabilitiesCodeGenerator.cs
- ByteArrayHelperWithString.cs
- RunWorkerCompletedEventArgs.cs
- IsolationInterop.cs
- TextServicesContext.cs
- MessageContractMemberAttribute.cs
- CompModSwitches.cs
- ResourceSet.cs
- PathFigureCollection.cs
- ToReply.cs
- CommonObjectSecurity.cs
- ValidationError.cs
- AstNode.cs
- BamlTreeUpdater.cs
- Activator.cs
- AuthenticationModuleElementCollection.cs
- BuildProviderUtils.cs
- StylusPlugInCollection.cs
- ChangePassword.cs