textBox and html?

Hi guys :)


I am creating an application (SmtpClient with GUI) and i want to be able to preview what i have written so far, ok.

Now, here is the part i am looking for advice on:

This program is suposed to support html mails, so how can i preview html mails

Please let me know how that is possible.



Answer this question

textBox and html?

  • stbrian2000

    thank you very much :) yes i will try that :D

    I looked through all settings in RichTextBox and there is nothing that turns on html elements.

    Can someone help me

    the RichTextBox Preview is suposed to view the e-mail like it would with html elements on.
    Please help me turn that feature on :)

    This is a Windows application.

    Also, it does not automatically render html.


  • jeyaseelan

    BlackMan -
    Yes, the WebBrowser control in VS2005 supports HTML.

    More info on what the richTextBox control supports can be found here:
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsrichtextboxmemberstopic.asp

    Thanks!
    Karen

  • Gayeshan

    Hi,

    This problem can be cleared from the Syncfusion's HTMLUI control. You can render the HTML available easily in the control and it is very efficient too. Try it you will be satisified.

    Bye,
    Nanda.

  • tusk

    Never mind, using WebBrowser solved my problem :)

    thanks anyway guys :)


  • Neil_Trainer1

    Not sure if this is a web application or a Windows Application. But if you are using a Windows Application you can set the text to a RichTextBox control which will automatically render HTML, or you could embed an WebBrowser control.

    If its a web application you can use some controls like RichTextbox.com which like the editor on this site allow you to view/edit html markup.

    Regards,
    Saurabh Nandu
    www.MasterCSharp.com
    www.AksTech.com

  • cbegg

    Hi guys :)

    i want to know if richTextBox supports html tags

     i want to create an application to send e-mails (both TextOnly and Html) and i want to preview my e-mail when Send As Html is on.

    But how do i turn the Html feature on in richTextBox


    P.S.
    this is a continual of my post in General C#


    EDIT:
    Neverm mind, using WebBrowser solved my problem :)

    thanks anyway :D


  • textBox and html?