Code:
/ FX-1434 / FX-1434 / 1.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
- RegexWorker.cs
- TraceListener.cs
- KeyedCollection.cs
- EventBookmark.cs
- SQLDateTimeStorage.cs
- CaseStatement.cs
- TextReader.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ListDictionaryInternal.cs
- SQLMoneyStorage.cs
- MouseDevice.cs
- QilGeneratorEnv.cs
- MethodCallConverter.cs
- PrintDialog.cs
- GroupItemAutomationPeer.cs
- CategoryAttribute.cs
- ProcessInfo.cs
- SimpleBitVector32.cs
- Mappings.cs
- COM2PropertyBuilderUITypeEditor.cs
- SecureStringHasher.cs
- DocumentXPathNavigator.cs
- SqlUserDefinedAggregateAttribute.cs
- mediaeventshelper.cs
- ActivityStatusChangeEventArgs.cs
- FixedSOMGroup.cs
- JapaneseCalendar.cs
- StylusSystemGestureEventArgs.cs
- PropertyCondition.cs
- XhtmlTextWriter.cs
- EventHandlerList.cs
- StopRoutingHandler.cs
- NonParentingControl.cs
- columnmapkeybuilder.cs
- Zone.cs
- CompilerResults.cs
- ListViewContainer.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- LocatorBase.cs
- TextWriterEngine.cs
- BridgeDataReader.cs
- IndicShape.cs
- RadioButtonAutomationPeer.cs
- WebCategoryAttribute.cs
- XmlSchemaException.cs
- DateTime.cs
- DuplicateWaitObjectException.cs
- CompileLiteralTextParser.cs
- InvalidPrinterException.cs
- WebPartTransformerCollection.cs
- EventSetterHandlerConverter.cs
- SmtpCommands.cs
- ContextMenuStrip.cs
- BinaryMessageEncoder.cs
- DateTimeConverter2.cs
- Merger.cs
- ApplicationSettingsBase.cs
- DataAdapter.cs
- BitmapMetadataEnumerator.cs
- PrimitiveXmlSerializers.cs
- JsonQueryStringConverter.cs
- RightsManagementEncryptedStream.cs
- FixedSOMTableCell.cs
- HelpProvider.cs
- DirectoryGroupQuery.cs
- ContextDataSourceView.cs
- AuthenticationService.cs
- StreamInfo.cs
- InkPresenter.cs
- SqlDataSourceCustomCommandEditor.cs
- DocumentXPathNavigator.cs
- WsrmFault.cs
- NamespaceListProperty.cs
- IdentityNotMappedException.cs
- TextBoxDesigner.cs
- ImageSource.cs
- PropertyChangeTracker.cs
- ContactManager.cs
- GridViewColumn.cs
- ListBox.cs
- InternalMappingException.cs
- Pen.cs
- TraceUtils.cs
- HGlobalSafeHandle.cs
- NullableLongAverageAggregationOperator.cs
- returneventsaver.cs
- CopyNodeSetAction.cs
- DelayedRegex.cs
- WmlCommandAdapter.cs
- FixedFlowMap.cs
- EntityContainerEmitter.cs
- TCEAdapterGenerator.cs
- NumericExpr.cs
- ValidationErrorCollection.cs
- HGlobalSafeHandle.cs
- FixedPageProcessor.cs
- CompositeFontParser.cs
- listviewsubitemcollectioneditor.cs
- DispatcherOperation.cs