Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Ajax client-side framework failed to load after file selection in Asyncfileupload control

$
0
0

Now before you all start pasting in links to other posts that contain the phrase "Ajax client-side framework failed to load" (and are not helpful in anyway), read below.

There are two (2) Asyncfileupload controls on this page (one works and the other does not).

  • One is in the FooterTemplate of a GridView that is in the InsertItemTemplate of FormView1
  • The other is in the FooterTemplate of a GridView that is in the EditItemTemplate of FormView1
  1. The Asyncfileupload in the InsertItemTemplate works fine. 'Choose File' is clicked, a file is selected and OK is then clicked ........... the control does what ever it does to store the file path in memory or whatever it does (i have no events of my own triggering at this time) and the control background turns green.
  2. The Asyncfileupload in the EditItemTemplate does not work at all (it use to). 'Choose File' is clicked, a file is selected and OK is then clicked ........... the control does what ever it does to store the file path in memory or whatever it does (i have no events of my own triggering at this time) and then the controls background turns red and throws up useless errors.
    • In Chrome:
      • Unknown, server error
    • In IE: 
      • Unknown, server error
      • Ajax client-side framework failed to load

I have looked at the differences in the two and have even reduced the one in the EditItemTemplate to just the Asyncfileupload but it still errors.

I have a couple other pages set up the exact same way, Asyncfileupload in the FooterTemplate of a GridView, inside an InsertItemTemplate and an EditItemTemplate of a FormView.

My only other option is to start the page over from scratch (2,200 lines in the cs and 2,600 in aspx), which is an option I would prefer to avoid.

Thanks for any thoughts you might have.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>