System.Web.UI.WebControls Namespace FormView Class
.NET Framework version 2.0
Occurs when any of the pager buttons in a FormView control is clicked, but after the page has changed.
[ VB ] Public Event PageIndexChanged As EventHandler [ C# ] public event EventHandler PageIndexChanged; [ C++ ] public: __event EventHandler* PageIndexChanged;
In [ JScript ], you can handle the events defined by a class, but you cannot define your own.
The PageIndexChanged event is raised whenever any of the buttons in the page selection element of a FormView control is clicked, but after the FormView handles the paging operation.
This allows you to provide an event-handling method that performs a custom routine, such as a custom paging operation, whenever this event occurs.
NOTE: This event is not raised when the PageIndex property is set programmatically.
FormView Members AllowPaging PageIndexChanging Specifying Paging Behavior in a FormView Control
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph