Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader in an ASP.NET AJAX CollapsiblePanelExtender Options
coopermoto
Posted: Monday, November 5, 2007 2:57:19 AM
Rank: Newbie
Groups: Member

Joined: 11/5/2007
Posts: 4
In an ASP.NET 2.0 site I have an AJAXUploader control which is inside an ASP.NET AJAX CollapsiblePanelExtender coded as:

<ajaxToolkit:CollapsiblePanelExtender ID="DocumentsCollapsiblePanelExtender" runat="Server"
TargetControlID="DocumentsContentPanel"
ImageControlID="DocumentsHeaderImage"
CollapseControlID="DocumentsHeaderPanel"
ExpandControlID="DocumentsHeaderPanel"
Collapsed="true" CollapsedSize="0"
CollapsedImage="~/App_Themes/PIOAdmin/images/expand_blue.jpg"
ExpandedImage="../App_Themes/PIOAdmin/images/collapse_blue.jpg"
SuppressPostBack="true" />
<asp:Panel ID="DocumentsHeaderPanel" runat="server">
<asp:Image ID="DocumentsHeaderImage" runat="server"
AlternateText="Add a Document"
ImageUrl="~/App_Themes/PIOAdmin/images/expand_blue.jpg" />Documents
</asp:Panel>
<asp:Panel ID="DocumentsContentPanel" runat="server">
...
<eo:AJAXUploader ID="AJAXDocumentFileUpload" runat="server"
Width="370px"
TempFileLocation="~/eo_upload"
MaxDataSize="204800"
MaxFileCount="1"
AutoPostBack="True"
DeleteButtonText="Delete File"
AllowedExtension=".pdf">
</eo:AJAXUploader>
...
</asp:Panel>

My problem is that the filename textbox and the "Browse..." button do not get hidden when the CollapsiblePanelExtender is collapsed! The Upload button, progress bar and Cancel button do get hidden.

Is this a bug in the AJAXUploader control or am I doing something wrong?

Thanks

Barrie
eo_support
Posted: Monday, November 5, 2007 4:16:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,089
It looks more like a bug of the browser :) We will look into it and see what we can do.
coopermoto
Posted: Monday, November 5, 2007 6:03:41 AM
Rank: Newbie
Groups: Member

Joined: 11/5/2007
Posts: 4
Yes...it seems to be broken in IE6 and IE7.

Firefox 2.x, Opera and Safari PC display the AJAXUploader OK.
coopermoto
Posted: Wednesday, November 14, 2007 8:42:28 AM
Rank: Newbie
Groups: Member

Joined: 11/5/2007
Posts: 4
Any news on this problem?
eo_support
Posted: Wednesday, November 14, 2007 10:03:22 AM
Rank: Administration
Groups: Administration

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

We tested it at here and they do get hidden. Can you create a small sample project that can reproduce the problem? Once we have that, we will look into it immediately and see if we can find a workaround.

Thanks
eo_support
Posted: Wednesday, November 14, 2007 11:03:03 AM
Rank: Administration
Groups: Administration

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

We have received your test app and confirmed that it's an IE bug. Fortunately there is a workaround for it.

Try add "position:relative" to your DocumentsContentPanel. It was:

Code: HTML/ASPX
<asp:Panel ID="DocumentsContentPanel" runat="server">


Try:

Code: HTML/ASPX
<asp:Panel ID="DocumentsContentPanel" 
runat="server" style="position:relative">


That worked in our test environment. Please let us know if it works for you.

Thanks
coopermoto
Posted: Wednesday, November 14, 2007 11:42:36 AM
Rank: Newbie
Groups: Member

Joined: 11/5/2007
Posts: 4
Yes it certainly does fix the problem. Thanks for your swift response...fantastic!


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.