sony
sony

Reputation: 1503

How to split text in a Kendo PanelBar?

panelbar.Add()
        .Text(string.Format(Common_Formats.CopyRight, DateTime.Now.ToString("yyyy"), Version.ToString())).

Common_Formats.CopyRight is a string read from the .resx file:

© {0}  ABC Systems Inc. <br> All rights reserved. V: {1}

I put "<br>" and \n in the text, still its not splitting.

Upvotes: 0

Views: 104

Answers (1)

Brian Mains
Brian Mains

Reputation: 50728

See this to turn off encoding, which essentially calls

.Encoded(false);

Kendo UI - Turning Text() enclosed text into <span> encoded HTML

Upvotes: 0

Related Questions