NewLine in tooltip


THis is for GoWeb .net

I have derived a class from GoBasicNode

and doing

this.ToolTip= “some text” +

“some more text” ;

This works great with tooltip showing.

But when I do

this.ToolTip= “some text” +

Environment.NewLine +

“some more text” ;

The new line is not being created and I dont see any

tool tip at all.

I want to show a multiline tooltip ??

You need to quote the newline correctly in the resulting JavaScript string (as well as in your C# code on the server). I think another topic in this forum talked about this.