Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / HtmlControls / HtmlEmptyTagControlBuilder.cs / 1 / HtmlEmptyTagControlBuilder.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.HtmlControls {
using System;
using System.Security.Permissions;
using System.Web.UI;
///
/// Used as ControlBuilder for controls that do not have a body or end
/// tag, for example, INPUT and IMG.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class HtmlEmptyTagControlBuilder : ControlBuilder {
//
// Indicate that the control does not have a body or end tag.
//
public override bool HasBody() {
return false;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.HtmlControls {
using System;
using System.Security.Permissions;
using System.Web.UI;
///
/// Used as ControlBuilder for controls that do not have a body or end
/// tag, for example, INPUT and IMG.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class HtmlEmptyTagControlBuilder : ControlBuilder {
//
// Indicate that the control does not have a body or end tag.
//
public override bool HasBody() {
return false;
}
}
}
// 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
- CompilationPass2TaskInternal.cs
- ImageConverter.cs
- PeerObject.cs
- ApplicationActivator.cs
- StorageMappingFragment.cs
- ProxyGenerationError.cs
- FixedSOMLineCollection.cs
- _SslSessionsCache.cs
- StrongNameIdentityPermission.cs
- RequestTimeoutManager.cs
- SerializerDescriptor.cs
- XmlEnumAttribute.cs
- OverlappedAsyncResult.cs
- JsonWriterDelegator.cs
- SID.cs
- TransformGroup.cs
- PathHelper.cs
- CollectionChange.cs
- TypeConverterBase.cs
- InterleavedZipPartStream.cs
- TextElementAutomationPeer.cs
- DynamicILGenerator.cs
- ContextDataSourceContextData.cs
- ComponentEditorPage.cs
- Validator.cs
- TypeSystem.cs
- LayoutSettings.cs
- ObjectToken.cs
- ConstructorExpr.cs
- DbSetClause.cs
- TypeReference.cs
- List.cs
- PathFigureCollectionConverter.cs
- filewebresponse.cs
- SqlTopReducer.cs
- ObjectReferenceStack.cs
- XPathScanner.cs
- ConvertEvent.cs
- FontFamily.cs
- SafeNativeMethods.cs
- AssemblyBuilderData.cs
- SessionEndingCancelEventArgs.cs
- AddDataControlFieldDialog.cs
- UDPClient.cs
- EntityTypeBase.cs
- versioninfo.cs
- VerificationAttribute.cs
- CompilerParameters.cs
- PartialCachingControl.cs
- DeferredBinaryDeserializerExtension.cs
- Point3DIndependentAnimationStorage.cs
- JsonUriDataContract.cs
- DataGridViewCheckBoxColumn.cs
- Profiler.cs
- StringComparer.cs
- relpropertyhelper.cs
- WebResourceAttribute.cs
- LiteralSubsegment.cs
- DefaultAssemblyResolver.cs
- RowToFieldTransformer.cs
- HttpListenerElement.cs
- ApplicationContext.cs
- EndpointAddress10.cs
- XmlElement.cs
- ActivityInterfaces.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- embossbitmapeffect.cs
- QueueProcessor.cs
- dataobject.cs
- IList.cs
- ListSortDescription.cs
- Assert.cs
- EntityCommand.cs
- ClientSettingsProvider.cs
- XmlSerializationReader.cs
- MobileResource.cs
- ToolStripTextBox.cs
- XamlToRtfParser.cs
- StreamInfo.cs
- ObjectNavigationPropertyMapping.cs
- ChildDocumentBlock.cs
- InvokeProviderWrapper.cs
- ToolTipAutomationPeer.cs
- ConfigurationPropertyCollection.cs
- MappingItemCollection.cs
- EDesignUtil.cs
- X509Utils.cs
- XmlAttributeAttribute.cs
- CalendarDesigner.cs
- SortKey.cs
- WebServiceErrorEvent.cs
- UserControl.cs
- HttpServerVarsCollection.cs
- CodeArrayCreateExpression.cs
- SQLSingle.cs
- Configuration.cs
- VectorKeyFrameCollection.cs
- HwndAppCommandInputProvider.cs
- TextContainerHelper.cs
- AutomationFocusChangedEventArgs.cs