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

RadComboBox Css Problem

1 Answer 158 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
qw
Top achievements
Rank 1
qw asked on 01 Sep 2008, 07:07 AM
hi,
in my application i used rad combo....
but no css apply for this.....


my code is as below.....

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MulticolumnDropdownlist.aspx.cs"
    Inherits="MulticolumnDropdownlist" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register TagPrefix="radcb" Namespace="Telerik.WebControls" Assembly="RadComboBox.Net2" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
 
   
   
</head>
<body class="BODY">
    <form runat="server" id="mainForm" method="post" style="width: 100%">
        <table>                               
                <tr>
                    <td valign="center" class="text">
                        Supervisor:
                    </td>
                    <td valign="top">
                        <radcb:radcombobox
                            Skin="WindowsXP"
                            id="RadComboBox1"
                            Runat="server"
                            Height="190px"
                            Width="420px"
                            MarkFirstMatch="True"
                            EnableLoadOnDemand="True"
                            HighlightTemplatedItems="True"
                            DropDownWidth="423px"                           
                            ItemRequestTimeout="500" SkinsPath="~/RadControls/ComboBox/Skins">
                            <headertemplate>
                                <table style="width:415px; text-align:left">
                                    <tr>
                                        <td style="width:125px;">
                                            Company Name
                                        </td>
                                        <td style="width:125px;">
                                            City
                                        </td>
                                        <td style="width:125px;">
                                            Title
                                        </td>
                                        <td style="width:40px;" align="right">                                           
                                            <img src="img/help.gif"/>                                                                               
                                        </td>
                                    </tr>
                                </table>                               
                            </headertemplate>
                            <itemtemplate>
                                <table style="width:415px; text-align:left">
                                    <tr>
                                        <td style="width:125px;">                                           
                                            <%# DataBinder.Eval(Container.DataItem, "CompanyName") %>
                                        </td>
                                        <td style="width:125px;">
                                            <%# DataBinder.Eval(Container.DataItem, "City") %>
                                        </td>
                                        <td style="width:125px;">
                                            <%# DataBinder.Eval(Container.DataItem, "ContactTitle") %>
                                        </td>
                                        <td style="width:40px;">
                                        </td>
                                    </tr>
                                </table>
                            </itemtemplate>
                        </radcb:radcombobox>
                    </td>
                    <td>
                        <asp:button Runat="server" ID="Button1" Text="Select" cssclass="button"></asp:button>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:label Runat="server" ID="Label1"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td style="height:100px"></td>
                </tr>               
            </table>
       
 
      
    </form>
</body>
</html>


thanks in advance

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 02 Sep 2008, 12:14 PM
Hello,

Please check the attached sample project which shows RadComboBox with WindowsXP skin applied.
 
Regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
qw
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or