16,016,537 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11525563 (Top 27 by date)
Member 11525563
4-May-16 5:15am
View
Hi, since im only getting this error when i run it through IIS, i cannot figure out how i can debug this, because when i run the code locally i'm not getting this kind of error.
Member 11525563
4-May-16 5:12am
View
@Sinisa Hajnal thanks ill try that
Member 11525563
6-Apr-16 15:17pm
View
the images are embedded on the item.HTMLBody.
Member 11525563
30-Mar-16 14:58pm
View
Need to use the outlook mail item send not the smtp.Sned()
Member 11525563
22-Feb-16 14:25pm
View
Thanks so much.
Member 11525563
22-Feb-16 14:03pm
View
is the "window.parent.document.getElementById('lblName').Value" is the label of my default page?
Member 11525563
22-Feb-16 13:57pm
View
Deleted
NOTE: the item.HTMLBody.ToString() is loaded on the iframe of default page.
Member 11525563
22-Feb-16 13:52pm
View
Deleted
NOTE: the item.HTMLBody.ToString() is loaded on the iframe of default page.
Member 11525563
22-Feb-16 13:52pm
View
string body = Regex.Replace(item.HTMLBody.ToString(), @"<[^>]*>", String.Empty);
Match addressMatch = Regex.Match(body, @"[^\d]\d+([a-zA-Z0-9\-\s]+)", RegexOptions.IgnoreCase);
address.Text = "Address: " + addressMatch.Value.ToString();
Member 11525563
22-Feb-16 13:44pm
View
that's why i asked earlier if there's another way to do it beside session
Member 11525563
22-Feb-16 13:30pm
View
on page load of default page
Member 11525563
22-Feb-16 13:23pm
View
How can i display the value of label on 2nd page to the label of my default page?
Member 11525563
22-Feb-16 13:05pm
View
the 2nd page is loaded on the iframe of the default page.
Member 11525563
22-Feb-16 11:23am
View
the default page is the first page loaded.
Member 11525563
22-Feb-16 11:04am
View
I need to get the value of labels of the 2nd page so that on load of the default page the values should be displayed. If session is not possible for this, do you know any other way on how to do this??
Member 11525563
19-Feb-16 10:43am
View
The default.aspx.cs should load first then get the session["name"] on msg.aspx.cs
Member 11525563
19-Feb-16 10:41am
View
Deleted
The default.aspx.cs should load first then get the session["name"] on msg.aspx.cs
Member 11525563
19-Feb-16 10:10am
View
No, on Msg.aspx.cs the Session["name"] is not null so i want to pass its value on Default.aspx.cs
Member 11525563
19-Feb-16 9:03am
View
That's the main problem, because on Page_load of Default.aspx.cs i want to get the value/Session of Session["name"] that is on MSG.aspx.cs
Member 11525563
19-Feb-16 8:38am
View
On my code i'm having an error like this:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 43: prevEmail.Visible = false;
Line 44: }
Line 45: lblName.Text = Session["name"].ToString();
Line 46: }
Line 47:
Member 11525563
17-Feb-16 15:47pm
View
can you give me an example on how to do it on c#?
Member 11525563
17-Feb-16 9:59am
View
what i want to do is like this:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_target
but the html that will be send on iframe will be the HTMLBody of an msg file.
Member 11525563
17-Feb-16 8:28am
View
already done it without js, but still the html code that i want to put in the 2nd div is still replacing the 1st one
Member 11525563
17-Feb-16 8:12am
View
yes, and the button on "mydiv" also has an click event. so i need to place the 2nd html on the 2nd div without replacing the first div.
Member 11525563
16-Feb-16 12:59pm
View
Yes.
Member 11525563
16-Feb-16 12:44pm
View
still replacing the first tags above it. :(
Member 11525563
16-Feb-16 10:45am
View
the 2nd html is coming from .msg file
MailItem item = (MailItem)app.CreateItemFromTemplate(@"C:\Users\elayronj\Desktop\Sample\sample.msg", Type.Missing);
string body = item.HTMLBody;
my problem is, when i get item.HTMLBody and display on the div, its replacing the above html tags.
so the ouput will be like this:
<html>
<body>
<div id="2ndHtml">
(I want to put the other html codes from default.aspx.cs here without replacing the above html codes)
</div>
</body>
</html>
Show More