Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Creating richtext in asp + formatting

Reply
Thread Tools

Creating richtext in asp + formatting

 
 
daz@rayneressex.com
Guest
Posts: n/a
 
      08-29-2007
hey guys

I'm not asp literate, and tried many search terms on google to try and
work the solution out, but gave up

Below is a bit of code in our system that has a button assigned to it,
once clicked this lil dude creates a richtext email in outlook and
fills it in.

What I would like to do, is use some html formatting (bold) for the
field captions and add a weblink - Can anyone help a poor blokey in
distress?

Thanks


sub SendEmail(strEmail)
strSubject = "Support Call Update"
strBody = "I.T. Department have updated your Support Call (Ref: " &
document.form1.ID.value & ")%0A%0A"
strBody = strBody & "Reported Issue:%0A" &
document.form1.Problem.value & "%0A%0A"
strBody = strBody & "Assigned:%0A" & document.form1.Assigned_To.value
& "%0A%0A"
strBody = strBody & "Status:%0A" & document.form1.Status.value & "%0A
%0A"
strBody = strBody & "Comment:%0A" & document.form1.Resolution.value &
"%0A%0A"
strEmail = "mailto:" & strEmail & "?subject=" & strSubject & "&body="
&strBody
window.open strEmail
end sub

 
Reply With Quote
 
 
 
 
Mark Rae [MVP]
Guest
Posts: n/a
 
      08-29-2007
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...

> I'm not asp literate


You're in the wrong newsgroup - this one is for ASP.NET

For ASP issues, please post to: microsoft.public.inetserver.asp.general


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RichText box on vs 2008. Mr. X. ASP .Net 1 01-11-2009 04:55 AM
Free ASP.NET RichText Textbox Control? Mike ASP .Net 11 12-04-2007 03:50 PM
Printscreen in a richtext editor VodkaMilkshake Javascript 0 04-25-2007 09:18 AM
RichText in asp.net Tomo ASP .Net 6 04-05-2007 03:18 PM
passing RichText to a WS Graham Allwood ASP .Net Web Services 0 06-09-2004 11:07 PM



Advertisments