How to remove semicolon of a label of a checkbox

1 Answer 16 Views
Checkbox
Yunfan
Top achievements
Rank 1
Yunfan asked on 10 Feb 2022, 05:09 PM

In this example:

https://demos.telerik.com/aspnet-mvc/checkbox

 

a semicolon is automatically added to the end of the label of a checkbox.

 

Is there anyway to remove the semicolon?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 15 Feb 2022, 09:18 AM

Hello, Yunfan,

There is a semicolon after each HTML Helper initialization:

<li>
         @(Html.Kendo().CheckBox().Name("eq1").Checked(true).Label("Rear side airbags"));
</li>

You can simply remove it.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Checkbox
Asked by
Yunfan
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or