Click here to Skip to main content
16,006,440 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Unmatched records from DataTables Pin
PrakashBhaskar10-Sep-07 0:54
PrakashBhaskar10-Sep-07 0:54 
AnswerRe: Unmatched records from DataTables Pin
John-ph10-Sep-07 1:03
John-ph10-Sep-07 1:03 
Question[Message Deleted] Pin
Sreekumar P P9-Sep-07 22:41
Sreekumar P P9-Sep-07 22:41 
AnswerRe: MOSS 2007 Workflow Pin
John-ph9-Sep-07 22:55
John-ph9-Sep-07 22:55 
AnswerRe: MOSS 2007 Workflow Pin
Pete O'Hanlon9-Sep-07 23:00
mvePete O'Hanlon9-Sep-07 23:00 
Questionget image properties with javascript [modified] Pin
morteza579-Sep-07 22:25
morteza579-Sep-07 22:25 
AnswerRe: get image properties with javascript Pin
morteza579-Sep-07 23:29
morteza579-Sep-07 23:29 
QuestionIFRAME through ASP.NET with C# Pin
.NET- India 9-Sep-07 21:59
.NET- India 9-Sep-07 21:59 
Hello Everybody

I'm sending the mail i'm receiving blank text or nothing or sometimes i got error ...................

I'm putting my code here plz have a look and suggest me the problem exists in my code

I've already taken following controls.......given below

hidden Field= txtID
IFRAME = manojTextBox


-----------------------------------------------------------
Page_Load
if(!Page.IsPostBack)
{
cmdClick.Attributes.Add("onClick","document.Form1.txtID.value=manojTextBox.document.body.innerHTML");
}

-----------------------------------------------------------

Click Event

MailMessage mail1=new MailMessage();
mail1.To="mail@saamstesting.com";

mail1.From="manoj.manojbisht@gmail.com";

mail1.Subject="This is New Mail -2";
mail1.Priority=MailPriority.High;

mail1.BodyFormat=MailFormat.Html;
mail1.Body=Request.Form["txtID"];

try
{
SmtpMail.SmtpServer="mail.saamstesting.com";
SmtpMail.Send(mail1);
lblMsg.Text="Mail Sent Successfully";
lblMsg.ForeColor=Color.DarkBlue;

}
catch(Exception ex)
{
lblMsg.Text=ex.Message.ToString();
lblMsg.ForeColor=Color.Red;
}
AnswerRe: IFRAME through ASP.NET with C# Pin
John-ph9-Sep-07 22:48
John-ph9-Sep-07 22:48 
QuestionHOw to display the button id Pin
Mri1a9-Sep-07 21:55
Mri1a9-Sep-07 21:55 
AnswerRe: HOw to display the button id Pin
John-ph9-Sep-07 22:10
John-ph9-Sep-07 22:10 
GeneralRe: HOw to display the button id Pin
Mri1a10-Sep-07 1:11
Mri1a10-Sep-07 1:11 
Questioncan we define the table and div property in the skin in asp.net Pin
Piyush Vardhan Singh9-Sep-07 20:49
Piyush Vardhan Singh9-Sep-07 20:49 
AnswerRe: can we define the table and div property in the skin in asp.net Pin
John-ph9-Sep-07 21:55
John-ph9-Sep-07 21:55 
GeneralRe: can we define the table and div property in the skin in asp.net Pin
Piyush Vardhan Singh9-Sep-07 22:07
Piyush Vardhan Singh9-Sep-07 22:07 
GeneralRe: can we define the table and div property in the skin in asp.net Pin
John-ph9-Sep-07 22:15
John-ph9-Sep-07 22:15 
QuestionRemember Me on this Computer in ASP.NET Pin
varshavmane9-Sep-07 20:21
varshavmane9-Sep-07 20:21 
AnswerRe: Remember Me on this Computer in ASP.NET Pin
Blue_Boy9-Sep-07 20:44
Blue_Boy9-Sep-07 20:44 
GeneralRe: Remember Me on this Computer in ASP.NET Pin
varshavmane9-Sep-07 20:49
varshavmane9-Sep-07 20:49 
GeneralRe: Remember Me on this Computer in ASP.NET Pin
Chetan Patel9-Sep-07 21:02
Chetan Patel9-Sep-07 21:02 
GeneralRe: Remember Me on this Computer in ASP.NET Pin
varshavmane9-Sep-07 21:06
varshavmane9-Sep-07 21:06 
QuestionWhen Using HTML TextBox Box COntrol getting page posted Pin
Satish_S9-Sep-07 20:14
Satish_S9-Sep-07 20:14 
AnswerRe: When Using HTML TextBox Box COntrol getting page posted Pin
Chetan Patel9-Sep-07 21:05
Chetan Patel9-Sep-07 21:05 
GeneralRe: When Using HTML TextBox Box COntrol getting page posted Pin
Satish_S9-Sep-07 21:13
Satish_S9-Sep-07 21:13 
QuestionRandom number generation in Java Script... Pin
Balagurunathan S9-Sep-07 19:54
Balagurunathan S9-Sep-07 19:54 

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.