TemplatePagerField.HandleEvent(CommandEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles events that occur in the TemplatePagerField object and performs the appropriate action.
public:
override void HandleEvent(System::Web::UI::WebControls::CommandEventArgs ^ e);
public override void HandleEvent (System.Web.UI.WebControls.CommandEventArgs e);
override this.HandleEvent : System.Web.UI.WebControls.CommandEventArgs -> unit
Public Overrides Sub HandleEvent (e As CommandEventArgs)
Parameters
The event data.
Remarks
The HandleEvent method is a helper method. It is used by the DataPager.OnBubbleEvent method to handle events that occur in the TemplatePagerField object when a button inside the control is clicked.
The HandleEvent method invokes the OnPagerCommand method and examines the DataPagerCommandEventArgs.NewStartRowIndex property. If DataPagerCommandEventArgs.NewStartRowIndex has changed, this method invokes the DataPager.SetPageProperties method to update the page properties of the DataPager control.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για