Hi grif,
Razor encodes all HTML tags by design. You can experiment with this suggestion, although I wouldn't recommend it, as it may open a vulnerability in your app.
A better workaround is to render radio inputs manually, so that you have full control over the HTML markup around them.
Regards,
Dimo
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.
Hello,
In general, is there a way to disable the html escaping/encoding in the output so we can pass through arbitrary markup to show in control output while we wait for a better solution?
Thanks
Hello John,
When a template becomes available you would be able to design these layouts with your own html+css. If you would like to see some built-in settings for those (such as label location, for the built-in case without a template), I recommend opening a separate request. Custom highlight should likely remain a custom CSS thing though, e.g., cascaded via the focus pseudoselectors or existing selection classes. Images would be something to handle via templates.
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.