In asp.net windows application message box can appear but in webapplication its not application so
in that we have to use javascript
all thing must be in script tag
function confirm()
{
if (confirm ==true)
else
return false;
}
alert('Hello')