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
- Transform3D.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ChainOfResponsibility.cs
- ComboBox.cs
- OracleDataAdapter.cs
- WebServiceMethodData.cs
- SignatureResourcePool.cs
- HashUtility.cs
- CommandEventArgs.cs
- SplayTreeNode.cs
- StringFreezingAttribute.cs
- WebCategoryAttribute.cs
- ApplicationId.cs
- VisualStyleInformation.cs
- NameGenerator.cs
- DataGridViewRowCancelEventArgs.cs
- QuerySafeNavigator.cs
- WebPartEventArgs.cs
- TextTabProperties.cs
- UpDownEvent.cs
- PartBasedPackageProperties.cs
- SiteIdentityPermission.cs
- IDQuery.cs
- CroppedBitmap.cs
- CodeIterationStatement.cs
- ParameterToken.cs
- OuterGlowBitmapEffect.cs
- HttpApplication.cs
- SafeSecurityHandles.cs
- DependentList.cs
- TextDecorationUnitValidation.cs
- IndicFontClient.cs
- Panel.cs
- NativeMethods.cs
- WeakRefEnumerator.cs
- WindowsScrollBar.cs
- BroadcastEventHelper.cs
- SamlAuthenticationStatement.cs
- ClientTargetSection.cs
- RenamedEventArgs.cs
- RepeaterItemCollection.cs
- EmptyElement.cs
- XmlSchemaSet.cs
- RegexWorker.cs
- ConfigurationElementProperty.cs
- FormViewPageEventArgs.cs
- UnmanagedMemoryStream.cs
- PathFigure.cs
- QuaternionKeyFrameCollection.cs
- HwndHost.cs
- DiscoveryOperationContextExtension.cs
- PropertyGridCommands.cs
- DataControlLinkButton.cs
- DiscreteKeyFrames.cs
- ByteFacetDescriptionElement.cs
- StylusButton.cs
- Timeline.cs
- LocalFileSettingsProvider.cs
- ControlDesigner.cs
- MessageFilterTable.cs
- TreeViewImageGenerator.cs
- JpegBitmapEncoder.cs
- DataListCommandEventArgs.cs
- TableLayoutPanelCellPosition.cs
- Visitor.cs
- ItemsControlAutomationPeer.cs
- ListBindableAttribute.cs
- DataControlField.cs
- WeakReference.cs
- RuntimeHelpers.cs
- VectorAnimationBase.cs
- PrintPreviewControl.cs
- PresentationSource.cs
- DataGrid.cs
- XmlArrayItemAttribute.cs
- DiscreteKeyFrames.cs
- WebPartEditorOkVerb.cs
- TreeNodeEventArgs.cs
- ProcessHostFactoryHelper.cs
- CodeDomConfigurationHandler.cs
- CreateRefExpr.cs
- MappingMetadataHelper.cs
- StateManager.cs
- AnyReturnReader.cs
- TableLayoutRowStyleCollection.cs
- Track.cs
- ZoneIdentityPermission.cs
- CultureMapper.cs
- SequentialWorkflowHeaderFooter.cs
- DelegateSerializationHolder.cs
- WeakHashtable.cs
- DataTableNewRowEvent.cs
- SafeNativeMethods.cs
- ScrollableControlDesigner.cs
- PrimitiveDataContract.cs
- HideDisabledControlAdapter.cs
- ReadOnlyAttribute.cs
- ListBindingHelper.cs
- BrowserTree.cs
- HitTestParameters.cs