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
- PropertyRef.cs
- BaseCollection.cs
- ScalarConstant.cs
- FieldToken.cs
- BidPrivateBase.cs
- AssemblyCache.cs
- SqlDuplicator.cs
- Literal.cs
- TextTreeTextNode.cs
- HotSpotCollection.cs
- ParseNumbers.cs
- DependencyPropertyKey.cs
- BitmapSourceSafeMILHandle.cs
- EncryptedReference.cs
- UrlMappingsSection.cs
- DispatcherTimer.cs
- CatalogPartCollection.cs
- SByte.cs
- SqlCommand.cs
- ResourceAttributes.cs
- ButtonFieldBase.cs
- PagePropertiesChangingEventArgs.cs
- StateItem.cs
- IIS7WorkerRequest.cs
- RepeatBehavior.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- NameValuePermission.cs
- IApplicationTrustManager.cs
- FloatUtil.cs
- WebPartRestoreVerb.cs
- BlurEffect.cs
- ConfigXmlElement.cs
- DataGridViewCellFormattingEventArgs.cs
- ClientUrlResolverWrapper.cs
- PrintDocument.cs
- ColorTransform.cs
- LinqDataSourceDeleteEventArgs.cs
- SingleConverter.cs
- TableDetailsCollection.cs
- StreamGeometryContext.cs
- MetadataWorkspace.cs
- RightsManagementProvider.cs
- BridgeDataReader.cs
- SoapObjectInfo.cs
- DataGridColumnHeaderAutomationPeer.cs
- ToolStripItemCollection.cs
- WebPartMenuStyle.cs
- TextElementEnumerator.cs
- Focus.cs
- Attributes.cs
- MsmqIntegrationBindingCollectionElement.cs
- WebPartDescription.cs
- Activity.cs
- GlobalizationSection.cs
- VisualBrush.cs
- ViewStateModeByIdAttribute.cs
- ExpressionLexer.cs
- CheckBoxFlatAdapter.cs
- FlowDocumentPageViewerAutomationPeer.cs
- OptionalColumn.cs
- QuestionEventArgs.cs
- CodeAssignStatement.cs
- CombinedHttpChannel.cs
- RouteParametersHelper.cs
- HandleRef.cs
- FileDialogCustomPlacesCollection.cs
- FormCollection.cs
- SmiSettersStream.cs
- FixedPage.cs
- XmlSchemaException.cs
- Math.cs
- WorkflowMarkupElementEventArgs.cs
- AncillaryOps.cs
- FixedSOMSemanticBox.cs
- WindowsTooltip.cs
- RandomNumberGenerator.cs
- HttpConfigurationSystem.cs
- FollowerQueueCreator.cs
- Internal.cs
- PersonalizablePropertyEntry.cs
- EditorAttributeInfo.cs
- StaticContext.cs
- DynamicResourceExtensionConverter.cs
- GenericXmlSecurityToken.cs
- EmptyEnumerator.cs
- StreamSecurityUpgradeAcceptor.cs
- DoubleStorage.cs
- CopyAction.cs
- GridProviderWrapper.cs
- PipeStream.cs
- TextBoxBase.cs
- SettingsSection.cs
- SelectorAutomationPeer.cs
- xdrvalidator.cs
- KeySplineConverter.cs
- PersianCalendar.cs
- VScrollBar.cs
- SqlConnectionFactory.cs
- MaterialCollection.cs
- mactripleDES.cs