Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / AssociatedControlConverter.cs / 1 / AssociatedControlConverter.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;
///
/// Filters and retrieves several types of values from validated controls.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class AssociatedControlConverter: ControlIDConverter {
///
/// Determines whether a given control should have its id added to the StandardValuesCollection.
///
protected override bool FilterControl(Control control) {
return control is WebControl;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// 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;
///
/// Filters and retrieves several types of values from validated controls.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class AssociatedControlConverter: ControlIDConverter {
///
/// Determines whether a given control should have its id added to the StandardValuesCollection.
///
protected override bool FilterControl(Control control) {
return control is WebControl;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SmtpAuthenticationManager.cs
- TargetFrameworkAttribute.cs
- RuntimeConfigLKG.cs
- RemoteWebConfigurationHost.cs
- DocumentPaginator.cs
- SqlConnectionHelper.cs
- RotateTransform.cs
- SpellerStatusTable.cs
- ToolStripItem.cs
- KeyEvent.cs
- EntityDataSourceView.cs
- COM2IDispatchConverter.cs
- FamilyMap.cs
- StrokeDescriptor.cs
- TagNameToTypeMapper.cs
- WebPartDisplayModeCancelEventArgs.cs
- CodeExporter.cs
- XmlnsDefinitionAttribute.cs
- NativeRecognizer.cs
- FunctionImportElement.cs
- PropertyGeneratedEventArgs.cs
- DataTableReaderListener.cs
- PublisherIdentityPermission.cs
- Globals.cs
- ObjectNotFoundException.cs
- ExternalCalls.cs
- XmlWellformedWriter.cs
- LinqDataSourceStatusEventArgs.cs
- Msec.cs
- SegmentInfo.cs
- CodeAssignStatement.cs
- __TransparentProxy.cs
- VectorAnimationUsingKeyFrames.cs
- StringExpressionSet.cs
- SyntaxCheck.cs
- HttpStreamXmlDictionaryWriter.cs
- LazyTextWriterCreator.cs
- Menu.cs
- InputReferenceExpression.cs
- ContentHostHelper.cs
- ClientConfigurationSystem.cs
- IfAction.cs
- ClientRolePrincipal.cs
- IndexedString.cs
- VisualStyleInformation.cs
- BookmarkNameHelper.cs
- ConfigurationElement.cs
- SortKey.cs
- RowsCopiedEventArgs.cs
- UriParserTemplates.cs
- TableItemPattern.cs
- SimpleWebHandlerParser.cs
- ToolStripTextBox.cs
- WindowsGraphics2.cs
- _ConnectOverlappedAsyncResult.cs
- Deserializer.cs
- OutputBuffer.cs
- XmlSchemaComplexContent.cs
- EmbeddedMailObject.cs
- RequestCacheValidator.cs
- UnaryOperationBinder.cs
- WebServiceErrorEvent.cs
- Menu.cs
- TimeStampChecker.cs
- TrustLevelCollection.cs
- EventTrigger.cs
- ButtonBaseAutomationPeer.cs
- ProgressBarBrushConverter.cs
- MD5.cs
- WinInetCache.cs
- FileDialogCustomPlacesCollection.cs
- XmlUtf8RawTextWriter.cs
- Binding.cs
- HtmlTernaryTree.cs
- SiteIdentityPermission.cs
- FormViewDeleteEventArgs.cs
- SecurityRuntime.cs
- DesignerVerbCollection.cs
- Graphics.cs
- MetaData.cs
- DrawItemEvent.cs
- DockAndAnchorLayout.cs
- XPathSelectionIterator.cs
- TrackingProfile.cs
- SmiRecordBuffer.cs
- RelatedImageListAttribute.cs
- _HeaderInfoTable.cs
- FormatterServices.cs
- BaseAsyncResult.cs
- HtmlImage.cs
- InputProviderSite.cs
- CustomPopupPlacement.cs
- OrderToken.cs
- Paragraph.cs
- ChangeInterceptorAttribute.cs
- TargetFrameworkAttribute.cs
- SimpleNameService.cs
- FrugalMap.cs
- TraceLevelStore.cs
- EventLogPermissionAttribute.cs