I have resource file string in MVC like this.

Hello, World!

In this I want to make Hello as bold.

How to add and render this in alert window?

Note: I'm not going to append it in any control. I just want to return this in onunload event.

return '@Resources.Alert';

I have tried Html.Raw and CDATA. Not working.

Related posts

Recent Viewed