Message Box in ASP.NET hindering the layout -


i displaying message in asp.net code-behind using this:

response.write("<script>alert('hello')</script>"); 

when ok button pressed on message box, whole layout of web page shifts little towards right direction. wrong? else added?

  private void alert(string msg)     {        response.write("<script language = 'javascript'>window.alert('" + msg + "')</script>");      } 

try previos method ..

if u want cool messages try following link:

produce "toast" messages stackoverflow


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -