string strMsg = "Leave has been applied already between " + txtFromDate.Text.Trim() + " and " + txtToDate.Text.Trim() + ""; string script = "<script language=\"javascript\" type=\"text/javascript\">alert('" + strMsg + "');</script>"; Response.Write(script);
Page.RegisterStartupScript("Key", "<script type='text/javascript'>window.onload = function(){alert('Please accept Terms and Conditions before submitting.');return false;}</script>");
string script = "<script language="\""javascript\"
string script = "<script language=\"javascript\"
using System.Web; using System.Web.UI; using System.Web.UI.WebControls; ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Data Insert Successfully...');", true);
string strMsg = "Leave has been applied already between " + txtFromDate.Text.Trim() + " and " + txtToDate.Text.Trim() + ""; string script = "<script language="\"javascript\"" type="\"text/javascript\"">alert('" + strMsg + "');</script>"; Response.Write(script);
txtFromDate.Text = DateTime.Now.AddDays(-2).ToString("MM/dd/yyyy"); txtToDate.Text = DateTime.Now.AddDays(2).ToString("MM/dd/yyyy"); string strMsg = "Leave has been applied already between " + txtFromDate.Text.Trim() + " and " + txtToDate.Text.Trim() + ""; string script = "<script language=\"javascript\" type=\"text/javascript\">alert('" + strMsg + "');</script>"; Response.Write(script);
ClientScript.RegisterStartupScript(this.GetType(), "key", "<script>alert('user created')</script>");
ss="100"; ss = ss.Insert(0, "Succesfully added the voucher entry! Voucher No "); ScriptManager.RegisterStartupScript(this, this.GetType(), "", "<script>alert('" + ss.ToString() + "');</script>", false);
string strMsg = "Leave has been applied already between " + txtFromDate.Text.Trim() + " and " + txtToDate.Text.Trim() + ""; Response.Write("<script>alert('"+strMsg +"')</script>");
string strMsg = "Leave has been applied already between " + txtFromDate.Text.Trim() + " and " + txtToDate.Text.Trim() + ""; string script = "<script language="\""javascript\" type=\"text/javascript\">alert('" + strMsg + "');</script>"; Response.Write(script);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)