Hi, i have a asp .net page. there is a button in the page and it validates user account information and logins to system. and i design a modalpopup and it works like a messagebox. i want to show the modalpopup if the user informations is not valid. how can i do. now modalpopup opens every click event. thanks for help.