Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / ScriptControlDescriptor.cs / 1 / 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.Security.Permissions; using System.Web; using System.Web.Resources; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) ] 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.Security.Permissions; using System.Web; using System.Web.Resources; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) ] 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
- ButtonStandardAdapter.cs
- XmlSchemaGroupRef.cs
- CustomSignedXml.cs
- ContextBase.cs
- DBBindings.cs
- CollectionsUtil.cs
- MsmqTransportSecurity.cs
- InternalBufferOverflowException.cs
- ListViewUpdateEventArgs.cs
- SessionPageStateSection.cs
- FormsAuthentication.cs
- ColumnWidthChangedEvent.cs
- StorageAssociationTypeMapping.cs
- SecurityTokenTypes.cs
- SplayTreeNode.cs
- ProfilePropertyNameValidator.cs
- ComEventsHelper.cs
- StrokeCollection2.cs
- OpenTypeLayout.cs
- CheckBoxField.cs
- DependsOnAttribute.cs
- DataSourceView.cs
- BookmarkResumptionRecord.cs
- IconConverter.cs
- ReadOnlyState.cs
- CustomValidator.cs
- WorkflowMarkupSerializer.cs
- IconHelper.cs
- ZipIOExtraFieldPaddingElement.cs
- DBCommand.cs
- _WebProxyDataBuilder.cs
- RunInstallerAttribute.cs
- SplineKeyFrames.cs
- ProgressBarBrushConverter.cs
- DurationConverter.cs
- BitmapEffectGeneralTransform.cs
- TextServicesPropertyRanges.cs
- WebBrowserHelper.cs
- ArrangedElementCollection.cs
- OfTypeExpression.cs
- GridViewRowPresenter.cs
- HttpListenerContext.cs
- XmlMemberMapping.cs
- EntityParameter.cs
- MemberHolder.cs
- ParameterInfo.cs
- NativeMethods.cs
- SelectedDatesCollection.cs
- WebServiceData.cs
- WebBrowsableAttribute.cs
- AudioStateChangedEventArgs.cs
- Soap12ProtocolImporter.cs
- HttpListener.cs
- CodeDomConfigurationHandler.cs
- ExpressionLexer.cs
- XmlCharType.cs
- TextEditorDragDrop.cs
- Rijndael.cs
- TemplatePagerField.cs
- Brushes.cs
- XmlSignatureManifest.cs
- TableParaClient.cs
- ToolStripPanelRenderEventArgs.cs
- EngineSite.cs
- UrlRoutingModule.cs
- QilReference.cs
- InternalDispatchObject.cs
- Oci.cs
- MessageSmuggler.cs
- DataTableMappingCollection.cs
- RadioButtonAutomationPeer.cs
- ClientEventManager.cs
- TransactionInformation.cs
- CmsInterop.cs
- XPathNavigator.cs
- ListView.cs
- _BufferOffsetSize.cs
- ConfigurationValidatorAttribute.cs
- ReflectionUtil.cs
- ProfileSection.cs
- LinearKeyFrames.cs
- CodeExporter.cs
- MenuRendererClassic.cs
- ObjectDataSourceView.cs
- EntityClassGenerator.cs
- StreamGeometry.cs
- AuthenticatedStream.cs
- CounterSampleCalculator.cs
- PlanCompiler.cs
- ComboBoxItem.cs
- XmlIlGenerator.cs
- DataObject.cs
- RoutedEventHandlerInfo.cs
- OperationFormatStyle.cs
- WinFormsComponentEditor.cs
- HMACSHA512.cs
- ProtocolsConfigurationEntry.cs
- SqlResolver.cs
- TranslateTransform3D.cs
- AuthenticationSection.cs