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
- ScrollViewer.cs
- EventLogEntry.cs
- TabPanel.cs
- List.cs
- FrugalMap.cs
- DbConnectionPoolOptions.cs
- AttachInfo.cs
- ConfigXmlCDataSection.cs
- BindingWorker.cs
- KeySpline.cs
- OutOfProcStateClientManager.cs
- Itemizer.cs
- CommonBehaviorsSection.cs
- UnionCodeGroup.cs
- UndoManager.cs
- LinqTreeNodeEvaluator.cs
- TextBox.cs
- SiteMapSection.cs
- ContractsBCL.cs
- SQLDecimalStorage.cs
- XPathDocumentNavigator.cs
- DesigntimeLicenseContext.cs
- ToolBar.cs
- LogEntrySerializationException.cs
- DeferredSelectedIndexReference.cs
- DataContractSerializerMessageContractImporter.cs
- MenuRenderer.cs
- RegionInfo.cs
- HttpListenerException.cs
- MessageHeader.cs
- Misc.cs
- WebUtil.cs
- DatagridviewDisplayedBandsData.cs
- HttpCapabilitiesBase.cs
- SqlProfileProvider.cs
- UshortList2.cs
- httpapplicationstate.cs
- ListItemCollection.cs
- ElementMarkupObject.cs
- KeyInfo.cs
- UIElement3D.cs
- TreeNodeStyle.cs
- ListViewInsertedEventArgs.cs
- SinglePageViewer.cs
- RTLAwareMessageBox.cs
- TcpConnectionPoolSettingsElement.cs
- ResourceContainer.cs
- ExceptionHandlersDesigner.cs
- ColumnMapCopier.cs
- AppDomainShutdownMonitor.cs
- CodeCatchClauseCollection.cs
- ProcessMessagesAsyncResult.cs
- BitStack.cs
- ClientRuntime.cs
- SqlDelegatedTransaction.cs
- OutOfMemoryException.cs
- Control.cs
- SqlDataSource.cs
- NumericExpr.cs
- ImageSource.cs
- HyperLinkStyle.cs
- LicenseProviderAttribute.cs
- HtmlTernaryTree.cs
- ApplicationCommands.cs
- PassportPrincipal.cs
- WindowsListViewItemCheckBox.cs
- OutputCacheSettings.cs
- SystemPens.cs
- FontWeight.cs
- MexServiceChannelBuilder.cs
- TextBox.cs
- SqlNotificationRequest.cs
- Configuration.cs
- ImageSourceValueSerializer.cs
- DBSchemaRow.cs
- ConvertersCollection.cs
- BufferAllocator.cs
- LassoSelectionBehavior.cs
- PaintEvent.cs
- TextShapeableCharacters.cs
- MSHTMLHostUtil.cs
- DesignerTextBoxAdapter.cs
- CfgArc.cs
- CancelRequestedRecord.cs
- IpcServerChannel.cs
- CapabilitiesSection.cs
- ComAdminInterfaces.cs
- CodeCompileUnit.cs
- ProgressPage.cs
- MsmqIntegrationBindingElement.cs
- ButtonRenderer.cs
- PageAsyncTaskManager.cs
- XamlPointCollectionSerializer.cs
- SqlCommandBuilder.cs
- ErrorsHelper.cs
- SqlClientPermission.cs
- SQLInt64Storage.cs
- WebBrowserEvent.cs
- BufferAllocator.cs
- RegexCompiler.cs