Bug Report B190059
Visible to All Users

rich text edit save to database

created 15 years ago

I have a Sql Server 2008 database with a table called DirectionMaster and a field in it called Directions which is nvarchar(MAX).
If I type this in the rft control like this
ABC
CDE
FGH
IJK
and save the the above which is 4 LINES ONLY using the RtfText property all saves well AND I can get the data back into my rtf control when I retrieve from the database.
However if I do this
ABC
CDE
FGH
IJK
LMN
OPQ
which is 6 lines, it seems to save into the database. However when I retrieve it, the rft control flickers, briefly showing the text, and then the text disappears.
I have tried this numerous times, and it seems to be when I have more then 5 lines in the rtf control this starts to happen.
Any help would be appreciated.
Thanks.

Comments (2)
DevExpress Support Team 15 years ago

    Hi Luke,
    At present, I'm unable to reproduce the problem you described. I'm afraid I can't find an appropriate solution to this problem without additional information. Can you post here a small sample project that demonstrates your issue? If you can modify the attached project, it would be much appreciated.
    Thanks,
    Elliot

      ok, I see the problem. I didn't specify my field big enough so it was truncating the rft portion of my text. Sorry for the inconvenience.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.