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
- TransactionScope.cs
- RowBinding.cs
- StatusInfoItem.cs
- StagingAreaInputItem.cs
- DefaultPropertyAttribute.cs
- FileDialog.cs
- httpapplicationstate.cs
- XsdBuilder.cs
- EdmError.cs
- WindowsAuthenticationEventArgs.cs
- AssemblyInfo.cs
- InputLanguageSource.cs
- PathFigureCollection.cs
- HotCommands.cs
- TypedReference.cs
- ResourceProviderFactory.cs
- NavigationPropertyEmitter.cs
- ResourcePermissionBaseEntry.cs
- OutputCacheSection.cs
- Validator.cs
- WebControlsSection.cs
- NetworkInterface.cs
- ProcessModelInfo.cs
- SynchronizationHandlesCodeDomSerializer.cs
- DisableDpiAwarenessAttribute.cs
- PassportAuthenticationModule.cs
- DataExpression.cs
- RelatedView.cs
- BindingSourceDesigner.cs
- Rect3D.cs
- ImageListImageEditor.cs
- _CommandStream.cs
- PerformanceCounterPermissionEntry.cs
- Certificate.cs
- XmlTextEncoder.cs
- RowUpdatingEventArgs.cs
- SubclassTypeValidator.cs
- TypeUsage.cs
- ColorConverter.cs
- OleDbCommand.cs
- RelatedPropertyManager.cs
- WsdlHelpGeneratorElement.cs
- RelatedView.cs
- TemplateKey.cs
- KeyConverter.cs
- RenderOptions.cs
- SiteMapPathDesigner.cs
- MultiTrigger.cs
- BufferedStream.cs
- HttpCapabilitiesBase.cs
- WindowsListViewGroup.cs
- FrameworkTemplate.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ConnectionPointGlyph.cs
- PropertyChangingEventArgs.cs
- ValuePattern.cs
- DetailsViewDeletedEventArgs.cs
- AdRotator.cs
- AssociationEndMember.cs
- PolicyException.cs
- HttpWebResponse.cs
- basecomparevalidator.cs
- WebRequestModuleElement.cs
- CollectionTypeElement.cs
- HostDesigntimeLicenseContext.cs
- LogEntryHeaderDeserializer.cs
- TrackingProfile.cs
- ParserHooks.cs
- PropVariant.cs
- SymbolType.cs
- ThemeConfigurationDialog.cs
- NativeMethods.cs
- RuntimeEnvironment.cs
- ReceiveActivityDesignerTheme.cs
- HttpModuleCollection.cs
- SatelliteContractVersionAttribute.cs
- DbSetClause.cs
- VariableAction.cs
- ComponentSerializationService.cs
- PointCollection.cs
- GridViewColumn.cs
- SocketAddress.cs
- ProviderSettingsCollection.cs
- TextBoxBase.cs
- TextTreeNode.cs
- StringHandle.cs
- util.cs
- CachedRequestParams.cs
- StringInfo.cs
- XmlSchemaRedefine.cs
- TypeListConverter.cs
- UpDownBase.cs
- ZipIOLocalFileHeader.cs
- WmlTextBoxAdapter.cs
- DSASignatureFormatter.cs
- XhtmlBasicValidationSummaryAdapter.cs
- odbcmetadatafactory.cs
- ApplicationHost.cs
- DBDataPermission.cs
- HttpApplication.cs