mcmcom
03-20-2006, 10:48 PM
hi all,
i have a button which starts an upload,
before starting i want to do something that tells the user the file is uploading. I have the function UploadImage() to upload the file and a panel i want to make visible before i run that function.
i tried
button_click(object sender,System.EventArgs e){
this.pnl1.Visible = true;
UploadImage();
}
but this starts upload image before the page refreshes to show the panel. How can i refresh the page and then run the uploadimage function? I tried to put it in IsPostBack, but it still fired before the control rendered. Any ideas?
thanks
mcm
i have a button which starts an upload,
before starting i want to do something that tells the user the file is uploading. I have the function UploadImage() to upload the file and a panel i want to make visible before i run that function.
i tried
button_click(object sender,System.EventArgs e){
this.pnl1.Visible = true;
UploadImage();
}
but this starts upload image before the page refreshes to show the panel. How can i refresh the page and then run the uploadimage function? I tried to put it in IsPostBack, but it still fired before the control rendered. Any ideas?
thanks
mcm