Hi,
I have a button control in a page and when it is clicked, it opens a file download dialog box to open or save a file. But I would like to refresh or reload the page at the same time to reflect the changes in the page after the file download. Here's the code that executes when the button is pressed:
DownloadAssistant.cs:
using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Summary description for DownloadAssistant
/// </summary>
static public class DownloadAssistant
{
static public void DownloadFile(string Id)
{
try
{
//SqlConnec ...
Go to the complete details ...