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
- XmlRootAttribute.cs
- SymmetricCryptoHandle.cs
- OdbcInfoMessageEvent.cs
- ManualResetEvent.cs
- EntityContainerEmitter.cs
- SqlException.cs
- FontWeightConverter.cs
- BatchParser.cs
- Avt.cs
- XmlSerializerFactory.cs
- XamlToRtfWriter.cs
- StringValidator.cs
- TypeListConverter.cs
- WithParamAction.cs
- BitmapEffectGeneralTransform.cs
- CacheDependency.cs
- StreamFormatter.cs
- OdbcDataAdapter.cs
- XmlProcessingInstruction.cs
- BinHexDecoder.cs
- FixedSOMPageElement.cs
- DataExpression.cs
- XmlDocumentFragment.cs
- Selector.cs
- EntityContainerEntitySet.cs
- ObjectCloneHelper.cs
- AssemblyInfo.cs
- SetterBase.cs
- DataRowChangeEvent.cs
- DescendentsWalkerBase.cs
- SessionEndingCancelEventArgs.cs
- StrongNameHelpers.cs
- FontClient.cs
- DataViewSettingCollection.cs
- EFColumnProvider.cs
- SapiRecoContext.cs
- HtmlUtf8RawTextWriter.cs
- SQLGuidStorage.cs
- Queue.cs
- RangeBase.cs
- Cursor.cs
- AsyncWaitHandle.cs
- SrgsNameValueTag.cs
- DataBoundControl.cs
- HtmlInputRadioButton.cs
- hwndwrapper.cs
- RuntimeConfig.cs
- QilName.cs
- GeneralTransformGroup.cs
- HostedTcpTransportManager.cs
- IndexedGlyphRun.cs
- SystemResources.cs
- httpstaticobjectscollection.cs
- CompensatableTransactionScopeActivity.cs
- AdCreatedEventArgs.cs
- UseLicense.cs
- StringBuilder.cs
- MatrixTransform3D.cs
- BindingExpression.cs
- UserPreferenceChangingEventArgs.cs
- TabControlEvent.cs
- LabelDesigner.cs
- UnknownBitmapDecoder.cs
- RangeBaseAutomationPeer.cs
- RoutedEventConverter.cs
- DataTableReaderListener.cs
- Transform.cs
- NativeMethods.cs
- ExceptionUtil.cs
- CursorEditor.cs
- WinEventHandler.cs
- TextureBrush.cs
- FormatException.cs
- ActivationServices.cs
- ZipFileInfoCollection.cs
- WebEventCodes.cs
- ReadWriteSpinLock.cs
- Action.cs
- Registry.cs
- GradientStop.cs
- SafeNativeMethodsOther.cs
- TextElement.cs
- AdapterUtil.cs
- BinaryKeyIdentifierClause.cs
- PasswordBox.cs
- ImageListStreamer.cs
- ToolBar.cs
- RSAOAEPKeyExchangeFormatter.cs
- AuthenticatedStream.cs
- Win32.cs
- errorpatternmatcher.cs
- X509Extension.cs
- ResourceExpression.cs
- TraceSection.cs
- UnicodeEncoding.cs
- Transform3DGroup.cs
- MembershipUser.cs
- XmlEncoding.cs
- CustomLineCap.cs
- DbParameterHelper.cs