This is a migrated thread and some comments may be shown as answers.

RadComboBox dropdown invisible in RadWindow

3 Answers 219 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Steven Harrap
Top achievements
Rank 2
Steven Harrap asked on 10 Aug 2010, 07:42 AM
Hi

I have a couple of RadComboBoxes and some RadGrids in a RadWindow using an .aspx file as its url (ie the content is in an iFrame).

Whenever I click the RadComboxBox or use the filters on the RadGrids the expanding menus are invisible - I can see the content of the page behind the window where the menus should be.

I have disabled all my style sheets and it the problem still persists.

The attached jpg is an example of this.

Does anyone have a work-around or solution to this problem?

Cheers,
Steven.

3 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 10 Aug 2010, 02:25 PM
Hello Steven,

This is an IE6/7 bug that happens when you have a filter somewhere in your page, an iframe (RadWindow) in it and another iframe with a filter in there (RadComboBox has a hidden with filter: alpha iframe that ensures that the drop down will cover normal select boxes in IE6 and flash), in this case the innermost filter drills down the iframe so the elements underneath it become visible. Do you have any filters applied on you page? Or better yet, can you open a support ticket and send a sample project or a live URL so we can check what is happening?

Best wishes,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Steven Harrap
Top achievements
Rank 2
answered on 12 Aug 2010, 01:30 AM
Unfortunatly I am unable to post a ticket however I believe I have solved the problem...

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Opacity="99">
     <Windows>
          <telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" 
             VisibleOnPageLoad="true" Width="400" Height="400"
             NavigateUrl="WindowContents.aspx">
           </telerik:RadWindow>
     </Windows>            
</telerik:RadWindowManager>

I had not noticed that I was adding in the attribute "Opacity='99' to the RadWindowManager  element. (I'm not sure how it got there in the first place). After removing it everything works fine. Before this I was about to use this peice of javascript in desperation:

$(document).ready(function() {
   fixMenus();
});
  
function fixMenus() {
     var rcbSlideDivs = document.getElementsByTagName("div");
     for (var i = 0; i < rcbSlideDivs.length; i++) {
        var rcbSlideDiv = rcbSlideDivs[i];
                  
        if ((rcbSlideDiv.className == "rcbSlide") || 
           (rcbSlideDiv.className.search("RadMenu RadMenu_Telerik RadMenu_Context RadMenu_Telerik_Context") > -1))
        {
        var iframes = rcbSlideDiv.getElementsByTagName("iframe");
        if (iframes.length > 0) {
            iframes[0].style.filter = "none";
        }
     }
  }
  
  setTimeout(fixMenus, 1000);
}

Allthough it is now pointless its purpose was to hunt through the current document once a second and find any iframes in divs with a specific class name (looking for RadCombos and RadGrids). When it found one it would turn off the transparency filter. Perhaps your next release could do something along the lines of this so that they work properly in IE. BTW I am using IE8 so the problem still exists beyond ie 6/7.

Cheers,
Steven.
0
Kamen Bundev
Telerik team
answered on 12 Aug 2010, 09:09 AM
Hi Steven,

The bug may appear in IE8 if the document is rendered in Compatibility mode or Quirksmode. I'm glad you've solved it!

Unfortunately its a browser bug and we can't just universally fix it. If we scan the document and remove any filters set there, we may remove some which are set by the user on purpose and we don't want that. Plus this scenario is rather rare, so we prefer to handle the specific cases.

Sincerely yours,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Steven Harrap
Top achievements
Rank 2
Answers by
Kamen Bundev
Telerik team
Steven Harrap
Top achievements
Rank 2
Share this question
or