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
- latinshape.cs
- WmpBitmapDecoder.cs
- DbProviderServices.cs
- GridView.cs
- Behavior.cs
- DataGridViewCellParsingEventArgs.cs
- MetadataStore.cs
- _KerberosClient.cs
- PageWrapper.cs
- ProgressBar.cs
- _HeaderInfo.cs
- Range.cs
- SecurityException.cs
- Token.cs
- IgnoreDeviceFilterElementCollection.cs
- SystemTcpStatistics.cs
- WebBrowserNavigatingEventHandler.cs
- CommonGetThemePartSize.cs
- StateMachineDesignerPaint.cs
- XslTransform.cs
- Events.cs
- ErrorProvider.cs
- MsmqAppDomainProtocolHandler.cs
- StsCommunicationException.cs
- WorkflowServiceHost.cs
- ModuleElement.cs
- TextEditorSpelling.cs
- FormatConvertedBitmap.cs
- DataGridTableCollection.cs
- RelationshipConverter.cs
- HTMLTextWriter.cs
- ProxyAttribute.cs
- ControlBindingsCollection.cs
- RemoteWebConfigurationHost.cs
- AddInEnvironment.cs
- AnimatedTypeHelpers.cs
- SecUtil.cs
- HtmlInputText.cs
- RadioButtonStandardAdapter.cs
- NeutralResourcesLanguageAttribute.cs
- ScrollBarRenderer.cs
- SettingsAttributes.cs
- ServiceOperation.cs
- GlobalizationAssembly.cs
- ServiceDesigner.xaml.cs
- HostExecutionContextManager.cs
- XmlArrayItemAttributes.cs
- XmlQueryOutput.cs
- TextModifierScope.cs
- LocalizableResourceBuilder.cs
- ItemChangedEventArgs.cs
- MdiWindowListItemConverter.cs
- UrlMapping.cs
- XPathArrayIterator.cs
- DataServices.cs
- PeerCollaboration.cs
- InternalPermissions.cs
- Walker.cs
- HostVisual.cs
- ConsoleTraceListener.cs
- Repeater.cs
- RegexWorker.cs
- PrivilegeNotHeldException.cs
- Dictionary.cs
- JulianCalendar.cs
- HttpRequestCacheValidator.cs
- StylusButtonEventArgs.cs
- _ConnectOverlappedAsyncResult.cs
- StyleModeStack.cs
- HScrollBar.cs
- NetworkStream.cs
- Point4DConverter.cs
- mediaeventshelper.cs
- GradientStop.cs
- TokenFactoryFactory.cs
- Clause.cs
- ColumnTypeConverter.cs
- DoubleAnimationBase.cs
- HashCodeCombiner.cs
- HttpDebugHandler.cs
- Margins.cs
- Stream.cs
- WebPartConnectionsCancelVerb.cs
- CaseInsensitiveHashCodeProvider.cs
- SqlClientPermission.cs
- PartManifestEntry.cs
- CancellationTokenSource.cs
- RealizationDrawingContextWalker.cs
- NumericUpDown.cs
- TypeInitializationException.cs
- QuaternionRotation3D.cs
- CollectionChangeEventArgs.cs
- TypeGeneratedEventArgs.cs
- BasicKeyConstraint.cs
- PermissionRequestEvidence.cs
- HttpHandlerAction.cs
- parserscommon.cs
- updateconfighost.cs
- WebSysDefaultValueAttribute.cs
- _ShellExpression.cs