Click here to Skip to main content
15,886,806 members
Articles / Programming Languages / Javascript

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

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
22 Nov 2011CPOL 9.4K  
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"); ...

Views

Daily Counts

License

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


Written By
Software Developer
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions