Click here to Skip to main content
15,897,273 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionOn click event Pin
hadad11-Apr-07 12:35
hadad11-Apr-07 12:35 
AnswerRe: On click event Pin
Elina Blank11-Apr-07 13:16
sitebuilderElina Blank11-Apr-07 13:16 
GeneralRe: On click event Pin
hadad11-Apr-07 13:29
hadad11-Apr-07 13:29 
GeneralRe: On click event Pin
Elina Blank11-Apr-07 13:34
sitebuilderElina Blank11-Apr-07 13:34 
GeneralRe: On click event Pin
hadad12-Apr-07 1:36
hadad12-Apr-07 1:36 
Questionrunat=server or runat="server"? Pin
Yeppr11-Apr-07 11:04
Yeppr11-Apr-07 11:04 
AnswerRe: runat=server or runat="server"? Pin
J$11-Apr-07 12:19
J$11-Apr-07 12:19 
QuestionSending e-mails with unicode encoding Pin
Ahmed Galal11-Apr-07 10:13
Ahmed Galal11-Apr-07 10:13 
i have no problem in sending the email, but my problem is that theres some unicode characters in the email which is not readable when viewed at the client. however i used UTF-8 encoding like:
mMessage.SubjectEncoding = System.Text.Encoding.UTF8;
mMessage.BodyEncoding = System.Text.Encoding.UTF8

heres what i do from the begining
i first open an html file and get its content in a string
sr = File.OpenText(System.Web.HttpContext.Current.Server.MapPath(@"~\Controls\Mailer\Templates\common.htm"));
mystring = sr.ReadToEnd();

then i replace some words in the string with my own, like:
mystring = mystring.Replace("%name%","unicode word");

and finally i send this string as html in the email body.

only the replaced words is not readable but the other unicode characters that was originally in the htm file is fine !
am using c# asp.net 2.0
i also want to note that everythin was going fine in .net 1.1 , that happened only when i switched to .net 2.0

can u please find any solution ?
i will really appreciate any idea

thanx in advance.

We never stop learning
Questionexpression not a method Pin
Hasan Ali11-Apr-07 8:28
Hasan Ali11-Apr-07 8:28 
GeneralRe: expression not a method Pin
Guffa11-Apr-07 8:53
Guffa11-Apr-07 8:53 
GeneralRe: expression not a method Pin
Jonathan [Darka]17-Apr-07 21:57
professionalJonathan [Darka]17-Apr-07 21:57 
QuestionASP.NET Machine Account under VISTA? Pin
Morantex11-Apr-07 8:15
Morantex11-Apr-07 8:15 
Questioncombining a Gif and a JPG into a file ... Pin
devboycpp11-Apr-07 6:37
devboycpp11-Apr-07 6:37 
AnswerRe: combining a Gif and a JPG into a file ... Pin
Guffa11-Apr-07 6:58
Guffa11-Apr-07 6:58 
GeneralRe: combining a Gif and a JPG into a file ... Pin
devboycpp11-Apr-07 7:12
devboycpp11-Apr-07 7:12 
GeneralRe: combining a Gif and a JPG into a file ... Pin
Guffa11-Apr-07 8:55
Guffa11-Apr-07 8:55 
GeneralRe: combining a Gif and a JPG into a file ... Pin
devboycpp11-Apr-07 23:45
devboycpp11-Apr-07 23:45 
AnswerRe: combining a Gif and a JPG into a file ... Pin
Guffa12-Apr-07 7:32
Guffa12-Apr-07 7:32 
AnswerRe: combining a Gif and a JPG into a file ... Pin
Dave Kreskowiak11-Apr-07 7:05
mveDave Kreskowiak11-Apr-07 7:05 
Questionrestrict users to browse only some specified type of files Pin
indian14311-Apr-07 5:49
indian14311-Apr-07 5:49 
QuestionActive Directory Authentication Pin
ziwez011-Apr-07 5:42
ziwez011-Apr-07 5:42 
QuestionAdding Control to Catalog zone at runtime (WebParts) Pin
Neo_Shehpar11-Apr-07 5:22
Neo_Shehpar11-Apr-07 5:22 
AnswerRe: Adding Control to Catalog zone at runtime (WebParts) Pin
Sandeep Akhare11-Apr-07 5:26
Sandeep Akhare11-Apr-07 5:26 
QuestionCapturing the back button on browser Pin
Ridge Howison11-Apr-07 5:11
Ridge Howison11-Apr-07 5:11 
Question<% %> usage in Design View asp.net Pin
Jay_se11-Apr-07 2:35
Jay_se11-Apr-07 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.