TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
nave
NA
9.5k
0
AsyncFileUpload issue on remote server
Sep 3 2013 6:00 AM
On local server - everything is working fine (upload + JS alert).
On remote server - nothing is hapening, i think it is not firing.
This is the code:
<ajaxToolkit:AsyncFileUpload ID="AsyncFileUpload_picture" runat="server" OnClientUploadStarted="showUploadStartUpdateProgress" OnUploadedComplete="AsyncFileUploadUploadedComplete"
OnClientUploadComplete="showUploadEndUpdateProgress" OnClientUploadError="showUploadEndUpdateProgress"
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
Reply
Answers (
2
)
Ajax ProRotator
How to hide my aspx extension in asp.net?