|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
It looks more like a bug of the browser :) We will look into it and see what we can do.
|
|
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.
|
|
Rank: Newbie Groups: Member
Joined: 11/5/2007 Posts: 4
|
Any news on this problem?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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
|
|
Rank: Newbie Groups: Member
Joined: 11/5/2007 Posts: 4
|
Yes it certainly does fix the problem. Thanks for your swift response...fantastic!
|
|