Using \r\n should work, can you show the code your using
> Yes I did try setting the value of the text to something that included
> \r\n,
[quoted text clipped - 27 lines]
>> > Thanks,
>> > Jayram.
rjayram - 06 Nov 2007 18:01 GMT
The following is the code I am writing to introduce a new line in a text
field. The code is in C#.
XPathNavigator _root = MainDataSource.CreateNavigator();
XPathNavigator _submitLogString =
_root.SelectSingleNode("/my:myFields/my:LogGroup/my:LogString",
this.NamespaceManager);
_submitLogString.SetValue("This is a log string. \\r\\n " + " The document
was saved " + System.DateTime.Now.ToString());
I dont know what doesnt work.
Thanks,
Jayram.
> Using \r\n should work, can you show the code your using
>
[quoted text clipped - 29 lines]
> >> > Thanks,
> >> > Jayram.
rjayram - 06 Nov 2007 18:12 GMT
Andy and Bryan,
Thanks for your help but I got it. I was writing
\\r\\n to account for C#'s tendency to strip one of the slashes, but it turns
out I neednt have done that. It never occurred to me to try this out before.
Stupid mistake. Thanks again for taking out the time to reply to my question.
Thanks,
Jayram.
> Using \r\n should work, can you show the code your using
>
[quoted text clipped - 29 lines]
> >> > Thanks,
> >> > Jayram.