0

Hey guys, quick question on the best way to implement ASP into HTML.

Right now i have a finished web form in a default.aspx file and a Default.aspx.vb file.

So two files:
Default.aspx
Default.aspx.vb

My question is how would I nest or call this on an html page? through an iframe? a div? I've been looking for tutorials but maybe i'm not searching the right terms.

if you have any links to youtube tutorials or if there's another thread that already handles this, please link me.

Thanks

ps. Mods, if this is the wrong place to post this, please tell me where to push this to

2
Contributors
4
Replies
15
Views
3 Years
Discussion Span
Last Post by JorgeM
0

Why would you be trying to display an asp.net page via an HTML file? Why not access the asp.net page directly?

If you can explain the purpose of what you are trying to accomplish, maybe we can suggest other alternative?

If you absolutely had to display an asp.net via an HTML page, yes you could use an iframe.

More information would be helpful...

0

well i want to display it inside the page because I have other elements going on around the page that weren't built in asp so i was wondering if there was a way (i guess through an iframe) to do that.

Could you point me to the best implementation of an asp.net inside an iframe?

0

well i want to display it inside the page because I have other elements going on around the page that weren't built in asp

An asp.net (.aspx) page can contain asp.net controls as well as other common components such as htmlelements, javascript, styles, etc... Default.aspx can contain all your as asp.net controls as well as HTML. Your .aspx.vb page will contain your vb.net code.

But in any case, to answer your question, yes you can include an iframe element on the HTML page and set the source of the iframe element to be that of the asp.net page.

I'm only asking and discussing the options just to provide you with alternate ideas and possible solutions.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.