Hi,
I'm using NetAdvantage 10.2 build 2151 and trying to set the Text of a desktop alert so that it is formatted with newlines. For example:
string text = string.Format("{0}\nClassification:{1}\nCaveats:{2}", messageSubject, classification, caveats);
desktopAlert.Show(caption, text)
When I get the desktop alert, the newlines are ignored and the text is just run together on the same line. Is there a way to get the newlines? Do I need to use the FormattedTextUIElement instead?
thanks
Mario
I was able to accomplish what I needed using the HTML tags, specifically the <br> tags to put it on separate lines.
Hello Mario,
Yes, we suggest using "<br/>" or "<BR/>" tags for new line. This is the way our component works. Thank you for using our products, pleae do not hesitate to contact us again if something comes up!