Copy HTML code in an ASP control.

D

drop

Hi,

I need to know if there is an ASP control in which I can easily paste
some HTML code.

Basically, we have a management application in which the client can
enter it's product description. The client wants to be able to enter
HTML in the description textbox so he can customize the presentation of
his description.

So, what is the best way to take the HTML code he entered in the
textbox and then paste that HTML as part of a HTML page?

thank you
Simon Picard
 
M

Mark Rae

I need to know if there is an ASP control in which I can easily paste
some HTML code.

Basically, we have a management application in which the client can
enter it's product description. The client wants to be able to enter
HTML in the description textbox so he can customize the presentation of
his description.

So, what is the best way to take the HTML code he entered in the
textbox and then paste that HTML as part of a HTML page?

Have you considered something like this...?
http://www.freetextbox.com
 
D

drop

Have you considered something like this...?

Ok, I wasn't clear enough. I don't want to take the HTML code he enters
and build the page myself. I want to take the description he enters and
store it in a DB. Then, when a client access that product on the web
page, I want to dynamically paste that HTML code directly in the page.
It's the dynamically pasting the HTML I'm not certain how to do.
 
M

Mark Fitzpatrick

It's no problem, use a Literal control. A literal control simply takes a
chunk of HTML in its text property and dumps it to the browser. Think of it
as a Label control, but for literal content such as HTML.
 
D

drop

Ok, I knew this had to be simple and I just needed to find the right
control :D Thanks a lot for the help!

Simon Picard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top