Skip to main content
A newer version of this page is available. .

ASPxClientButton.DoClick Method

Simulates a mouse click action on the button control.

Declaration

DoClick(): void

Remarks

Calling this method is equivalent to a user clicking the button control.

Example

This example illustrates how to emulate the Tab key using the Enter key.

View Example

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page {
    protected void Page_Load (object sender, EventArgs e) {

    }
    protected void btn_Click (object sender, EventArgs e) {

    }
}
See Also