Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ui / UpdatePanelTrigger.cs / 1 / UpdatePanelTrigger.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) ] public abstract class UpdatePanelTrigger { #if DEBUG private bool _initialized; #endif private UpdatePanel _owner; protected UpdatePanelTrigger() { } [Browsable(false)] public UpdatePanel Owner { get { return _owner; } } protected internal abstract bool HasTriggered(); protected internal virtual void Initialize() { #if DEBUG Debug.Assert(!_initialized, "The trigger has already been initialized"); _initialized = true; #endif } internal void SetOwner(UpdatePanel owner) { _owner = owner; } } } // 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.ComponentModel; using System.Diagnostics; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) ] public abstract class UpdatePanelTrigger { #if DEBUG private bool _initialized; #endif private UpdatePanel _owner; protected UpdatePanelTrigger() { } [Browsable(false)] public UpdatePanel Owner { get { return _owner; } } protected internal abstract bool HasTriggered(); protected internal virtual void Initialize() { #if DEBUG Debug.Assert(!_initialized, "The trigger has already been initialized"); _initialized = true; #endif } internal void SetOwner(UpdatePanel owner) { _owner = owner; } } } // 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
- FixedBufferAttribute.cs
- AutoSizeComboBox.cs
- LinkDescriptor.cs
- OperationFormatStyle.cs
- Control.cs
- BamlLocalizableResource.cs
- FloatUtil.cs
- StrokeCollectionDefaultValueFactory.cs
- TextDocumentView.cs
- AsyncResult.cs
- ByteStreamMessageEncoder.cs
- MulticastOption.cs
- UnmanagedMemoryStreamWrapper.cs
- VectorCollection.cs
- DateTimeConstantAttribute.cs
- OdbcUtils.cs
- OLEDB_Enum.cs
- handlecollector.cs
- ParseChildrenAsPropertiesAttribute.cs
- CriticalHandle.cs
- WindowsFont.cs
- log.cs
- IntSumAggregationOperator.cs
- diagnosticsswitches.cs
- TypedDataSourceCodeGenerator.cs
- SortKey.cs
- Matrix.cs
- Baml2006KnownTypes.cs
- TypeToken.cs
- PasswordRecovery.cs
- EntityException.cs
- SortDescriptionCollection.cs
- MachineKeyConverter.cs
- TabControl.cs
- XmlPreloadedResolver.cs
- WindowsPrincipal.cs
- CredentialCache.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- StringOutput.cs
- ReferenceList.cs
- CustomAttributeBuilder.cs
- DefaultProxySection.cs
- sqlmetadatafactory.cs
- FamilyMapCollection.cs
- mediaclock.cs
- RotateTransform.cs
- LinearKeyFrames.cs
- Events.cs
- BaseTemplateBuildProvider.cs
- CodeSnippetStatement.cs
- TypeNameConverter.cs
- TypeToTreeConverter.cs
- ReaderWriterLockWrapper.cs
- ComplexLine.cs
- ValidationSummary.cs
- BamlBinaryReader.cs
- SessionPageStatePersister.cs
- HiddenFieldDesigner.cs
- GatewayDefinition.cs
- ValidationRuleCollection.cs
- RelationshipType.cs
- Panel.cs
- CodeIdentifier.cs
- CustomAttributeBuilder.cs
- BoolExpressionVisitors.cs
- ThemeConfigurationDialog.cs
- ChangeDirector.cs
- ResourceCategoryAttribute.cs
- ISAPIApplicationHost.cs
- MachineKeyValidationConverter.cs
- Timeline.cs
- ScriptHandlerFactory.cs
- IconConverter.cs
- CompiledRegexRunnerFactory.cs
- DataDocumentXPathNavigator.cs
- WindowsNonControl.cs
- CharacterMetricsDictionary.cs
- SqlDelegatedTransaction.cs
- TextEditorSpelling.cs
- Marshal.cs
- ValuePattern.cs
- RootBuilder.cs
- ListSurrogate.cs
- httpserverutility.cs
- LifetimeServices.cs
- DesignerCapabilities.cs
- AnimatedTypeHelpers.cs
- Encoding.cs
- XmlCharType.cs
- OpCodes.cs
- Propagator.cs
- AuthorizationRuleCollection.cs
- DrawingVisual.cs
- SiteMapNodeItem.cs
- WinEventTracker.cs
- Opcode.cs
- Compiler.cs
- XhtmlConformanceSection.cs
- ClipboardProcessor.cs
- SendKeys.cs