Showing posts with label description. Show all posts
Showing posts with label description. Show all posts

Monday, March 26, 2012

Text Formating control Asp.Net

Hi Guys,
Just wondering if someone can help me.
Im writing a asp.net application for a friend and i need to be able to
fomat the text of the description field. ie. bold and bullet points etc
to the text using html tags.
Then when i write the text to page i will get formatted text.
does anyone know of a way or control to do this. I want to let the user
format the text so they can make the document more pleasing ton the
eye.
Thanks in advance
colincheck out:
http://www.freetextbox.com
awesome free tool
"csgraham74" <csgraham74@.hotmail.com> wrote in message
news:1125053490.859035.57720@.o13g2000cwo.googlegroups.com...
> Hi Guys,
> Just wondering if someone can help me.
> Im writing a asp.net application for a friend and i need to be able to
> fomat the text of the description field. ie. bold and bullet points etc
> to the text using html tags.
> Then when i write the text to page i will get formatted text.
> does anyone know of a way or control to do this. I want to let the user
> format the text so they can make the document more pleasing ton the
> eye.
> Thanks in advance
> colin
>
Another free one http://www.fckeditor.net/
this got an asp.net web control and support server side coding.. very
easy to config

Text Formating control Asp.Net

Hi Guys,

Just wondering if someone can help me.

Im writing a asp.net application for a friend and i need to be able to
fomat the text of the description field. ie. bold and bullet points etc
to the text using html tags.

Then when i write the text to page i will get formatted text.

does anyone know of a way or control to do this. I want to let the user
format the text so they can make the document more pleasing ton the
eye.

Thanks in advance

colincheck out:

http://www.freetextbox.com

awesome free tool

"csgraham74" <csgraham74@.hotmail.com> wrote in message
news:1125053490.859035.57720@.o13g2000cwo.googlegro ups.com...
> Hi Guys,
> Just wondering if someone can help me.
> Im writing a asp.net application for a friend and i need to be able to
> fomat the text of the description field. ie. bold and bullet points etc
> to the text using html tags.
> Then when i write the text to page i will get formatted text.
> does anyone know of a way or control to do this. I want to let the user
> format the text so they can make the document more pleasing ton the
> eye.
> Thanks in advance
> colin
Another free one http://www.fckeditor.net/
this got an asp.net web control and support server side coding.. very
easy to config

Saturday, March 24, 2012

Text Structure

Hi

I am in the middle of writing a form which takes a description of a product and saves it to a memo field in Access. However if this description has two or more paragraphs before it is saved to the databse, when it comes out again, it has lost the paragraphs and is just one lump of text.

Does anyone know how you go about retaining the structure of the text? Does the code have to check for paragrapgh and instert the <p> tags?

Thank you in davance for any tip you may have.You can do two things, put the paragraph in an asp:textbox / textarea, or surround the paragraph with <pre></pre>, which tells the browser not to mess with the formatting.
Thanks Michael your help is much appreciated.

Simple when you know how!
Hi,

You may use strMemo.Replace( Environment.NewLine, "<br>" )