While implementing Prototype into a .NET 2.0 web application, I have
been receiving .NET asserts when closing prototype dialog boxes that
host aspx pages that have the file upload .net object within them.

 

Here's a snip from the .NET assert:
 {"File does not exist."}
    [System.Web.HttpException]: {"File does not exist."}
    Data: {System.Collections.ListDictionaryInternal}

 

In researching this issue, I found if the aspx page that hosts a .net
web object (such as file upload, tree view, or combo box) and has any
images or internal pages that receive a 404 will cause this assert.  In
debugging this issue, the destructor in the Window.prototype
(windows_js_1.0/javascripts/window.js) sets the this.content.src = null.
This results in a 404 being returned to the client and will cause
asserts within the .NET web form.   

 

I have found a workaround to this solution, but would like to know if
there's a better workaround, or if there's any serious side effects to
the Prototype code base with this fix.  I now set the src = "".  This
doesn't appear to cause any visual side effects in our application.

 

Thank you in advance for any assistance or guidance to help me work
around this issue.

 

 

 

______________________________

John Schmier
Software Engineer, Autodesk Labs <http://labs.autodesk.com/> 
Autodesk, Inc.
3900 Civic Center Drive
San Rafael, California 94903

  <http://dwf.blogs.com> 

 

Attachment: image001.gif
Description: image001.gif

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to