VB.Net code.
Dim str As String = "\t\ Showing Message Box"
ScriptManager.RegisterStartupScript(Me, GetType(String), "alert", "alert('" & str & "'); ", True)
C#
string str = "\\t\\ Showing Message Box";
ScriptManager.RegisterStartupScript(this, typeof(string), "alert", "alert('" + str + "'); ", true);
Dim str As String = "\t\ Showing Message Box"
ScriptManager.RegisterStartupScript(Me, GetType(String), "alert", "alert('" & str & "'); ", True)
C#
string str = "\\t\\ Showing Message Box";
ScriptManager.RegisterStartupScript(this, typeof(string), "alert", "alert('" + str + "'); ", true);
No comments:
Post a Comment