1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="FormViewPageEventHandler" FullName="System.Web.UI.WebControls.FormViewPageEventHandler">
3  <TypeSignature Language="C#" Value="public delegate void FormViewPageEventHandler(object sender, FormViewPageEventArgs e);" />
4  <AssemblyInfo>
5    <AssemblyName>System.Web</AssemblyName>
6    <AssemblyVersion>2.0.0.0</AssemblyVersion>
7  </AssemblyInfo>
8  <Base>
9    <BaseTypeName>System.Delegate</BaseTypeName>
10  </Base>
11  <Parameters>
12    <Parameter Name="sender" Type="System.Object" />
13    <Parameter Name="e" Type="System.Web.UI.WebControls.FormViewPageEventArgs" />
14  </Parameters>
15  <ReturnValue>
16    <ReturnType>System.Void</ReturnType>
17  </ReturnValue>
18  <Docs>
19    <param name="sender">To be added.</param>
20    <param name="e">To be added.</param>
21    <since version=".NET 2.0" />
22    <remarks>
23      <attribution license="cc4" from="Microsoft" modified="false" />
24      <para>The <see cref="T:System.Web.UI.WebControls.FormView" /> control raises the <see cref="E:System.Web.UI.WebControls.FormView.PageIndexChanging" /> event when a pager button (a button with its CommandName property set to "Page") within the control is clicked, but before the <see cref="T:System.Web.UI.WebControls.FormView" /> control handles the paging operation. This allows you to provide an event-handling method that performs a custom routine, such as canceling the paging operation, whenever this event occurs.</para>
25      <block subset="none" type="note">
26        <para>Pager buttons are usually located in the pager row of a <see cref="T:System.Web.UI.WebControls.FormView" /> control.</para>
27      </block>
28      <para>When you create a <see cref="T:System.Web.UI.WebControls.FormViewPageEventHandler" /> delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see <format type="text/html"><a href="d98fd58b-fa4f-4598-8378-addf4355a115">Events and Delegates</a></format>.</para>
29    </remarks>
30    <summary>
31      <attribution license="cc4" from="Microsoft" modified="false" />
32      <para>Represents the method that handles the <see cref="E:System.Web.UI.WebControls.FormView.PageIndexChanging" /> event of a <see cref="T:System.Web.UI.WebControls.FormView" /> control.</para>
33    </summary>
34  </Docs>
35</Type>