Hello Kendo,
I have a ToolTip widget that is receiving data returned from a JSON call. Here is the data call:
public JsonResult GetCountsForSessions(int Id)
{
//hard coded data call for testing
string CountsForSessions = Id.ToString() + "<br />";
CountsForSessions += "Item 1 info <br />";
CountsForSessions += "Item 2 Info <br />";
return this.Json(CountsForSessions, JsonRequestBehavior.AllowGet);
}
The ToolTip does display the correct data, but the <br> tags are ignored and the resulting text displayed in the ToolTip looks like:
"1077 \u003cbr /\u003eItem 1 info\u003cbr /\u003eItem 2 Info3 \u003cbr /\u003e"
With no like breaks. My goal is to get the data to display in the ToolTip like:
1077
Item 1 info
Item 2 Info
How can achieve this formatting? Thanks for the help,
Carl
I have a ToolTip widget that is receiving data returned from a JSON call. Here is the data call:
public JsonResult GetCountsForSessions(int Id)
{
//hard coded data call for testing
string CountsForSessions = Id.ToString() + "<br />";
CountsForSessions += "Item 1 info <br />";
CountsForSessions += "Item 2 Info <br />";
return this.Json(CountsForSessions, JsonRequestBehavior.AllowGet);
}
The ToolTip does display the correct data, but the <br> tags are ignored and the resulting text displayed in the ToolTip looks like:
"1077 \u003cbr /\u003eItem 1 info\u003cbr /\u003eItem 2 Info3 \u003cbr /\u003e"
With no like breaks. My goal is to get the data to display in the ToolTip like:
1077
Item 1 info
Item 2 Info
How can achieve this formatting? Thanks for the help,
Carl