Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / DataPagerFieldItem.cs / 1305376 / 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. 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaSequence.cs
- HtmlTextArea.cs
- QueryCursorEventArgs.cs
- SchemeSettingElementCollection.cs
- ProcessThreadCollection.cs
- MultipartContentParser.cs
- HashMembershipCondition.cs
- SqlTypesSchemaImporter.cs
- CounterSet.cs
- StateMachine.cs
- PropertyValueUIItem.cs
- RoutedUICommand.cs
- OleDbStruct.cs
- MethodBody.cs
- WebPartPersonalization.cs
- DbConnectionPoolOptions.cs
- ManifestResourceInfo.cs
- indexingfiltermarshaler.cs
- CacheMode.cs
- CollectionConverter.cs
- FullTrustAssemblyCollection.cs
- QilChoice.cs
- DockAndAnchorLayout.cs
- DataMisalignedException.cs
- PlatformNotSupportedException.cs
- TreeViewHitTestInfo.cs
- RangeValidator.cs
- LineUtil.cs
- DrawItemEvent.cs
- WizardPanelChangingEventArgs.cs
- updateconfighost.cs
- ListControlActionList.cs
- DbConnectionStringCommon.cs
- OleDbFactory.cs
- ServiceHostFactory.cs
- SafeFileHandle.cs
- BinHexDecoder.cs
- ExpandCollapsePattern.cs
- InstanceDataCollection.cs
- HostingEnvironmentException.cs
- TextEditorTyping.cs
- WorkflowQueue.cs
- ContentPosition.cs
- QueryStringConverter.cs
- ReadWriteSpinLock.cs
- CompositeControl.cs
- SqlDataSourceStatusEventArgs.cs
- EntityCollection.cs
- InputMethodStateChangeEventArgs.cs
- ManagedWndProcTracker.cs
- ArrayTypeMismatchException.cs
- ContextMenu.cs
- FixedDocumentSequencePaginator.cs
- InputLangChangeRequestEvent.cs
- OdbcParameter.cs
- ProgressBarBrushConverter.cs
- OleDbError.cs
- WebResourceAttribute.cs
- RawMouseInputReport.cs
- ProtocolsSection.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- MultiAsyncResult.cs
- TCPClient.cs
- Bits.cs
- HttpHandlersSection.cs
- XmlQueryCardinality.cs
- FilterException.cs
- AutomationEvent.cs
- Membership.cs
- MenuEventArgs.cs
- UserUseLicenseDictionaryLoader.cs
- MarkupWriter.cs
- BamlReader.cs
- OperatingSystem.cs
- ShapeTypeface.cs
- Constant.cs
- ArrayMergeHelper.cs
- SafeRightsManagementPubHandle.cs
- CmsUtils.cs
- LifetimeServices.cs
- CompareInfo.cs
- WindowAutomationPeer.cs
- BoolLiteral.cs
- BamlBinaryReader.cs
- AutomationPeer.cs
- KnownAssembliesSet.cs
- QueryStringParameter.cs
- smtppermission.cs
- OletxVolatileEnlistment.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- GridView.cs
- FileDialogCustomPlace.cs
- BaseUriHelper.cs
- DesignOnlyAttribute.cs
- PathFigure.cs
- CasesDictionary.cs
- Row.cs
- TextStore.cs
- UntypedNullExpression.cs
- DataPager.cs