On remote server - nothing is hapening, i think it is not firing.
This is the code:
Width="200" />
protected void AsyncFileUploadUploadedComplete(object sender, AsyncFileUploadEventArgs e)
{
var asyncFileUpload = (AsyncFileUpload)sender;
string columnName = Convert.ToString(asyncFileUpload.ClientID);
if (asyncFileUpload.HasFile)
{
//upload file here
ScriptManager.RegisterStartupScript(this.Page, GetType(), "showAlert",
string.Format("alert('file uploaded');"), true); //alert after upload
}
}
Please advise
Thanks
Suthish NairPosted Sep 13, 2013, 5:28 AM
Abhishek JainPosted Sep 11, 2013, 11:56 AM
Check if the request is being made from client to the remote server, can be easily checked with the help of the developer tools.
Also check if your javascript is not in error state, you can check for any javascript errors on the page in the console window, same is provided by developer tools.
Regards
AJ