|
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?
|
|
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!
|
|
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.
|
|
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!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/5/2007 Posts: 57
|
Yes, I will need the email address.
Thanks
|
|
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!
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You are very welcome. Glad that it works for you!
|
|
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.
|
|
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
|
|
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!
|
|