Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader Odd Behaviour Options
Gary Michalek
Posted: Wednesday, August 31, 2011 2:14:24 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Hi,

I have created a web user control that contains an AJAXUploader contained within a Dialog control. When I use it in a regular web page it renders correctly but when I use it in a web content form the text box and the bowse button are not visible.

Any ideas?
eo_support
Posted: Wednesday, August 31, 2011 3:42:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

If you use ASP.NET 4.0, try to set the AJAXUploader's ClientIDMode to "AutoID" and see if it helps. If that still does not work, please try to create a test project that demonstrates the problem and send the test project to us. We will be happy to take a look as soon as we have that.

Thanks!
Gary Michalek
Posted: Wednesday, August 31, 2011 5:19:49 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Hi,

I am currently using ASP.NET 3.5 and version 8.0 (2010) of your controls. I do not see that property for the AJAXUploader on my version.
eo_support
Posted: Wednesday, August 31, 2011 5:23:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

In that case you will need to create a test project that demonstrates the problem and send the test project to us. Make sure your test project runs independently and only contain code needed to reproduce the problem. Let us know if you need the email address.

Thanks!
Gary Michalek
Posted: Wednesday, August 31, 2011 5:31:34 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Yes, I will need the email address.

Thanks
eo_support
Posted: Thursday, September 1, 2011 11:36:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have confirmed this to be a bug. We will fix it as soon as possible. In the mean time, please insert the following code into your page OUTSIDE of the UpdatePanel:

Code: HTML/ASPX
<eo:AJAXUploader 
    runat="server" id="uploader1" 
    TempFileLocation="~/anything" style="display:none" />


The root of the problem is the the JavaScript files needed by the uploader control are not being properly loaded after the UpdatePanel updates. Placing an invisible dummy uploader outside of the UpdatePanel ensures the script files to be loaded even before the updates occurs.

Thanks!
Gary Michalek
Posted: Thursday, September 1, 2011 1:55:12 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Hi,

Thanks for the prompt response. I tried your temporary work around and it appears to work fine.

Thanks again.
eo_support
Posted: Thursday, September 1, 2011 2:23:18 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
You are very welcome. Glad that it works for you!
Gary Michalek
Posted: Friday, September 2, 2011 7:47:54 AM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
By the way, I discovered the same issue with the Editor control (it is completely invisible) but used the same work around you suggested for the uploader and it appears to work fine.
eo_support
Posted: Friday, September 2, 2011 9:33:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Yes. This is the same problem. It's triggered by the UpdatePanel. Thanks for letting us know though.

Thanks
eo_support
Posted: Friday, September 2, 2011 10:35:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have posted a new build that should fix this problem. Please see your private message for the download location.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.