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
- CalendarAutoFormatDialog.cs
- FormViewRow.cs
- IgnoreSectionHandler.cs
- HostingEnvironmentSection.cs
- EntityDataSourceDataSelectionPanel.cs
- _LocalDataStore.cs
- SiteMapProvider.cs
- FreezableCollection.cs
- XmlNodeChangedEventArgs.cs
- LayoutTableCell.cs
- SqlUtils.cs
- UserUseLicenseDictionaryLoader.cs
- TextSelectionProcessor.cs
- BackgroundWorker.cs
- EncoderParameters.cs
- DrawingState.cs
- WorkflowWebService.cs
- MethodInfo.cs
- SingleStorage.cs
- XamlGridLengthSerializer.cs
- MailSettingsSection.cs
- ProjectionCamera.cs
- DynamicArgumentDesigner.xaml.cs
- IIS7WorkerRequest.cs
- BamlTreeNode.cs
- BinaryParser.cs
- MenuBindingsEditor.cs
- QueryExpr.cs
- SafeRightsManagementPubHandle.cs
- MdImport.cs
- BasicAsyncResult.cs
- ProcessModuleCollection.cs
- Unit.cs
- MediaContext.cs
- DbProviderConfigurationHandler.cs
- ToggleButton.cs
- AnnouncementEndpointElement.cs
- DataGridViewCellValueEventArgs.cs
- XmlDigitalSignatureProcessor.cs
- BinaryNode.cs
- XmlWriter.cs
- JsonUriDataContract.cs
- ColorConverter.cs
- KerberosRequestorSecurityToken.cs
- PolicyUnit.cs
- DocumentApplicationJournalEntry.cs
- XmlIlGenerator.cs
- HttpWebRequestElement.cs
- NavigationHelper.cs
- Padding.cs
- HttpSysSettings.cs
- ICollection.cs
- SoapConverter.cs
- SiteMapDataSource.cs
- DataSourceProvider.cs
- EvidenceBase.cs
- SoapTypeAttribute.cs
- SoapElementAttribute.cs
- LinqDataSourceDeleteEventArgs.cs
- PropertyDescriptorComparer.cs
- UriWriter.cs
- IsolatedStoragePermission.cs
- Point4DValueSerializer.cs
- AssemblyCollection.cs
- DictionaryBase.cs
- _IPv6Address.cs
- SQLDoubleStorage.cs
- ListViewTableCell.cs
- RegexCapture.cs
- FormsAuthenticationTicket.cs
- XmlSchemaCollection.cs
- TimeSpanSecondsConverter.cs
- ObjectDataSourceDisposingEventArgs.cs
- CheckBoxAutomationPeer.cs
- SafeBuffer.cs
- EncryptedKey.cs
- StylusPointProperties.cs
- UdpMessageProperty.cs
- PointF.cs
- Types.cs
- WebPartConnectionsCancelVerb.cs
- CodeCommentStatement.cs
- FtpWebResponse.cs
- BaseResourcesBuildProvider.cs
- ToolStripDropDownClosedEventArgs.cs
- ChannelManagerBase.cs
- RowCache.cs
- EndPoint.cs
- SqlSupersetValidator.cs
- XmlSignatureProperties.cs
- Parser.cs
- PerformanceCounterManager.cs
- HttpResponseWrapper.cs
- TextEffectResolver.cs
- ListBindingHelper.cs
- Track.cs
- Delegate.cs
- StopRoutingHandler.cs
- SQLRoleProvider.cs
- ISessionStateStore.cs