I use Telerik Kendo.UI for ASP.NET MVC.
Here is my view to render the radio button.
<
div
class
=
"col-xs-2"
></
div
>
Here is the css that I include,
<
div
class
=
"col-xs-8"
>
<
div
class
=
"row text-center"
>
<
div
class
=
"col-xs-12"
>
<
h1
>KENDO UI FORM</
h1
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
div
class
=
"col-xs-12"
>
<
form
class
=
"k-form"
>
<
fieldset
>
<
div
class
=
"form-field"
>
@(Html.Kendo().RadioButton().Name("engine1").Checked(true).HtmlAttributes(new { @name = "engine" }).Label("1.4 Petrol, 92kW"))
</
div
>
<
div
class
=
"form-field"
>
@(Html.Kendo().RadioButton().Name("engine2").HtmlAttributes(new { @name = "engine" }).Label("1.8 Petrol, 118kW"))
</
div
>
</
fieldset
>
</
form
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"col-xs-2"
></
div
>
Here is the css that I include,
1.
<
link
rel
=
"stylesheet"
href
=
"@Url.Content("
~/content/kendo/2019.3.1023/kendo.bootstrap.min.css")" />
2.
<
link
rel
=
"stylesheet"
href
=
"@Url.Content("
~/content/kendo/2019.3.1023/kendo.common-bootstrap.min.css")" />
3.
<link rel="stylesheet" href="@Url.Content("~/css/telerik-default-theme.css")"
I attached the result in the attachment.
Is there any additional css to make this works?
Thank you.