Ajaxcontrol Toolkit - AsyncFileUpload

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/16/2011 5:21:10 AM
Gravatar
Total Posts 19

Ajaxcontrol Toolkit - AsyncFileUpload

I've recently ported an existing web application into mojoPortal, all fine and good, expect that the ajax AsyncFileUpload doesn't work.  It's not showing the upload button but it is showing the hidden one that control uses under the hood.

<ajax:AsyncFileUpload runat="server"
                            ID="AsyncFileUpload"                         
                            UploaderStyle="Modern"
                            PersistFile="true" />

 

I know that I could use neat upload but i didn't want to recode my app.

 

Thanks.

8/18/2011 2:54:17 AM
Gravatar
Total Posts 19

Re: Ajaxcontrol Toolkit - AsyncFileUpload

Ok, I moved to neatupload - BUT it doesn't work in an update panel!!

This is a problem because I use my photo gallery/upload control in a jquery wizard and a full postback causes the wizard to return to step 1.

A solution?  Any examples of doing file upload in an iframe?

Thanks.....

 

8/18/2011 6:45:25 AM
Gravatar
Total Posts 18439

Re: Ajaxcontrol Toolkit - AsyncFileUpload

It is well known that NeatUpload does not work inside UpdatePanel

As far as the AsyncUploadControl, I suggest do some googling about using it in UserControl and in UpdatePanel

8/25/2011 9:10:05 AM
Gravatar
Total Posts 137
When enough isn't

Re: Ajaxcontrol Toolkit - AsyncFileUpload

Hi,

Another related question:

It seems that I can't get AsyncFileUpload to work in IE9 (only). According to googled threads there seem to be such a problem, which can be solved with the latest Ajax Toolkit version.

But I'm unsure if I can just drop a newer ajax toolkit dll in the bin folder of MojoPortal. From which version of MojoPortal can we expect this to be solved? What do you suggest to do?

Here is a link to one of the discussions: http://forums.asp.net/t/1605987.aspx/1?ajax+AsyncFileUpload+control+is+not+working+with+IE9

Best regards,
Lars
Denmark

8/25/2011 11:58:51 AM
Gravatar
Total Posts 18439

Re: Ajaxcontrol Toolkit - AsyncFileUpload

Hi Lars,

The answer is no you cannot just drop in another version, it must be compiled against the specific version or else it would require some assembly mapping in Web.config

It is often problematic upgrading the Ajax toolkit, my add on products use it as does mojoPortal and the version used must be the same so whenever I update the toolkit I also have to make a new release of my products along with the new version of mojoPortal.

I would like to upgrade to the new version but when I look at the comments here it does not sound like a stable release and people are having problems with it. It has been my experience in the past that upgrading may fix some bugs and introduce new ones. It takes a lot of testing because sometime they break it so that it doesn't work in medium trust hosting and then I have to go back the previous version.

When I have time I will try upgrading it and testing to make sure it doesn't break anything but it is not my top priority so I'm not sure how soon I will get to it.

Best,

Joe

8/25/2011 12:59:17 PM
Gravatar
Total Posts 137
When enough isn't

Re: Ajaxcontrol Toolkit - AsyncFileUpload

Hi Joe,

Thanks for your quick reply - I respect your considerations.

The positive thing is we can expect it to be solved at some time yes, so that it's not a dead end.

I will rethink what to do on shorter term.

Thanks again - I love MojoPortal anyway ...

Lars

8/26/2011 6:42:13 AM
Gravatar
Total Posts 18439

Re: Ajaxcontrol Toolkit - AsyncFileUpload

Due to some other changes I'm working on I will need to make new releases of my add on products corresponding to the next release of mojoPortal, so since I have to do that I will also try upgrading the ajax toolkit for the next release of mojoPortal.

Best,

Joe

8/26/2011 8:24:34 AM
Gravatar
Total Posts 137
When enough isn't

Re: Ajaxcontrol Toolkit - AsyncFileUpload

That would be fantastic - thanks and hoping you will succeed. smiley

Lars

8/26/2011 9:45:26 AM
Gravatar
Total Posts 18439

Re: Ajaxcontrol Toolkit - AsyncFileUpload

fyi, I upgraded this morning and tested both .NET 4 and .NET 3.5 under medium trust and found no errors, so I've pushed this change to the source code repository and for sure the next release of mojoPortal will have the new version of ajaxcontrol toolkit.

Best,

Joe

8/27/2011 9:19:10 AM
Gravatar
Total Posts 137
When enough isn't

Re: Ajaxcontrol Toolkit - AsyncFileUpload

That's absolute phenomenal ... you just made MojoPortal even better smiley.

Thanks Joe,

Lars

You must sign in to post in the forums. This thread is closed to new posts.