Reputation: 2799
I
Downloaded open-source version of Telerik
Put Telerik css and js in appropriate folders in project
Added reference to Telerik dll
Wrote HTML http://pastebin.com/FzQDitzA
And I got this http://imageshack.us/photo/my-images/542/testgu.png/
It is all fine but when I cannot type text in this control and comboboxes don't work too
What's the matter?
Upvotes: 0
Views: 371
Reputation: 545
have you bundled them in your bundle config and added them to the root of your page?
like this in your bundleconfig:
bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
"~/Scripts/kendo/kendo.all.min.js",
"~/Scripts/kendo/kendo.aspnetmvc.min.js"
));
and then call on your _Layouts.cshtml or so this:
@Scripts.Render("~/bundles/kendo")
if it still doesnt work, reach out (also please check if you have a jQuery version which works with your open-source version)
Upvotes: 0
Reputation: 30671
You are missing a ScriptRegistrar which is responsible for initializing the editor and rendering the required JavaScript files.
Try this:
<body>
<div>
@{ Html.Telerik().Editor()
.Name("editor").Render();
}
</div>
@(Html.Telerik().ScriptRegistrar())
</body>
Upvotes: 1