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

[Solved] ComboBox doesn't show list items like DropDown and "down arrow" image not showing up

7 Answers 149 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ashok
Top achievements
Rank 1
Ashok asked on 25 Mar 2011, 06:30 PM
I am trying to user ComboBox, however I have noticed following stage behavior:
1) No matter what telerik theme (.css) I use, I don't see "down arrow" at the end of the Combobox.
2) I am able to use filtering and Auto Complete only. however even though all items are listed, combox box doesn't show list of all values like dropdown list.

I am using 2011.1.315. Even with 2010 build I had a same issue.

7 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 25 Mar 2011, 09:10 PM
Hi Tejas,

 Those are not known issues. It seems that the JavaScript code of the combobox is not executed. We need some sample code which reproduces the problem in order to provide a solution.

All the best,
Atanas Korchev
the Telerik team
0
Ashok
Top achievements
Rank 1
answered on 28 Mar 2011, 03:07 PM
All I can say is, I installed 2011 release. Created an new project with Combobox and I don't see image (down arrow like DropDown) and it doesn't list items like dropdown.

i have made sure, i have included required javascript files.If you still want, I can send you sample code.
0
Atanas Korchev
Telerik team
answered on 28 Mar 2011, 04:07 PM
Hello Tejas,

 Most probably you have enabled asset combination and the required HTTP handler is not registered. You can check if this is not the case.

Regards,
Atanas Korchev
the Telerik team
0
Ashok
Top achievements
Rank 1
answered on 28 Mar 2011, 09:29 PM
I don't get it. Can you pinpoint what do I need to check?

Here is how my Layout.cshtml looks:

<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    @(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.outlook.css").Combined(true).Compress(true)))
    <script type="text/javascript">
        var BASE_APP_URL = '@Url.Content("~/")';
    </script>
</head>

<body>
    <div class="page">
        <div id="header">
        </div>
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
    </div>
    @(Html.Telerik().ScriptRegistrar()
                    .jQuery(true)
                    .Scripts(s => s.Add("~/Scripts/MicrosoftAjax.js")
                                   .Add("~/Scripts/MicrosoftMvcAjax.js")
                                   .Add("~/Scripts/jquery.unobtrusive-ajax.min.js")
                                   .Add("~/Scripts/2011.1.315/telerik.draganddrop.min.js")
                                   .Add("~/Scripts/2011.1.315/telerik.window.min.js")
                                   .Add("~/Scripts/Ecp.js"))
                    .DefaultGroup(group => group.Combined(true).Compress(true)))
</body>
</html>
0
Atanas Korchev
Telerik team
answered on 29 Mar 2011, 07:16 AM
Hello Tejas,

 The web asset HTTP handler registration is discussed in this help topic.

Greetings,
Atanas Korchev
the Telerik team
0
Ashok
Top achievements
Rank 1
answered on 01 Apr 2011, 02:39 PM
Thanks, but I had all handlers etc.

I created new MVC Telerik Web project and copied all my files, Combobox works fine now. I don't know what was wrong and what fixed it.

Thanks for the help.
0
Sanket
Top achievements
Rank 1
answered on 29 Sep 2011, 03:51 PM
I was frustrated with this issue for a long time. finally found out, I was using a jQuery plugin whose CSS was overriding the CSS for the comboobox. As soon as I got rid of the jQuery, this started to work.

Thanks,
Sanket.
Tags
ComboBox
Asked by
Ashok
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Ashok
Top achievements
Rank 1
Sanket
Top achievements
Rank 1
Share this question
or