Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } // 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; 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; } } } // 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
- SuppressIldasmAttribute.cs
- VariantWrapper.cs
- Page.cs
- ShaderRenderModeValidation.cs
- XMLSyntaxException.cs
- RangeBase.cs
- SyndicationDeserializer.cs
- ConfigurationLocation.cs
- ConnectionPointCookie.cs
- MatrixCamera.cs
- DataContractSerializer.cs
- XmlDocumentSerializer.cs
- NavigateUrlConverter.cs
- PageBuildProvider.cs
- DependencyPropertyKey.cs
- ToolStripAdornerWindowService.cs
- MetadataPropertyAttribute.cs
- GenerateScriptTypeAttribute.cs
- FormsAuthenticationTicket.cs
- XPathBinder.cs
- ReflectionHelper.cs
- ColorAnimationUsingKeyFrames.cs
- UnhandledExceptionEventArgs.cs
- OlePropertyStructs.cs
- _LocalDataStoreMgr.cs
- DeviceContext.cs
- ResolvedKeyFrameEntry.cs
- UriSection.cs
- SvcMapFile.cs
- RequestCachingSection.cs
- XhtmlMobileTextWriter.cs
- NullReferenceException.cs
- SoapSchemaExporter.cs
- QilStrConcatenator.cs
- FileLevelControlBuilderAttribute.cs
- SmtpAuthenticationManager.cs
- TextEditor.cs
- ThicknessAnimation.cs
- DataGridViewCellStateChangedEventArgs.cs
- PowerEase.cs
- PeerInvitationResponse.cs
- followingquery.cs
- WinEventWrap.cs
- TextBoxAutomationPeer.cs
- HtmlInputRadioButton.cs
- InputProcessorProfilesLoader.cs
- PersonalizationProviderHelper.cs
- SecurityContextKeyIdentifierClause.cs
- ShapingEngine.cs
- FormViewCommandEventArgs.cs
- PersonalizationState.cs
- MetabaseReader.cs
- SafeArrayRankMismatchException.cs
- TransformProviderWrapper.cs
- IndexedSelectQueryOperator.cs
- MonthChangedEventArgs.cs
- SelectiveScrollingGrid.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- PropertyGridCommands.cs
- FormDesigner.cs
- ReferencedCollectionType.cs
- Shape.cs
- WindowsListViewGroupHelper.cs
- DataGridViewColumnConverter.cs
- ServiceObjectContainer.cs
- AutoGeneratedFieldProperties.cs
- XamlContextStack.cs
- XmlAttributeProperties.cs
- GenericsNotImplementedException.cs
- PasswordRecovery.cs
- NegotiateStream.cs
- DataGridViewHeaderCell.cs
- WrappedIUnknown.cs
- SharedPersonalizationStateInfo.cs
- UpdatePanel.cs
- XmlSecureResolver.cs
- ProfessionalColorTable.cs
- SafeNativeMethods.cs
- ClientCredentialsSecurityTokenManager.cs
- SqlClientWrapperSmiStreamChars.cs
- LoginName.cs
- EntityProviderFactory.cs
- UInt16Storage.cs
- CodeTypeParameterCollection.cs
- ValueExpressions.cs
- RSAOAEPKeyExchangeDeformatter.cs
- PersonalizationStateInfo.cs
- StrokeCollectionDefaultValueFactory.cs
- MediaCommands.cs
- WindowsGraphics.cs
- EntityDataSourceContextCreatingEventArgs.cs
- DispatcherHooks.cs
- SettingsProviderCollection.cs
- AppLevelCompilationSectionCache.cs
- BasicExpandProvider.cs
- Literal.cs
- GradientStop.cs
- UnsafeNativeMethodsCLR.cs
- ActivityMarkupSerializer.cs
- TypedReference.cs