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 / 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
- FormatSettings.cs
- DataObjectMethodAttribute.cs
- ApplicationSecurityManager.cs
- DesignRelationCollection.cs
- NullableBoolConverter.cs
- HandlerFactoryWrapper.cs
- BufferedGraphicsContext.cs
- Vector3DAnimationUsingKeyFrames.cs
- SerializationEventsCache.cs
- DataGridRow.cs
- TextPenaltyModule.cs
- SelectionProcessor.cs
- ToolStripContainerDesigner.cs
- ContainerControl.cs
- ButtonBaseAutomationPeer.cs
- NumericExpr.cs
- HttpCachePolicyElement.cs
- ErrorWebPart.cs
- Tuple.cs
- ProcessThreadCollection.cs
- EdgeProfileValidation.cs
- DataGridCheckBoxColumn.cs
- ComponentDispatcher.cs
- NotCondition.cs
- KeyTimeConverter.cs
- XmlWriterDelegator.cs
- ToolStripSeparator.cs
- SQLRoleProvider.cs
- LostFocusEventManager.cs
- RowType.cs
- Timer.cs
- DocumentPageTextView.cs
- HtmlInputControl.cs
- KeyInterop.cs
- ResourceAttributes.cs
- InstanceKey.cs
- PeerCollaboration.cs
- Blend.cs
- FunctionImportMapping.cs
- OdbcConnectionString.cs
- ExpressionPrefixAttribute.cs
- DataServiceHostWrapper.cs
- ToolStripDropDownButton.cs
- MonthChangedEventArgs.cs
- SamlAction.cs
- DataFormats.cs
- DataGridViewSelectedCellCollection.cs
- XmlNullResolver.cs
- HttpPostClientProtocol.cs
- SerialErrors.cs
- DefinitionUpdate.cs
- KnownTypesProvider.cs
- ObjectReaderCompiler.cs
- UnsafeNativeMethods.cs
- CroppedBitmap.cs
- xsdvalidator.cs
- recordstatescratchpad.cs
- FontSizeConverter.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- ComponentResourceKeyConverter.cs
- AuthorizationPolicyTypeElementCollection.cs
- Reference.cs
- WebPartDisplayModeCollection.cs
- CharKeyFrameCollection.cs
- SqlMetaData.cs
- PrintDialog.cs
- EdmItemCollection.cs
- Wildcard.cs
- DSASignatureFormatter.cs
- MemberDomainMap.cs
- SecurityChannelFactory.cs
- WebServiceMethodData.cs
- MimeParameter.cs
- ConsumerConnectionPoint.cs
- TextBoxDesigner.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- NgenServicingAttributes.cs
- BrowserCapabilitiesCompiler.cs
- APCustomTypeDescriptor.cs
- sqlnorm.cs
- TypeConverterBase.cs
- shaperfactory.cs
- ResolveCompletedEventArgs.cs
- ImageBrush.cs
- PeerTransportSecurityElement.cs
- GPRECTF.cs
- PrivateFontCollection.cs
- SecuritySessionServerSettings.cs
- NamespaceInfo.cs
- ComAwareEventInfo.cs
- CompilerError.cs
- ReaderContextStackData.cs
- IRCollection.cs
- SmiEventSink.cs
- ConstructorBuilder.cs
- RowParagraph.cs
- DataGridViewImageCell.cs
- SingleAnimationBase.cs
- AlphabetConverter.cs
- followingquery.cs