try like this it is working
write this in .aspx
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
function setProgress(test) {
alert(test);
return false;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button Text="text" runat="server" ID="btnTest" OnClick="btnTest_Click" />
</div>
</form>
</body>
Write this in .cs
protected void btnTest_Click(object sender, EventArgs e)
{
string Progress = "123";
ClientScript.RegisterStartupScript(GetType(), "Javascript", "javascript:setProgress(" + Progress + "); ", true);
}