alert('Invoking from the server side code.');
- In the code behind file of the .aspx page, add the following line of code in the page load function:
private void Page_Load(object sender, System.EventArgs e)
Now, compile the project and run it. Clicking the button on the page, you can see the message box displayed.