Click here to Skip to main content
12,634,117 members (24,907 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Stats

41.1K views
17 bookmarked
Posted

How to show the message and redirect to other page in ASP.NET

, 20 Nov 2011 CPOL
We can simply do this by calling JavaScript in code behind.

Alternatives

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

22 Nov 2011
Nicolò Beltrame
public static void MsgAlert(string message, string optURL) { Page page = (Page)HttpContext.Current.Handler; message = message.Replace("'", "\\'"); message = message.Replace("\r", "\\r"); message = message.Replace("\n", "\\n"); ...

License

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

Share

About the Author

mgrks
India India
No Biography provided

Pro
| | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 20 Nov 2011
Article Copyright 2011 by mgrks
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid