RadComboBox项目变为透明

时间:2018-09-16 18:35:27

标签: c# jquery asp.net telerik

我的一个RadComboBox出现一个有趣的问题。它通过我的网站连接到全部利用的皮肤。在除一页之外的所有内容上,RadComboBox的外观和容量均有效。但是,在一页上,可选项目后面的背景变得透明。

这就是定义的样子。

 <telerik:RadComboBox RenderMode="Lightweight" ID="RadComboBoxProduct" runat="server" Height="200" Width="415" 
                                    DropDownWidth="315" EmptyMessage="--Select--" HighlightTemplatedItems="true"
                                    EnableLoadOnDemand="true" Filter="StartsWith" OnItemsRequested="RadComboBoxProduct_ItemsRequested" ForeColor="Black"
                                    Label="Product:">

                                    <ItemTemplate>
                                        <div style="float: left; elevation: above; azimuth: rightwards; height: 12px; width: 20px; background-color: black">

                                            <%# DataBinder.Eval(Container,"Attributes['CUSTOMER_SHORT_NAME_MARKETING']")%>

                                        </div>
                                    </ItemTemplate>
                                </telerik:RadComboBox>

请帮助我。

1 个答案:

答案 0 :(得分:1)

请查看可能对皮肤有帮助的故障排除文章-https://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/skins-troubleshooting#incorrect-or-distorted-appearance

一些专业提示: -确保它不是IE兼容性问题以及该问题不是由全局CSS样式引起的 -开始逐页删除页面内容,直到找到导致问题的原因