Is it possible to format Kanban Card text to include carriage return/linefeed (this is vbcrlf in Visual Basic .Net).
I would like to separate some text to appear on a new line instead of it being a continual display using code-behind VB.Net.
Also the 'Title' text inserts spaces as its sees fit to do so , how can I force the Title and Card Content to fit my data without it doing its own formatting ?
By default, the header and text content fit the data being configured. Can you please share us few more details regarding your requirements ?
Hi, thank you for your reply.
I have attached a screenshot of existing Kanban display and underneath it is a preferred version I am trying to achieve.
As a live (current) example:Go to https://www.newtonabbotanddistrictskittlesleague.org.uk/
Select 'Weekly Fixtures Search' tab
Select 'Mon, 12-Sep-2022' to see example (or any other date to see other examples).
I have tried inserting carriage return/linefeed in to the data string field for 'Title' but Kanban ignores it and formats the title according to whatever formatting rules it uses.
The content formatting is not too important but it would be nice if the title could be formatted according to the data string provided for any given card display (i.e. with VBCRLF and exact number of spaces).
Yes, it is possible to format Kanban Card text to include carriage return/linefeed (this is vbcrlf in Visual Basic .Net). You can use the Environment.NewLine property to add a line break in your code-behind VB.Net. To force the Title and Card Content to fit your data, you can use the String.Format() method to format the text as desired.
I tried various combinations of String.Format() , vbcrlf and Environment.Newline and nothing worked at all.
I then tried using <br /" instead of vbcrlf and it worked ... ! example below
sThisTitle = myReader.GetValue(1).ToString + "<br />" + myReader.GetValue(2).ToString
This seems to imply that Kanban Cards are using HTML to format its contents.