asp.netkendo-uipanelbar

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.


Solution

  • See this to turn off encoding, which essentially calls

    .Encoded(false);
    

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