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
- EntitySetBaseCollection.cs
- BeginStoryboard.cs
- SqlRowUpdatingEvent.cs
- RowUpdatingEventArgs.cs
- UmAlQuraCalendar.cs
- KeysConverter.cs
- storepermission.cs
- WebBrowserNavigatedEventHandler.cs
- ObfuscateAssemblyAttribute.cs
- QueryAccessibilityHelpEvent.cs
- Function.cs
- SecurityDocument.cs
- ExtractorMetadata.cs
- Number.cs
- SchemaMapping.cs
- DrawListViewItemEventArgs.cs
- EventItfInfo.cs
- CollectionChangeEventArgs.cs
- WorkflowExecutor.cs
- TabControl.cs
- OpCodes.cs
- NavigationHelper.cs
- ThreadExceptionEvent.cs
- HttpCookieCollection.cs
- WebPartCancelEventArgs.cs
- ThicknessAnimationBase.cs
- SqlConnectionFactory.cs
- BamlLocalizableResourceKey.cs
- ViewKeyConstraint.cs
- DataKeyArray.cs
- RegexGroup.cs
- StrokeNode.cs
- ManagedWndProcTracker.cs
- XmlJsonReader.cs
- TimerElapsedEvenArgs.cs
- Facet.cs
- ImageBrush.cs
- SoapTypeAttribute.cs
- TextChangedEventArgs.cs
- storepermissionattribute.cs
- KeyFrames.cs
- SystemIPInterfaceStatistics.cs
- QuotedStringWriteStateInfo.cs
- AnimationException.cs
- DataGridViewSelectedRowCollection.cs
- TextRangeProviderWrapper.cs
- SqlRecordBuffer.cs
- TextCharacters.cs
- OleDbRowUpdatedEvent.cs
- DetailsViewPagerRow.cs
- SecurityDescriptor.cs
- HtmlValidationSummaryAdapter.cs
- DrawItemEvent.cs
- RelatedView.cs
- RtfFormatStack.cs
- CopyCodeAction.cs
- TextServicesDisplayAttribute.cs
- NameValuePair.cs
- CodeCommentStatement.cs
- ConnectionStringsExpressionBuilder.cs
- UInt64.cs
- GridViewRowPresenter.cs
- TextServicesManager.cs
- BinaryCommonClasses.cs
- LogArchiveSnapshot.cs
- GreaterThan.cs
- AuthenticationModuleElementCollection.cs
- CurrentChangedEventManager.cs
- InteropBitmapSource.cs
- LinqToSqlWrapper.cs
- DataGridCheckBoxColumn.cs
- DesignRelation.cs
- HashMembershipCondition.cs
- ConfigXmlCDataSection.cs
- TreeNodeStyleCollection.cs
- BamlCollectionHolder.cs
- TemplateKey.cs
- BitmapEffectState.cs
- NameNode.cs
- CssClassPropertyAttribute.cs
- _FtpControlStream.cs
- ToolStripMenuItemDesigner.cs
- DataGridViewColumnCollectionEditor.cs
- StyleCollection.cs
- MethodBody.cs
- FrameworkContextData.cs
- Collection.cs
- HScrollBar.cs
- Events.cs
- ConnectionManagementSection.cs
- HtmlFormWrapper.cs
- TreeNodeConverter.cs
- ToolStripSplitStackLayout.cs
- AnonymousIdentificationModule.cs
- FontStyleConverter.cs
- TemplateBaseAction.cs
- FileCodeGroup.cs
- StringAnimationBase.cs
- WebBrowserPermission.cs
- NotSupportedException.cs