We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,154 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Calling ASPX from within HTML

Hi there,

I've never done any work with ASP .NET files before so I apologise for a probably basic question.

I have a HTML file and a ASPX file. I need the HTML file to run the ASPX file and display it's contents. The idea is that the ASPX file will connect to a DB and insert something into a table (already working) and display an image. The rest of the html file should display below the image.

At this stage the HTML file displays with the image from the ASPX file not showing. Not sure about how to solve this.

Thanks, Bernie.

2
Contributors
2
Replies
22 Hours
Discussion Span
1 Year Ago
Last Updated
3
Views
bfitz
Newbie Poster
2 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Hi Bernie,

Can you paste your code here? Where do you host your files?

catherine sea
Junior Poster
126 posts since Jan 2008
Reputation Points: 25
Solved Threads: 22
Skill Endorsements: 0

It's ok now. I was able to get it working but I still have another overall issue with this. Basically I'm trying to find out who has opened an email by loading an ASPX script in the HTML body. It seems after further research that this method won't work as most mail systems will block <SCRIPT> tags in the HTML. Does anyone have any idea on another method maybe that this might be acheivable.

Thanks, Bernie.

bfitz
Newbie Poster
2 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0793 seconds using 2.72MB