CSS and HTML Body Appointment RRS feed

  • Question

  • I'm trying to save an appointment in my calendar using EWS. The body of my appointment is saved in a Sharepoint Rich Text Field (an html rich text editor).  But when I create an appointment using EWS all formating is lost. Does anyone know a solution to this issue? This is a sharepoint solution, so i can't use windows forms or windows forms controls of any kind. The code for my appointment is:

    appointment.Subject = evento.Nome;  

                        appointment.Location = evento.Local;                     appointment.Body = newMessageBody();                     appointment.Body.BodyType = Microsoft.Exchange.WebServices.Data.BodyType.HTML;                     appointment.Body.Text = BodyHtml;

    BodyHtml value is '<div style=\"background-color:yellow;color:#760046\">Test</div>'




    André Calomeni Motta Desenvolvedor .NET MCTS

    Monday, May 13, 2013 8:10 PM