Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PolygonHotSpot.cs
- EmbeddedObject.cs
- UIElement3D.cs
- securitymgrsite.cs
- ParsedAttributeCollection.cs
- ScrollPattern.cs
- TraceContextRecord.cs
- LoginName.cs
- SecurityChannelFaultConverter.cs
- ContentOnlyMessage.cs
- TextEditorTyping.cs
- IndexingContentUnit.cs
- XsltInput.cs
- ErrorWebPart.cs
- XmlQueryTypeFactory.cs
- CommandEventArgs.cs
- ImageMetadata.cs
- ListViewSortEventArgs.cs
- ControlAdapter.cs
- TextServicesLoader.cs
- FontStretches.cs
- XmlHelper.cs
- ArgumentOutOfRangeException.cs
- RoutingEndpointTrait.cs
- OleDbInfoMessageEvent.cs
- SqlBuilder.cs
- XPathArrayIterator.cs
- GeometryCombineModeValidation.cs
- Message.cs
- HandlerBase.cs
- File.cs
- WebPartConnectionsDisconnectVerb.cs
- SystemFonts.cs
- AuthorizationRuleCollection.cs
- WCFModelStrings.Designer.cs
- DatatypeImplementation.cs
- SqlTransaction.cs
- GAC.cs
- UseManagedPresentationBindingElement.cs
- Attributes.cs
- CssClassPropertyAttribute.cs
- FamilyTypefaceCollection.cs
- IImplicitResourceProvider.cs
- ExceptionTrace.cs
- MetadataArtifactLoader.cs
- SimpleHandlerBuildProvider.cs
- NativeMethods.cs
- ExclusiveCanonicalizationTransform.cs
- ProjectionCamera.cs
- TraceLevelStore.cs
- XmlElementList.cs
- ControlAdapter.cs
- TransactionManager.cs
- OrderByQueryOptionExpression.cs
- SecurityContext.cs
- FontEmbeddingManager.cs
- MyContact.cs
- WebConfigurationHostFileChange.cs
- ExternalDataExchangeClient.cs
- JumpList.cs
- StringCollection.cs
- EncryptedPackageFilter.cs
- SectionXmlInfo.cs
- SecurityTokenContainer.cs
- DataViewListener.cs
- ReadOnlyTernaryTree.cs
- TextParaClient.cs
- MatrixKeyFrameCollection.cs
- ReferencedAssembly.cs
- FileLoadException.cs
- FactoryGenerator.cs
- UpdateExpressionVisitor.cs
- Grid.cs
- MarshalByRefObject.cs
- EdmTypeAttribute.cs
- DataGridPagerStyle.cs
- SignedPkcs7.cs
- SqlDataSourceCommandEventArgs.cs
- SimplePropertyEntry.cs
- BidirectionalDictionary.cs
- AspNetCacheProfileAttribute.cs
- DataServiceQueryProvider.cs
- TraceProvider.cs
- BCryptSafeHandles.cs
- Model3DGroup.cs
- TypeInitializationException.cs
- Rfc2898DeriveBytes.cs
- ComponentGlyph.cs
- WSTrustFeb2005.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- DataKeyArray.cs
- EntityContainer.cs
- EditBehavior.cs
- SkinBuilder.cs
- DirectoryNotFoundException.cs
- LineServicesRun.cs
- StorageInfo.cs
- Merger.cs
- Rfc4050KeyFormatter.cs
- NegotiationTokenProvider.cs