| | |
gui to compose HTML emails
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jun 2007
Posts: 2
Reputation:
Solved Threads: 0
I am have a website up that allows people to register for a newsletter, then I wrote a small app in .net so that I can log in and enter the body text of the newsletter and send it to the list. My question is (sorry if this is elementary)... is there sample code somewhere that will provide me with an interface like the one that I am using here to enter this message to compose the body text of the email? So that I can format the font, color, indent, bullets, etc?
Thanks.
Matt
Thanks.
Matt
This is a little more involved than you might think. Basically, what you have to do is write all the HTML markup yourself through your code.
There are a bunch of free "RichTextBox" editor controls out there you can use that employ JavaScript or even just plain Java to return a string that's already HTML formatted based on what buttons the user pressed to format the text. You might want to try Googling "Rich Text ASP.NET" or something similar, and find a control that appeals to you.
Generally with those, you can include them in your solution, build it, and when you write code to get the text from it, it should mostly work like your standard ASP.NET Textbox.
There are a bunch of free "RichTextBox" editor controls out there you can use that employ JavaScript or even just plain Java to return a string that's already HTML formatted based on what buttons the user pressed to format the text. You might want to try Googling "Rich Text ASP.NET" or something similar, and find a control that appeals to you.
Generally with those, you can include them in your solution, build it, and when you write code to get the text from it, it should mostly work like your standard ASP.NET Textbox.
Alex Cavnar, aka alc6379
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: 4 Function Calculator textbox or field control
- Next Thread: Pleas send me some asp.net project titles
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist development dgv dropdownlist dropdownmenu dynamically edit fileuploader fill flash flv formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice youareanotmemberofthedebuggerusers






