At the click of a button, you can try the following.
protected void button1_Click(object sender, EventArgs e) { Response.Redirect("~/Admin/Admin.aspx"); }
And on the Load page you can check whether the download is from this button, and then increase the score.
protected void Page_Load(object sender, EventArgs e) { StackTrace stackTrace = new StackTrace(); string eventName = stackTrace.GetFrame(1).GetMethod().Name;
thanks
Saritha.SR
source share