The JavaScript Alert message box can also be attached to an ASP.Net LinkButton control using OnClientClick property that enables you to specify the client side script that you want to execute before submitting the form data to the server. The "alert" is a javascript method that pop-ups a message box when user hits the linkbutton control placed on the web page.
