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
- _AutoWebProxyScriptEngine.cs
- ConstraintManager.cs
- HostedHttpRequestAsyncResult.cs
- XmlSignificantWhitespace.cs
- ProfileModule.cs
- SemaphoreFullException.cs
- WebPartEditorApplyVerb.cs
- DataServiceEntityAttribute.cs
- CollectionView.cs
- WebBrowserHelper.cs
- NotificationContext.cs
- SapiRecoContext.cs
- DataContractSerializerOperationBehavior.cs
- TextElementCollectionHelper.cs
- SoapSchemaExporter.cs
- InvalidPropValue.cs
- WebPartZone.cs
- ResolveResponse.cs
- SamlAuthorizationDecisionClaimResource.cs
- WebMessageEncodingElement.cs
- HostingEnvironmentException.cs
- Debug.cs
- TextTreeInsertElementUndoUnit.cs
- DataService.cs
- Point.cs
- RemoteCryptoSignHashRequest.cs
- SafeIUnknown.cs
- LinqDataSourceUpdateEventArgs.cs
- ExceptionHelpers.cs
- TreeWalker.cs
- ExplicitDiscriminatorMap.cs
- ConditionChanges.cs
- BitmapEffectInput.cs
- ManipulationInertiaStartingEventArgs.cs
- DataBindingExpressionBuilder.cs
- FrugalList.cs
- ValidationErrorEventArgs.cs
- Rotation3DAnimation.cs
- NamespaceQuery.cs
- BooleanToVisibilityConverter.cs
- Typography.cs
- ToolStripItemRenderEventArgs.cs
- Matrix3DStack.cs
- OleDbParameterCollection.cs
- ToolstripProfessionalRenderer.cs
- ConvertEvent.cs
- DiscoveryClientChannelFactory.cs
- DesignTimeType.cs
- WebEventCodes.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ServiceDurableInstanceContextProvider.cs
- FillRuleValidation.cs
- DataSourceSelectArguments.cs
- ExpressionWriter.cs
- SafeHandles.cs
- Transform.cs
- EventLogConfiguration.cs
- TreeViewCancelEvent.cs
- ComAdminInterfaces.cs
- XPathParser.cs
- Directory.cs
- DataRecordInternal.cs
- TextRunCacheImp.cs
- ValidationRuleCollection.cs
- HtmlInputControl.cs
- FixUpCollection.cs
- SettingsProviderCollection.cs
- DesignerProperties.cs
- WebPartEditVerb.cs
- HitTestWithPointDrawingContextWalker.cs
- CodeGotoStatement.cs
- Pair.cs
- ReadOnlyAttribute.cs
- TypeLoadException.cs
- LZCodec.cs
- DataGridViewDataErrorEventArgs.cs
- ServicesExceptionNotHandledEventArgs.cs
- ListComponentEditorPage.cs
- EdgeProfileValidation.cs
- TreeView.cs
- _NtlmClient.cs
- MonthCalendar.cs
- CompareInfo.cs
- SemaphoreFullException.cs
- Rotation3DAnimationBase.cs
- OrderedParallelQuery.cs
- CapabilitiesSection.cs
- CodeLabeledStatement.cs
- BinaryUtilClasses.cs
- PenLineCapValidation.cs
- OutputWindow.cs
- TerminatorSinks.cs
- WCFModelStrings.Designer.cs
- assertwrapper.cs
- ConstraintStruct.cs
- FolderBrowserDialog.cs
- BCLDebug.cs
- MatrixTransform.cs
- EntityDesignerBuildProvider.cs
- ProbeMatchesMessageCD1.cs