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
- ServicePoint.cs
- WebUtil.cs
- BStrWrapper.cs
- DisposableCollectionWrapper.cs
- PhoneCall.cs
- HtmlElementEventArgs.cs
- XmlCDATASection.cs
- AppSettingsReader.cs
- ContentElement.cs
- ExpressionBuilder.cs
- TableLayoutSettings.cs
- MouseGestureConverter.cs
- DataGridViewDataConnection.cs
- OrderablePartitioner.cs
- TextEndOfParagraph.cs
- odbcmetadatafactory.cs
- xsdvalidator.cs
- DataGridViewCellEventArgs.cs
- SwitchLevelAttribute.cs
- XmlSchemaSimpleContentExtension.cs
- DesignerTransaction.cs
- DeadCharTextComposition.cs
- DynamicDataManager.cs
- InternalMappingException.cs
- PrimitiveCodeDomSerializer.cs
- AbandonedMutexException.cs
- ListViewSortEventArgs.cs
- GridViewColumn.cs
- Int64Converter.cs
- TrackingDataItemValue.cs
- EntityDataSourceValidationException.cs
- ObjectDataSourceEventArgs.cs
- XmlNodeWriter.cs
- Link.cs
- sqlinternaltransaction.cs
- FileEnumerator.cs
- ImageListStreamer.cs
- RoleBoolean.cs
- HttpVersion.cs
- Track.cs
- DebugView.cs
- CodeValidator.cs
- DataServiceCollectionOfT.cs
- ContentPresenter.cs
- SortQuery.cs
- EntityDesignerDataSourceView.cs
- MultipartContentParser.cs
- sqlpipe.cs
- AlignmentYValidation.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- FixedDSBuilder.cs
- PlacementWorkspace.cs
- ExtentJoinTreeNode.cs
- TextModifierScope.cs
- ClipboardProcessor.cs
- Rfc2898DeriveBytes.cs
- ResourceExpressionEditor.cs
- BamlTreeNode.cs
- TextServicesHost.cs
- GeneralTransform2DTo3DTo2D.cs
- ListInitExpression.cs
- FormatStringEditor.cs
- WebScriptEnablingBehavior.cs
- ControlDesigner.cs
- ProviderConnectionPoint.cs
- TypeUnloadedException.cs
- DtrList.cs
- FlowDocumentScrollViewer.cs
- TagPrefixInfo.cs
- LoginName.cs
- TreeNodeMouseHoverEvent.cs
- XmlAtomicValue.cs
- KoreanLunisolarCalendar.cs
- Queue.cs
- WindowsListViewItemCheckBox.cs
- PointLightBase.cs
- RegionData.cs
- DbProviderFactoriesConfigurationHandler.cs
- parserscommon.cs
- PageFunction.cs
- updateconfighost.cs
- _UriTypeConverter.cs
- RuntimeHelpers.cs
- EditorPartChrome.cs
- WindowsListViewItem.cs
- CommandPlan.cs
- UncommonField.cs
- OpCellTreeNode.cs
- HtmlInputText.cs
- CacheDependency.cs
- MSAANativeProvider.cs
- SecurityDocument.cs
- ListViewContainer.cs
- EnvironmentPermission.cs
- ContextMenuStrip.cs
- Application.cs
- CodeEntryPointMethod.cs
- XhtmlConformanceSection.cs
- Divide.cs
- EncryptedPackage.cs