all groups > asp.net webcontrols > december 2005 >
You're in the

asp.net webcontrols

group:

Basic formatting for HTML text in ASP.NET 1.1 ?


Re: Basic formatting for HTML text in ASP.NET 1.1 ? pH
12/28/2005 5:55:47 AM
asp.net webcontrols: The only obvious way I can think of is to set up an editable IFRAME
with a blank page loaded (this will let the user type stuf on to the
page), and provide buttons to control the formatting. Then, to upload
it, do some Javascript on the page containing the frame that copies its
content into a hidden input field and posts it to the server, which can
then write it into an HTML file.

There are a few examples of how to do this floating around on the web;
however, you can't really use ASP controls to do it [at least not that
I know of] - so you'll have to hand-code the elements and client-script.
Re: Basic formatting for HTML text in ASP.NET 1.1 ? Christopher Reed
12/28/2005 7:51:56 AM
Yes, there's a way.

You can create a form to capture this information and then, upon postback,
display your desired page (hiding the entry form in the process).

Is this what you looking to do?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

[quoted text, click to view]

Re: Basic formatting for HTML text in ASP.NET 1.1 ? Paul Clement
12/28/2005 9:30:16 AM
[quoted text, click to view]

¤ Hi all,
¤
¤ Is there a way for a user of a website to control the basic font size/colour
¤ of text, then upload it into a HTML text page in ASP.NET 1.1 ?
¤
¤ For example, I want a user to log into the website, and be able to type in
¤ text, give it a colour, fontsize and basic layout, etc. The hit submit, and
¤ the text will be available to view through the browser?
¤

How about using a RichTextBox control?

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1636&lngWId=10


Paul
~~~~
Basic formatting for HTML text in ASP.NET 1.1 ? Jack
12/28/2005 6:05:35 PM
Hi all,

Is there a way for a user of a website to control the basic font size/colour
of text, then upload it into a HTML text page in ASP.NET 1.1 ?

For example, I want a user to log into the website, and be able to type in
text, give it a colour, fontsize and basic layout, etc. The hit submit, and
the text will be available to view through the browser?

Cheers,
Jack.



AddThis Social Bookmark Button