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

[Solved] Disabled Combobox is cutoff

3 Answers 116 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
PJ Melies
Top achievements
Rank 1
PJ Melies asked on 29 Apr 2009, 08:42 PM
We are using the latest release of the Telerik.Web.UI.dll but we are using the Q3 Skins as external .css files.  We have found that when a combobox is set to enabled=false they appear to cutoff at the bottom as if they're in a container that's too small to display the control properly.  Here's a sample page that illustrates this problem.  Note the external css file is an unaltered Q3 file downloaded from the Telerik site.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication2._Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title>      
    <link rel="Stylesheet" type="text/css" href="../Skins/Office2007/ComboBox.Office2007.css" />      
</head> 
<body> 
    <form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
      
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" Width="100%"   
        VisibleDuringInit="false">  
        <telerik:RadPane ID="RadPane1" runat="server">  
            <telerik:RadComboBox ID="RadComboBox1" runat="server" Enabled="false" Skin="Office2007" 
                EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false">  
                <Items> 
                    <telerik:RadComboBoxItem runat="server" Text="1" Value="1" /> 
                    <telerik:RadComboBoxItem runat="server" Text="2" Value="2" /> 
                    <telerik:RadComboBoxItem runat="server" Text="3" Value="3" /> 
                </Items> 
            </telerik:RadComboBox> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
    </form> 
</body> 
</html> 

Also, we have verified that if we revert to the embedded skin OR set the VisibleDuringInit =  true on the RadSplitter the problem doesn't occur.  I tried looking at the 2 versions of the .css (Q3 vs. embedded) but I'm not familiar enough with styles to narrow down what the problem may be (if it's even a style problem at all).

Any ideas on how to solve this issue?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 May 2009, 12:17 PM
Hi PJ,

Why do you need to use the latest version of RadCombobox with Q3 2008 skins? I tested your code with the build-in skin but i could not seen any problems with it. Please, let me know if I am missing something.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
PJ Melies
Top achievements
Rank 1
answered on 01 May 2009, 03:23 PM
We're using the latest version of the assembly to stay current and to get any bug fixes/performance enhancements that new versions offer.  We can't use the built in skins because the new skins changed too dramatically compared to the old skins.  However, after the days we've already spent trying to get to the old skins to work with the new assembly I'm beginning to wonder if it's worth it.  This is not the only thing that's been broken by this conversion - I've already spent quite a bit of time working with the RadEditor to get it to function the way it used to.  If there isn't a way to alter the style sheet to correct the display problem I'll go back to management/users and we'll decide on what course of action we want to pursue.
0
Kamen Bundev
Telerik team
answered on 04 May 2009, 11:30 AM
Hi PJ Melies,

I couldn't reproduce the issue you mention too. I only saw a cutoff problem in Firefox with the number 1 being cut because of ClearType but nothing like what you've described. Can you send a screenshot and a sample project / live demo of this issue because it may be related to something else? Thank you in advance.

I'm attaching a screenshot of how the RadComboBox looks here.

All the best,
Kamen Bundev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
PJ Melies
Top achievements
Rank 1
Answers by
Peter
Telerik team
PJ Melies
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or