Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / DataPagerFieldItem.cs / 1 / DataPagerFieldItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections; using System.Diagnostics.CodeAnalysis; using System.Web; using System.Web.UI; namespace System.Web.UI.WebControls { // This class implements INonBindingContainer to allow binding statements on TemplatePagerField // to look like Container.TotalRowCount rather than Container.Pager.TotalRowCount. [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataPagerFieldItem : Control, INonBindingContainer { private DataPagerField _field; private DataPager _pager; public DataPagerFieldItem(DataPagerField field, DataPager pager) { _field = field; _pager = pager; } public DataPager Pager { get { return _pager; } } public DataPagerField PagerField { get { return _field; } } [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "1#")] protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is CommandEventArgs) { DataPagerFieldCommandEventArgs args = new DataPagerFieldCommandEventArgs(this, source, (CommandEventArgs)e); RaiseBubbleEvent(this, args); return true; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalBufferOverflowException.cs
- InternalCache.cs
- ObservableDictionary.cs
- PropertyPushdownHelper.cs
- ModuleElement.cs
- OperationContextScope.cs
- SpotLight.cs
- CatalogPartCollection.cs
- BackStopAuthenticationModule.cs
- ProcessThreadCollection.cs
- Msec.cs
- RouteValueDictionary.cs
- IdentitySection.cs
- RangeBase.cs
- RC2CryptoServiceProvider.cs
- Command.cs
- OrderedDictionaryStateHelper.cs
- XPathQueryGenerator.cs
- MessageSecurityOverTcpElement.cs
- ConfigXmlComment.cs
- XmlDataSourceView.cs
- RemotingConfigParser.cs
- SQLSingle.cs
- DataControlField.cs
- FamilyTypefaceCollection.cs
- Merger.cs
- ControlAdapter.cs
- Vector3DKeyFrameCollection.cs
- PackageStore.cs
- BuildManager.cs
- TypeInformation.cs
- AddInAdapter.cs
- EncodingStreamWrapper.cs
- WebEvents.cs
- AsyncPostBackErrorEventArgs.cs
- HttpApplication.cs
- GradientBrush.cs
- QueryRelOp.cs
- GatewayDefinition.cs
- X509Certificate2.cs
- VSWCFServiceContractGenerator.cs
- CommandID.cs
- UIPermission.cs
- MenuBase.cs
- StorageComplexPropertyMapping.cs
- GPPOINT.cs
- SoapSchemaExporter.cs
- DiscoveryDefaults.cs
- CodeIdentifier.cs
- XmlWrappingReader.cs
- GradientBrush.cs
- TableLayoutStyle.cs
- Cursor.cs
- ForAllOperator.cs
- OrderedDictionary.cs
- BitmapEffectGeneralTransform.cs
- TagNameToTypeMapper.cs
- PropertyDescriptorComparer.cs
- AttachmentService.cs
- ImmutableObjectAttribute.cs
- LicenseContext.cs
- Translator.cs
- StringAttributeCollection.cs
- SqlVersion.cs
- RichTextBoxAutomationPeer.cs
- SourceInterpreter.cs
- EmptyTextWriter.cs
- TextBox.cs
- Point3DAnimation.cs
- ProfileManager.cs
- ContextBase.cs
- EqualityComparer.cs
- DataSourceXmlAttributeAttribute.cs
- RegexCode.cs
- WebBrowserNavigatingEventHandler.cs
- ResXResourceReader.cs
- TextFindEngine.cs
- MasterPageBuildProvider.cs
- DbDataRecord.cs
- AnimationClock.cs
- TextEditorMouse.cs
- IList.cs
- LinqExpressionNormalizer.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- RightsManagementResourceHelper.cs
- DeviceContext2.cs
- TypefaceMap.cs
- DesignDataSource.cs
- RelationshipWrapper.cs
- ExpressionEditorAttribute.cs
- SafeCancelMibChangeNotify.cs
- CounterSet.cs
- RuleInfoComparer.cs
- HttpValueCollection.cs
- SocketConnection.cs
- ExplicitDiscriminatorMap.cs
- CapabilitiesUse.cs
- ElementHostAutomationPeer.cs
- DataGridViewColumn.cs
- BindingFormattingDialog.cs