Binds a pager to the control. Shows a warning when the control contains no records.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static void BindPager(
	Pager pager,
	PagerUtility..::..PagerAction bindDelegate,
	Control pagedControl,
	Object dataSource,
	int pagerVirtualCount,
	Control warningControl
)
Visual Basic
Public Shared Sub BindPager ( 
	pager As Pager,
	bindDelegate As PagerUtility..::..PagerAction,
	pagedControl As Control,
	dataSource As Object,
	pagerVirtualCount As Integer,
	warningControl As Control
)
Visual C++
public:
static void BindPager(
	Pager^ pager, 
	PagerUtility..::..PagerAction^ bindDelegate, 
	Control^ pagedControl, 
	Object^ dataSource, 
	int pagerVirtualCount, 
	Control^ warningControl
)
F#
static member BindPager : 
        pager : Pager * 
        bindDelegate : PagerUtility..::..PagerAction * 
        pagedControl : Control * 
        dataSource : Object * 
        pagerVirtualCount : int * 
        warningControl : Control -> unit 

Parameters

pager
Type: Pager
Pager
bindDelegate
Type: MonoSoftware.MonoX.Utilities..::..PagerUtility..::..PagerAction
Delegate that points to the function that performs the binding
pagedControl
Type: System.Web.UI..::..Control
Paged control
dataSource
Type: System..::..Object
Data source
pagerVirtualCount
Type: System..::..Int32
Virtual count for the pager
warningControl
Type: System.Web.UI..::..Control
Warning control

See Also