title: How to show MessageBox in Asp.Net based on conditions given in the Server side code?
body: <p>I have found so many questions in Stack Overflow based on "Displaying Message Box in Asp.Net".</p>
  
  <p>But is it possible to check the condition in the button click event and to display MessageBox if the Condition is true? How?</p>