Click here to Skip to main content
15,945,603 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Here My problem is I got parse error when i host my page but it's run locally without any error if have any suggestion help me...

Here My Code is:
<asp:AjaxFileUpload ID="AjaxFileUpload1" runat="server" OnUploadComplete="File_Upload" AllowedFileTypes="jpg,jpeg,png,gif" MaximumNumberOfFiles="5" />

Thank You !
Updated 22-Jun-14 23:59pm

you need to register AjaxControlToolkit on top of design page..

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
Share this answer
prasanna.raj 23-Jun-14 6:05am    
Ya i did that but it not only run when i try to host in server, but it run locally...
manak chand 23-Jun-14 6:26am    
check AjaxControlToolkit.dll in the References folder..
If your code doesn't work on server than check your solution's bin folder there must be AjaxControlToolkit.dll

you can download from here.


Ajax Control Toolkit 7.1213.0[^]
Share this answer
prasanna.raj 23-Jun-14 6:29am    
Thank's For Your Replay I'll try...
Share this answer
prasanna.raj 24-Jun-14 6:05am    
Ya Peter Leow I did this even though i got the error... not in wheni try to locally but it showing error when i hosted to online...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900