I am using ASP.NET 4.0 I am having a problem with a not responding script upon my page loading. It happened while trying the Ajax toolkit file upload
This is from AddBlogPostAdvancedXSL.aspx
<form id="form3" action="/" method="post" runat="server">
<asp:ToolkitScriptManager
runat="server"
EnablePartialRendering="true"
ID="ToolkitScriptManager1" />
<div class="filewant">
<label for="WantFile">File</label>
<asp:AsyncFileUpload
ID="AsyncFileUpload1"
runat="server"
onuploadedcomplete="AsyncFileUpload1_UploadedComplete" />
</div>
</form>
On the cs page or that i have
public partial class AddBlogPostAdvancedXSL : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void AsyncFileUpload1_UploadedComplete(object sender, AjaxControlToolkit.AsyncFileUploadEventArgs e)
{
}
}
Upon pageloading I get
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
If I hit continue script nothing happens I have to hit stop
If I try to use the upload box on the page I get a dialog and upon selecting a file the box turns red [with the selected filename inside the input] and I get an alert stating:
Unhandled Exception: b.body is undefined
Any ideas?? In case it is relevant, the page being initially requested is AddBlogPostAdvanced.aspx but the control itself resides on AddBlogPostAdvancedXSL..aspx the reason being is the AddBlogPostAdvanced simply contains XML data which includes AddBlogPostAdvancedXSL as an XSL sheet which contains all the layout and such for the page. I do have the Asynch upload complete section on the proper cs for the page that loads the control..
Thank you!
EDIT
I tried to look at the script file that is supposed to be causing the error and when i try to load it in the browser I get
Assembly "AjaxControlToolkit, Version=4.1.50508.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" does not contain a script with hash code "12".
If I try to load the file without the :12 at the end it loads..