ClientScriptManager SendJavaScriptToBrowser = Page.ClientScript;
string JavaScriptText = "alert('Replace this alert with the JavaScript.\\rThe script tags are automatically added for you.')";
SendJavaScriptToBrowser.RegisterClientScriptBlock(SendJavaScriptToBrowser.GetType, Now.ToBinary.ToString, JavaScriptText, true);
No comments:
Post a Comment