Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / ValidatedControlConverter.cs / 1 / 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; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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; } } }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
- HttpHostedTransportConfiguration.cs
- ManipulationLogic.cs
- QueuePropertyVariants.cs
- UshortList2.cs
- DisposableCollectionWrapper.cs
- SqlDataSourceSelectingEventArgs.cs
- CfgRule.cs
- EntityContainer.cs
- ObjectCloneHelper.cs
- Rfc2898DeriveBytes.cs
- RelatedImageListAttribute.cs
- SystemIcons.cs
- ParallelEnumerableWrapper.cs
- DependencyPropertyKey.cs
- PersianCalendar.cs
- DataServices.cs
- CDSCollectionETWBCLProvider.cs
- TextTrailingCharacterEllipsis.cs
- NamedPipeHostedTransportConfiguration.cs
- Util.cs
- RoutedEventConverter.cs
- StringInfo.cs
- TrustManager.cs
- Point3D.cs
- ToolStripRenderEventArgs.cs
- FilteredAttributeCollection.cs
- ContextMenu.cs
- DiagnosticsConfigurationHandler.cs
- CommandHelpers.cs
- Currency.cs
- DbInsertCommandTree.cs
- CellTreeNodeVisitors.cs
- StreamingContext.cs
- AsymmetricKeyExchangeDeformatter.cs
- TableAutomationPeer.cs
- Types.cs
- TableLayoutColumnStyleCollection.cs
- DesignerAdapterUtil.cs
- GlobalAllocSafeHandle.cs
- ClientTargetCollection.cs
- Expression.cs
- MatrixKeyFrameCollection.cs
- ReflectionTypeLoadException.cs
- ProxyHwnd.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ResumeStoryboard.cs
- CurrentChangingEventArgs.cs
- UnicastIPAddressInformationCollection.cs
- PassportAuthentication.cs
- PrintDialogException.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- OleDbParameter.cs
- TimeStampChecker.cs
- PopupEventArgs.cs
- EDesignUtil.cs
- AnimationClock.cs
- TreeNodeBindingCollection.cs
- ChangePassword.cs
- FontUnit.cs
- DynamicPropertyHolder.cs
- TextOptionsInternal.cs
- JoinElimination.cs
- PageBuildProvider.cs
- Utils.cs
- DataGridViewRowsRemovedEventArgs.cs
- OutputCacheProviderCollection.cs
- WindowsListViewSubItem.cs
- unsafenativemethodsother.cs
- RegexMatch.cs
- DecimalKeyFrameCollection.cs
- NameValuePermission.cs
- SessionSwitchEventArgs.cs
- PropertyDescriptorCollection.cs
- ControlValuePropertyAttribute.cs
- Point.cs
- SharedRuntimeState.cs
- WebPartEditVerb.cs
- JsonFormatWriterGenerator.cs
- SHA1Cng.cs
- ConditionChanges.cs
- AtomEntry.cs
- DataRowCollection.cs
- ViewSimplifier.cs
- HashRepartitionStream.cs
- GenericWebPart.cs
- XmlWhitespace.cs
- TextRunCache.cs
- XmlSchemaFacet.cs
- ChangeNode.cs
- NullableLongMinMaxAggregationOperator.cs
- BufferedGraphicsContext.cs
- HwndAppCommandInputProvider.cs
- Matrix3DValueSerializer.cs
- Errors.cs
- SoapElementAttribute.cs
- ChannelPoolSettings.cs
- ModuleBuilderData.cs
- ServicesExceptionNotHandledEventArgs.cs
- PropertyManager.cs
- AspNetHostingPermission.cs