Odd behaviour with richtextbox and right trim


Author
Message
Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Hi

I noticed some strange behaviour with a richtextbox bound to a field with right trim set in the business object mapper. When I enter 3 new lines as follows:-

1 [cr]
2 [cr]
3 [cr]

The lines are displayed in reverse order.

3
2
1

If I remove the right trim option in the business object mapper, then I can enter new lines and they are displayed in the correct order, i.e.

1
2
3

Looks like the trim is removing control codes along with spaces.

Aaron

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search