HI,
Just replace the below line with the given function call
"lit1.Text="<script>alert('You have successfully downloaded a cupon'')</script>";" replace this by
if (!ClientScript.IsStartupScriptRegistered("popup"))
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "PopUp", "Test();", true);
}
After this add your JQuery function in your aspx page.
function Test()
{
//JQuery function call which gives popup
}
Thanks,
Nowshad