Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line breaks in Data grid
Message
From
14/04/2006 11:44:39
 
 
To
14/04/2006 05:23:58
Ilyas Mirza
Kensington Computersd
London, United Kingdom
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01113296
Message ID:
01113721
Views:
10
Ilyas,

I don't use MM, so perhaps Kevin has methods in MM to handle this sort of stuff, but if not what you'll need to do is handle it yourself after you get your data and before you display it. Since you're using a business object, you can probably write a method to do this, replacing the CR/LF (or whatever delineates your paragraphs) with the proper HTML (probably just a couple of < BR >).

~~Bonnie



>Hi Kevin,
>
>I have data field which contains text. Text is devided into few paragraphs. In the datagrid I have one bound column with "Data Field" containing name of the field I want to display.
>
>The grid is bound to the business object using BindingSource property. When I try this form the text is displayed as a single line instead of paragraphs.
>
>Thanks,
>
>Ilyas
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform