Assign 2 line text with NewLine
Dear Forum.
I would like to change the text in a GroupBox of a Display Form at run time. My text should be in two lines.
I use the Assign-activity to write the following:
form.Find(Of GroupBoxFormItem)("GroupBox1").Description = "First line of text"+System.Environment.NewLine+"Second line of text"
It works when running the workflow in the simulator:
First line of text
Second line of text
However running the workflow using GeoCortex the result is the following:
First line of text <br />Second line of text
Is it possible somehow to change the text of a GroupBox at runtime, with a text in two lines?
Regards Anne.
-
Silverlight or Html5 viewer?
If you try this in the Html5 viewer, it could be a bug / limitation.
0 -
I think this is a bug too. I got around it by using Group instead of GroupBox in HTML5 viewer:
form.Find(Of ContainerFormItem)("Group2").Description = "Previous Submitter and Reviewer(s): " + environment.newLine + "Submitter: " + legalEntityVar
0 -
It is in HTML5.
Thanks.
0 -
Yep,
I've noticed the same behaviour with GE 4.3.0 and H5V 2.4.1.
@latitude
Is this a know bug and is/will it be fixed in latest or upcoming releses?
thanks0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare