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
- HyperLinkColumn.cs
- AdCreatedEventArgs.cs
- MessageBox.cs
- BamlLocalizationDictionary.cs
- TagPrefixAttribute.cs
- DocumentNUp.cs
- Rect3D.cs
- StringComparer.cs
- HtmlInputText.cs
- StylusDownEventArgs.cs
- TransactionInformation.cs
- SafeFileMappingHandle.cs
- ApplicationException.cs
- DisposableCollectionWrapper.cs
- DecimalKeyFrameCollection.cs
- SqlStream.cs
- QilReference.cs
- ReadOnlyDataSourceView.cs
- SqlProfileProvider.cs
- WebZone.cs
- SeekableReadStream.cs
- VisualStyleTypesAndProperties.cs
- FigureHelper.cs
- EnvelopedPkcs7.cs
- DataRelation.cs
- BooleanAnimationBase.cs
- GraphicsPath.cs
- DeviceSpecificChoice.cs
- ObjectCacheHost.cs
- coordinatorfactory.cs
- EntityAdapter.cs
- DataTableCollection.cs
- BinaryCommonClasses.cs
- HostedHttpRequestAsyncResult.cs
- CancelEventArgs.cs
- Opcode.cs
- InvalidateEvent.cs
- Lease.cs
- MetadataSet.cs
- RuntimeResourceSet.cs
- ResizeGrip.cs
- TrackingProfileCache.cs
- FaultFormatter.cs
- SqlClientWrapperSmiStream.cs
- EntityContainerEmitter.cs
- TagMapInfo.cs
- HttpException.cs
- AsyncPostBackErrorEventArgs.cs
- SvcMapFileSerializer.cs
- ErrorWrapper.cs
- EntityContainer.cs
- Memoizer.cs
- AudioLevelUpdatedEventArgs.cs
- Win32.cs
- EndpointNotFoundException.cs
- PassportAuthentication.cs
- FloaterBaseParaClient.cs
- DynamicPropertyReader.cs
- IPAddress.cs
- GiveFeedbackEvent.cs
- SchemaSetCompiler.cs
- Repeater.cs
- UserInitiatedNavigationPermission.cs
- SqlDataSourceEnumerator.cs
- SystemTcpStatistics.cs
- OrthographicCamera.cs
- ReadingWritingEntityEventArgs.cs
- PageThemeParser.cs
- ScriptReferenceEventArgs.cs
- SettingsBase.cs
- SQLResource.cs
- SimpleRecyclingCache.cs
- ToolStripItemClickedEventArgs.cs
- OutOfMemoryException.cs
- PointCollectionValueSerializer.cs
- DataRow.cs
- IntegerValidator.cs
- UrlPath.cs
- IFlowDocumentViewer.cs
- ResourceWriter.cs
- DurableInstance.cs
- ClientTargetCollection.cs
- Debug.cs
- StackOverflowException.cs
- RichTextBox.cs
- XmlSchemaException.cs
- ProfilePropertySettings.cs
- TextLineBreak.cs
- CompilationSection.cs
- SqlClientWrapperSmiStreamChars.cs
- oledbmetadatacollectionnames.cs
- HMACSHA256.cs
- XmlSchemaResource.cs
- KerberosSecurityTokenAuthenticator.cs
- WSTrustFeb2005.cs
- TypeElementCollection.cs
- XmlIterators.cs
- SpinLock.cs
- BindStream.cs
- ServiceProviders.cs