I have to add a Kendo jQuery combo-box in a partial view, I have followed up this example: https://demos.telerik.com/kendo-ui/combobox/index and added a combo-box from input element and select element.
But the input and select elements are not showing up as combo-box, but showing up their default nature(added image here for reference like the select text/placeholder is not editable)
example.cshtml file:
@model ExampleModel
<div class="demo">
<h4><label for="fabric">T-shirt Fabric</label></h4>
<input id="fabric" placeholder="Select fabric..." style="width: 100%;" />
<h4 style= "margin-top: 2em;" ><label for="size">T-shirt Size</label></h4>
<select id="size" placeholder="Select size..." style="width: 100%;">
<option> X - Small </option>
<option> Small </option>
<option> Medium </option>
<option> Large </option>
<option> X - Large </option>
<option> 2X-Large</option>
</select>
</div>
<script>
$(document).ready(function () {
console.log("inside doc ready");
$("#fabric").kendoComboBox({
dataTextField: "text",
dataValueField: "value",
dataSource: [
{ text: "Cotton", value: "1" },
{ text: "Polyester", value: "2" },
{ text: "Cotton/Polyester", value: "3" },
{ text: "Rib Knit", value: "4" }
],
filter: "contains",
suggest: true,
index: 3
});
// create ComboBox from select HTML element
$("#size").kendoComboBox();
});
</script>
I have also followed up with other answers on StackOverflow, but I didn't get a clear picture of what are the references(script & link tags) need to be added and where?
The below script & link tags need to be added, I think so:
<link rel="stylesheet" href="styles/kendo.common.min.css" />
<link rel="stylesheet" href="styles/kendo.default.min.css" />
<link rel="stylesheet" href="styles/kendo.default.mobile.min.css" />
<script src="js/jquery.min.js"></script>
<script src="js/kendo.all.min.js"></script

I find you put the js code in a partial view,so I think it maybe why you can't show up as a combo-box.
Here is a demo worked.Firstly,I put the css in shared/_layout.cshtml
<head></head>and the js in shared/_layout.cshtml<body></body>like this: _layout.cshtml:And then I put the js code into the Main.cshtml which references a partial view. Main.cshtml:
_partial.cshtml(in Shared folder):
result: