views:

107

answers:

1

Hey,

I have the following problem with Opera. The following asp.net code

<asp:Image runat="server" ID="imgExpand"/>

<ajaxToolkit:CollapsiblePanelExtender ID="cpe" runat="Server"
    ImageControlID="imgExpand"
    ExpandedImage="<%$ Image:collapse.png %>"
    CollapsedImage="<%$ Image:expand.png %>"
    />

generates the following in FF3, IE6, IE7, IE8:

<img style="border-width: 0px;" src="/style/img/collapse.png" id="ctl00_ContentPlaceHolder1_imgExpand" title="Ausblenden..."/>

however the following in Opera 10:

<img id="ctl00_ContentPlaceHolder1_ucProductList_rptProducts_ctl02_imgExpand" class="expand-img" src="" style="border-width:0px;"/>

As you can see the src="" is empty and thus no image is beeing displayed.

Do you know any solution to this problem?

Thanks alot

+2  A: 

Sounds pretty weird. I haven't heard of that particular error, but you could probably work around it the same way you can avoid all the problems associated with ASP.NET's idiotic, broken browser-sniffing: turn it off.

bobince