Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / ScriptControlDescriptor.cs / 1305376 / ScriptControlDescriptor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Web; using System.Web.Resources; public class ScriptControlDescriptor : ScriptComponentDescriptor { [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")] public ScriptControlDescriptor(string type, string elementID) : base(type, elementID) { RegisterDispose = false; } public override string ClientID { get { return ElementID; } } [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")] public string ElementID { get { return base.ElementIDInternal; } } public override string ID { get { return base.ID; } set { throw new InvalidOperationException( String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptControlDescriptor_IDNotSettable, "ID", typeof(ScriptControlDescriptor).FullName)); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Web; using System.Web.Resources; public class ScriptControlDescriptor : ScriptComponentDescriptor { [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")] public ScriptControlDescriptor(string type, string elementID) : base(type, elementID) { RegisterDispose = false; } public override string ClientID { get { return ElementID; } } [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ID")] public string ElementID { get { return base.ElementIDInternal; } } public override string ID { get { return base.ID; } set { throw new InvalidOperationException( String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptControlDescriptor_IDNotSettable, "ID", typeof(ScriptControlDescriptor).FullName)); } } } } // 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
- _ReceiveMessageOverlappedAsyncResult.cs
- TypeConverterValueSerializer.cs
- CacheChildrenQuery.cs
- EditingContext.cs
- MouseDevice.cs
- DataConnectionHelper.cs
- DecoderNLS.cs
- DataGridViewSortCompareEventArgs.cs
- Quad.cs
- FormClosedEvent.cs
- SystemIcons.cs
- InvalidContentTypeException.cs
- Int32EqualityComparer.cs
- ProfileGroupSettings.cs
- WindowsStatic.cs
- DiscriminatorMap.cs
- BufferBuilder.cs
- DataGridViewUtilities.cs
- Block.cs
- AssociationSetEnd.cs
- HttpPostLocalhostServerProtocol.cs
- SafeHandles.cs
- DataGridViewRowHeaderCell.cs
- XmlElementCollection.cs
- TextControlDesigner.cs
- ImageButton.cs
- ExpressionCopier.cs
- PageContentAsyncResult.cs
- ObjectViewListener.cs
- WebPartsSection.cs
- DbConnectionPoolGroupProviderInfo.cs
- FontDifferentiator.cs
- DiscreteKeyFrames.cs
- COM2ComponentEditor.cs
- DSASignatureDeformatter.cs
- SafeFindHandle.cs
- ExpressionBuilderContext.cs
- IisTraceWebEventProvider.cs
- StateMachineWorkflowDesigner.cs
- ListDictionaryInternal.cs
- StateBag.cs
- WindowsUpDown.cs
- RoutedPropertyChangedEventArgs.cs
- CompositeControlDesigner.cs
- VScrollProperties.cs
- OdbcHandle.cs
- TypeForwardedToAttribute.cs
- PublisherIdentityPermission.cs
- ChangeProcessor.cs
- PrePostDescendentsWalker.cs
- _AutoWebProxyScriptWrapper.cs
- COM2FontConverter.cs
- TrustLevel.cs
- BCryptHashAlgorithm.cs
- BuildResultCache.cs
- PerformanceCountersElement.cs
- Win32MouseDevice.cs
- SafeLocalMemHandle.cs
- ListControlConvertEventArgs.cs
- IxmlLineInfo.cs
- KeyManager.cs
- OperationPickerDialog.designer.cs
- KnownBoxes.cs
- XmlSortKeyAccumulator.cs
- ActivationArguments.cs
- RegexBoyerMoore.cs
- QueryInterceptorAttribute.cs
- FileLoadException.cs
- TagNameToTypeMapper.cs
- hresults.cs
- Config.cs
- TableDetailsRow.cs
- RuleCache.cs
- AdapterDictionary.cs
- HtmlFormWrapper.cs
- XhtmlConformanceSection.cs
- DataGridTableCollection.cs
- URLAttribute.cs
- TouchEventArgs.cs
- SoapConverter.cs
- HttpModuleActionCollection.cs
- DelegatingHeader.cs
- XmlSchemaAnnotated.cs
- StorageScalarPropertyMapping.cs
- PrivilegedConfigurationManager.cs
- SQLMembershipProvider.cs
- GridViewDeleteEventArgs.cs
- _UriSyntax.cs
- FormViewDesigner.cs
- XmlSchemaComplexContentExtension.cs
- TaiwanLunisolarCalendar.cs
- ApplicationActivator.cs
- EncoderParameter.cs
- XPathSelfQuery.cs
- ObjectView.cs
- UTF32Encoding.cs
- EventLogger.cs
- RemotingConfiguration.cs
- CompressedStack.cs
- MinimizableAttributeTypeConverter.cs