Bug Report B95426
Visible to All Users

ASPxComboBox in Sharepoint (WSS 3) with IE7

created 17 years ago

Hi,
I'm developing a (asp.net) web part with an ASPxComboBox inside it.
When I use this web part in Sharepoint (WSS 3) and set its width and/or height to a fixed size, the drop down list appears away from the combo. If I don't set the width and height, it works fine.
This only occurs when the web part is under wss3, when the web part is placed in an asp.net page everything works fine even when the web part has a fixed width / height.
There are another two points:
1 - The same thing happen using the ASPxPopUpControl, no matter how I set the PopupHorizontalAlign and PopupVerticalAlign;
2 - Using FireFox 3 this issues DOES NOT happen.
Please see attached a sample project and the steps to reproduce.
Thank you,
Bill
Steps to Reproduce:
Using IE 7, do the following:
1 - Compile the sample project and copy the ComboInWSS.dll to the _app_bin directory of WSS 3;
2 - Add it to the safe controls list in the sharepoint's web.config:
<SafeControl Assembly="ComboInWSS, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null" Namespace="ComboInWSS" TypeName="*" Safe="True" AllowRemoteDesigner="True" />
3 - In wss3 site, go to Site Actions -> Site Settings -> Web Parts and add the ComboInWSS web part to the Web Part Gallery
4 - Go to any page in wss3 and add the ComboInWSS web part to the page
5 - Click on the combo's drop down button and check that the drop down list shows as expected
6 - Click on the ComboInWSS web part menu (small arrow in the top right corner) and choose "Modify shared web part"
7 - Set the width and height to any value (for example choose 300px for height and 450px for width)
8 - Click in apply and the click on the combo's drop down button
Actual Results:
The drop down list appears in the lower right corner of the web part, far away from the combo.
Expected Results:
The drop down list should appear bellow the combo.

Show previous comments (2)
DevExpress Support Team 17 years ago

    Hi Bill,
    Please give us some more time. We are investigating the problem. Thank you for your patience.
    Thanks,
    Nick

    DevExpress Support Team 17 years ago

      Bill,
      Unfortunately, SharePoint doesn't insert a DOCTYPE tag with XTHML value into pages. This makes IE handle pages in a backward compatibility mode. To avoid this issue, please manually insert the following tag into your pages:

      ASPx
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      We advise that you insert this tag into a master page.
      Thanks,
      Nick

      Serge (DevExpress Support) 16 years ago

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.