Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make an actual link
Message
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Make an actual link
Divers
Thread ID:
01618334
Message ID:
01618334
Vues:
40
UPDATE. Got it to work based on this answer

http://stackoverflow.com/questions/14761724/angularjs-insert-html-from-a-string

Hi everybody,

I've placed the following in my HTML page
<div class="col-md-12">
                @String.Format(Messages.noUserDefinedConfiguredX, "<a href='/CustomerAccounts/PrefsAcs'>" + Labels.customerAccounts + "=" + Labels.preferences + "</a>")
            </div>
In the resource file I defined a message like this (the bold text is actually {0}) parameter.

"No User Defined Fields Configured. You must configure titles for the user defined fields in Customer Accounts - Preferences first. Then they will appear here."

The bold text needs to be a link.

If I try to use string format and just a href it appears as part of a string. How can I make it the actual link here?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform