Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- pingexception.cs
- DeclaredTypeElementCollection.cs
- Codec.cs
- XmlDataCollection.cs
- PrimitiveCodeDomSerializer.cs
- EventWaitHandle.cs
- StringResourceManager.cs
- HttpRuntime.cs
- FunctionCommandText.cs
- BindingElementCollection.cs
- InstanceHandle.cs
- OdbcInfoMessageEvent.cs
- DataSourceConverter.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ScalarRestriction.cs
- PropertyTabAttribute.cs
- DynamicDocumentPaginator.cs
- XmlReflectionMember.cs
- SerializationEventsCache.cs
- DeviceSpecificDialogCachedState.cs
- ThreadStaticAttribute.cs
- GridViewRowPresenterBase.cs
- ArrayMergeHelper.cs
- sqlnorm.cs
- CompiledRegexRunner.cs
- SqlCacheDependency.cs
- ListViewItemMouseHoverEvent.cs
- CompositeCollection.cs
- LinearQuaternionKeyFrame.cs
- ServiceOperationHelpers.cs
- CatalogPartCollection.cs
- SQLBytesStorage.cs
- ToolStripPanelSelectionGlyph.cs
- ReferentialConstraint.cs
- Logging.cs
- Message.cs
- ArraySortHelper.cs
- GlobalProxySelection.cs
- TextBox.cs
- ContentPosition.cs
- Table.cs
- IndentedWriter.cs
- SQLDecimalStorage.cs
- WebPartDisplayMode.cs
- RemoteArgument.cs
- EdmItemCollection.cs
- SingleStorage.cs
- Message.cs
- RelatedEnd.cs
- IPAddress.cs
- CoTaskMemHandle.cs
- WindowsListViewSubItem.cs
- Events.cs
- WindowsListViewItemCheckBox.cs
- DownloadProgressEventArgs.cs
- DataGridPagerStyle.cs
- HttpPostedFileBase.cs
- ExtensibleClassFactory.cs
- SerializableAttribute.cs
- InvariantComparer.cs
- IdentityHolder.cs
- PageParser.cs
- RangeContentEnumerator.cs
- EntityDataSourceContextCreatingEventArgs.cs
- BulletChrome.cs
- SmiGettersStream.cs
- StackBuilderSink.cs
- IdentitySection.cs
- SwitchAttribute.cs
- HtmlElementEventArgs.cs
- TextDecorationLocationValidation.cs
- TypeDependencyAttribute.cs
- TrackingExtract.cs
- UserUseLicenseDictionaryLoader.cs
- AttachedAnnotation.cs
- SqlDataSourceFilteringEventArgs.cs
- AssertSection.cs
- TrustLevelCollection.cs
- Misc.cs
- TemplateColumn.cs
- DeferredSelectedIndexReference.cs
- DataColumnChangeEvent.cs
- MetadataPropertyvalue.cs
- Native.cs
- NavigationFailedEventArgs.cs
- PropertyMetadata.cs
- ErrorHandler.cs
- SqlInternalConnection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ServiceHttpModule.cs
- WebEvents.cs
- ArcSegment.cs
- SetterBase.cs
- DecimalStorage.cs
- IERequestCache.cs
- XmlRawWriter.cs
- Model3D.cs
- SqlSupersetValidator.cs
- ContentDesigner.cs
- _ShellExpression.cs