ComponentOne Dialog for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1GridView Class / PageIndexChanging Event

In This Topic
    PageIndexChanging Event
    In This Topic
    Occurs when one of the pager buttons is clicked, but before the C1GridView control handles the paging operation.
    Syntax
    'Declaration
     
    Public Event PageIndexChanging As C1GridViewPageEventHandler
    public event C1GridViewPageEventHandler PageIndexChanging
    Event Data

    The event handler receives an argument of type C1GridViewPageEventArgs containing data related to this event. The following C1GridViewPageEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets the index of the new page.  
    Remarks
    To cancel the operation set the Cancel property of the C1GridViewPageEventArgs object to true. You must implement this event if the grid is not bound to a DataSource control.
    See Also