Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- GeometryGroup.cs
- CancellationTokenSource.cs
- ImageDrawing.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SerializationStore.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- EntityDesignerDataSourceView.cs
- FileUtil.cs
- DataViewListener.cs
- SettingsBase.cs
- PoisonMessageException.cs
- SettingsSavedEventArgs.cs
- PaperSize.cs
- ConsumerConnectionPoint.cs
- RequiredFieldValidator.cs
- DrawListViewItemEventArgs.cs
- ECDsa.cs
- ConvertEvent.cs
- ComPlusInstanceProvider.cs
- VirtualizedCellInfoCollection.cs
- UrlMappingCollection.cs
- ItemList.cs
- Attributes.cs
- BuildTopDownAttribute.cs
- PageStatePersister.cs
- ToolboxComponentsCreatedEventArgs.cs
- DataSourceDescriptorCollection.cs
- TransformProviderWrapper.cs
- ByteStreamGeometryContext.cs
- WizardPanel.cs
- FixedSOMLineRanges.cs
- PrtCap_Builder.cs
- FixedElement.cs
- EventProviderWriter.cs
- HttpServerVarsCollection.cs
- GZipDecoder.cs
- __ConsoleStream.cs
- SHA1Cng.cs
- ClientUrlResolverWrapper.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- MsmqTransportSecurityElement.cs
- DecoderExceptionFallback.cs
- CodeBinaryOperatorExpression.cs
- LiteralControl.cs
- NameTable.cs
- TreeNodeStyle.cs
- FontUnitConverter.cs
- Overlapped.cs
- WriteableBitmap.cs
- AsymmetricKeyExchangeDeformatter.cs
- FileClassifier.cs
- OleServicesContext.cs
- BinHexDecoder.cs
- PathFigureCollection.cs
- BufferAllocator.cs
- WizardForm.cs
- EmptyStringExpandableObjectConverter.cs
- DbgCompiler.cs
- Stack.cs
- CardSpaceSelector.cs
- IndentedWriter.cs
- LiteralControl.cs
- ParentControlDesigner.cs
- ThemeDictionaryExtension.cs
- CompositeKey.cs
- ProcessInputEventArgs.cs
- VisualStyleRenderer.cs
- TextSelectionHighlightLayer.cs
- OpenTypeCommon.cs
- MethodAccessException.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- WorkerRequest.cs
- LoadWorkflowByKeyAsyncResult.cs
- SQLByte.cs
- PointAnimationClockResource.cs
- DomainLiteralReader.cs
- ExpanderAutomationPeer.cs
- SmtpReplyReaderFactory.cs
- IOException.cs
- LayoutTableCell.cs
- AutomationEventArgs.cs
- DataGridSortCommandEventArgs.cs
- Model3DGroup.cs
- OutputScopeManager.cs
- CssStyleCollection.cs
- TemplatedMailWebEventProvider.cs
- CodeDirectionExpression.cs
- PipeException.cs
- PixelShader.cs
- ToolStripDropTargetManager.cs
- MethodExpr.cs
- LingerOption.cs
- invalidudtexception.cs
- HwndSubclass.cs
- MessagingDescriptionAttribute.cs
- CodeRemoveEventStatement.cs
- wmiprovider.cs
- RowToParametersTransformer.cs
- ZipIOModeEnforcingStream.cs
- XmlSchemaRedefine.cs