NextPreviousPagerField.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 NextPreviousPagerField control 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 that is used by the DataPager.OnBubbleEvent method. It is called to handle events that occur in the NextPreviousPagerField object when one of the buttons inside the control is clicked.
The HandleEvent method examines the CommandName property of the CommandEventArgs object that is contained in the e
parameter, and then performs the appropriate action.
The following table lists the buttons that are provided by the NextPreviousPagerField control and the action that is performed when the button is clicked.
Button | CommandName value | Action |
---|---|---|
First page | DataControlCommands.FirstPageCommandArgument | Navigates to the first page of data. |
Previous page | DataControlCommands.PreviousPageCommandArgument | Navigates to the previous page of data. |
Next page | DataControlCommands.NextPageCommandArgument | Navigates to the next page of data. |
Last page | DataControlCommands.LastPageCommandArgument | Navigates to the last page of data. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기