ASP.net alert problem c#

Posted 30 March 2011 - 03:12 AM

hi,,, the following is my code this is for my login page... in this i added bacground picture but when i check given usr name password if it is wrong it shows alert... but if alert appear my backround picture is not appearing.... how to solve this please any one help me... Thanks

Replies To: ASP.net alert problem c#

Re: ASP.net alert problem c#

Posted 30 March 2011 - 03:14 AM

hi,,, the following is my code this is for my login page... in this i added bacground picture but when i check given usr name password if it is wrong it shows alert... but if alert appear my backround picture is not appearing.... how to solve this please any one help me... Thanks

Re: ASP.net alert problem c#

Posted 01 April 2011 - 05:23 AM

Hi..
am using alert box in my asp.net login page... after i check username and password if it is wrong i have to show alert... but my problem is when i show alert my background picture disappears till alert closed...
to alert i used
ScriptManager.RegisterStartupScript(this.Page,this.GetType(),"Alert","alert('Enter the valid username & password')",true);

am adding background in <table background="url of the pic" cellspacing="0">