Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / ValidatedControlConverter.cs / 1305376 / 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; ////// 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. //------------------------------------------------------------------------------ //Determines whether a given control should have its id added to the StandardValuesCollection. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.ComponentModel; using System.Globalization; using System.Reflection; ////// 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.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
- DataObjectAttribute.cs
- SafeProcessHandle.cs
- EnvelopeVersion.cs
- DockPanel.cs
- XmlSchemaSimpleContentExtension.cs
- KnownBoxes.cs
- MonthCalendar.cs
- CroppedBitmap.cs
- PersistenceException.cs
- DispatcherOperation.cs
- CornerRadius.cs
- HttpResponseHeader.cs
- VirtualizingStackPanel.cs
- ArraySegment.cs
- Pointer.cs
- FontSourceCollection.cs
- ObjectMaterializedEventArgs.cs
- SiteOfOriginContainer.cs
- Partitioner.cs
- SecurityContextSecurityTokenResolver.cs
- WindowsListViewScroll.cs
- BinaryNode.cs
- UnhandledExceptionEventArgs.cs
- ElementsClipboardData.cs
- JsonStringDataContract.cs
- SchemaLookupTable.cs
- AuthenticationModuleElement.cs
- ConsumerConnectionPointCollection.cs
- Events.cs
- TypedTableBase.cs
- CfgRule.cs
- AttachedPropertyMethodSelector.cs
- EnumBuilder.cs
- AssociationSetEnd.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- ArglessEventHandlerProxy.cs
- PersianCalendar.cs
- ListCollectionView.cs
- Configuration.cs
- DataGridCell.cs
- PasswordTextContainer.cs
- XmlCountingReader.cs
- SimpleHandlerBuildProvider.cs
- AddressAlreadyInUseException.cs
- ConnectionConsumerAttribute.cs
- FixedTextView.cs
- FontStretch.cs
- WebPart.cs
- ThreadPoolTaskScheduler.cs
- DashStyle.cs
- LogSwitch.cs
- Maps.cs
- PersonalizationDictionary.cs
- RijndaelManaged.cs
- ArraySortHelper.cs
- FixedBufferAttribute.cs
- AsyncOperationContext.cs
- DashStyle.cs
- ReferencedCollectionType.cs
- DataTableCollection.cs
- DBConnection.cs
- QueryResult.cs
- TextTreeUndo.cs
- XmlAnyElementAttributes.cs
- UidManager.cs
- X509SecurityTokenParameters.cs
- PrivilegeNotHeldException.cs
- TextTreeUndo.cs
- FullTextLine.cs
- ArrayListCollectionBase.cs
- GenericUriParser.cs
- BindingListCollectionView.cs
- CompositionTarget.cs
- ErrorHandler.cs
- CapacityStreamGeometryContext.cs
- XmlAttributeHolder.cs
- AsymmetricSignatureDeformatter.cs
- ConditionalAttribute.cs
- LoadedOrUnloadedOperation.cs
- BlockCollection.cs
- TextSelectionHighlightLayer.cs
- XmlPropertyBag.cs
- hresults.cs
- CriticalExceptions.cs
- Switch.cs
- NavigationEventArgs.cs
- UnrecognizedPolicyAssertionElement.cs
- ProfileParameter.cs
- ScriptReferenceEventArgs.cs
- ZipIOFileItemStream.cs
- HashMembershipCondition.cs
- Config.cs
- ClusterRegistryConfigurationProvider.cs
- ValidationSummaryDesigner.cs
- ImageConverter.cs
- xmlsaver.cs
- EntryPointNotFoundException.cs
- PropertyStore.cs
- RegexWriter.cs
- XPathItem.cs