Click here to Skip to main content
12,292,669 members (66,560 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as

Stats

19.5K views
4 bookmarked
Posted

ASP.NET web page goes blank with JavaScript alert()

, 17 Oct 2011 CPOL
How to fix the issues when an ASP.NET web page goes blank with JavaScript alert() .

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

14 Oct 2011
thatraja
Here is a simpler version. Using the overload method[^](parameter addScriptTags), you can reduce the code.private void ShowMessage(string Message){ if (!ClientScript.IsClientScriptBlockRegistered("MyMessage")) { ClientScript.RegisterClientScriptBlock(this.GetType(), "MyMessage",...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

aspnet -i
Web Developer
India India
Software developer by profession, working for a service and product based organisation in India.

Career graph:
Software Programmer since 2002.
Web Developer in ASP.NET since 2004.

Interests:
I love reading the blogs and articles of technology experts. I love codeproject and stackoverflow .

I love to share knowledge and help the programmers. I appreciate if some body corrects my code or my concepts which helps me learn.

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160518.1 | Last Updated 17 Oct 2011
Article Copyright 2011 by aspnet -i
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid