Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ui / RegisteredDisposeScript.cs / 1 / RegisteredDisposeScript.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System.Diagnostics;
using System.Security.Permissions;
[
AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
]
public sealed class RegisteredDisposeScript {
private Control _control;
private UpdatePanel _parentUpdatePanel;
private string _script;
internal RegisteredDisposeScript(Control control, string disposeScript, UpdatePanel parentUpdatePanel) {
Debug.Assert(control != null);
Debug.Assert(disposeScript != null);
Debug.Assert(parentUpdatePanel != null);
_control = control;
_script = disposeScript;
_parentUpdatePanel = parentUpdatePanel;
}
public Control Control {
get {
return _control;
}
}
public string Script {
get {
return _script;
}
}
internal UpdatePanel ParentUpdatePanel {
get {
return _parentUpdatePanel;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI {
using System.Diagnostics;
using System.Security.Permissions;
[
AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal),
]
public sealed class RegisteredDisposeScript {
private Control _control;
private UpdatePanel _parentUpdatePanel;
private string _script;
internal RegisteredDisposeScript(Control control, string disposeScript, UpdatePanel parentUpdatePanel) {
Debug.Assert(control != null);
Debug.Assert(disposeScript != null);
Debug.Assert(parentUpdatePanel != null);
_control = control;
_script = disposeScript;
_parentUpdatePanel = parentUpdatePanel;
}
public Control Control {
get {
return _control;
}
}
public string Script {
get {
return _script;
}
}
internal UpdatePanel ParentUpdatePanel {
get {
return _parentUpdatePanel;
}
}
}
}
// 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
- GeneralTransform2DTo3D.cs
- HMACSHA1.cs
- DataListItemEventArgs.cs
- XNodeNavigator.cs
- SurrogateSelector.cs
- FunctionQuery.cs
- OneOfElement.cs
- XmlMapping.cs
- Hyperlink.cs
- DbFunctionCommandTree.cs
- SynchronizedKeyedCollection.cs
- WebControlsSection.cs
- DataServiceException.cs
- DocumentApplicationJournalEntry.cs
- CookielessHelper.cs
- NavigateUrlConverter.cs
- X509SecurityTokenAuthenticator.cs
- MetadataResolver.cs
- IDQuery.cs
- BinaryUtilClasses.cs
- ClientConfigurationSystem.cs
- WindowsPen.cs
- NegotiationTokenAuthenticatorStateCache.cs
- TextFindEngine.cs
- UrlPath.cs
- NativeMethods.cs
- ZoneLinkButton.cs
- SafeRightsManagementEnvironmentHandle.cs
- KnownIds.cs
- GiveFeedbackEventArgs.cs
- MessageQueue.cs
- CodeRemoveEventStatement.cs
- HttpRequestCacheValidator.cs
- ScheduleChanges.cs
- OleDbInfoMessageEvent.cs
- TemplateControl.cs
- IndependentlyAnimatedPropertyMetadata.cs
- KnownBoxes.cs
- WindowsFormsSectionHandler.cs
- DataGridAddNewRow.cs
- baseaxisquery.cs
- AdPostCacheSubstitution.cs
- XmlLanguage.cs
- TextShapeableCharacters.cs
- BindingNavigator.cs
- SafeJobHandle.cs
- RowSpanVector.cs
- HtmlImage.cs
- UndoManager.cs
- AvTraceFormat.cs
- VoiceSynthesis.cs
- ZoomPercentageConverter.cs
- PathFigureCollectionConverter.cs
- X509CertificateClaimSet.cs
- ReflectPropertyDescriptor.cs
- XPathNodeHelper.cs
- SiteMapHierarchicalDataSourceView.cs
- ToolboxItemCollection.cs
- SiteMapProvider.cs
- webproxy.cs
- ToolboxItemCollection.cs
- sqlnorm.cs
- DynamicRenderer.cs
- IPAddressCollection.cs
- ModuleBuilder.cs
- ConstructorExpr.cs
- DPTypeDescriptorContext.cs
- FreezableCollection.cs
- SqlUDTStorage.cs
- Speller.cs
- NumberFormatInfo.cs
- log.cs
- ListViewContainer.cs
- RadioButtonPopupAdapter.cs
- InternalException.cs
- OdbcError.cs
- JsonQueryStringConverter.cs
- CustomGrammar.cs
- COM2ExtendedBrowsingHandler.cs
- TemplateBuilder.cs
- DockingAttribute.cs
- BuildDependencySet.cs
- COAUTHINFO.cs
- LowerCaseStringConverter.cs
- DbProviderFactory.cs
- RectKeyFrameCollection.cs
- XmlC14NWriter.cs
- DropDownHolder.cs
- ExpressionBuilderCollection.cs
- XmlElementList.cs
- SelectedDatesCollection.cs
- ChangeProcessor.cs
- MouseGesture.cs
- DesignConnectionCollection.cs
- DeferredElementTreeState.cs
- CanonicalXml.cs
- DbConnectionPoolGroupProviderInfo.cs
- ACE.cs
- WmlPhoneCallAdapter.cs
- DockingAttribute.cs