469,890 Members | 2,321 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,890 developers. It's quick & easy.

Include HTML into ASPX and buttons

Hi everyone

I'm an situation that I don't know how to solve. First, I have several files
which will be generated from database and saved under html format and store
in a different folder (this was created by so else which does not include
buttons for me).

Because I need to include those files into my application. I have used this:
Response.Redirect("filename.html") to output the entire html file into my
aspx page. Unfortunately, I want to still have to maintain my page to keep
going further to next instructions. I want to have 2 buttons below those
files. I don't know how to do that. I thought if using placeholder can solve
the problem and how?

Thanks.
Nov 18 '05 #1
1 1732
Using an asp:placeholder and loading the HTML file contents into that (via
file IO) would probably work to get you what you're looking for.

You could also try using Server.Execute of your HTML page within your ASPX
page. See
http://msdn.microsoft.com/library/en...ecutetopic.asp
and/or
http://msdn.microsoft.com/library/en...cutetopic1.asp

- Tom Kiefer
thogek @ earthlink . net
"Hai Nguyen" <ha******@neo.tamu.edu> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi everyone

I'm an situation that I don't know how to solve. First, I have several files which will be generated from database and saved under html format and store in a different folder (this was created by so else which does not include
buttons for me).

Because I need to include those files into my application. I have used this: Response.Redirect("filename.html") to output the entire html file into my
aspx page. Unfortunately, I want to still have to maintain my page to keep
going further to next instructions. I want to have 2 buttons below those
files. I don't know how to do that. I thought if using placeholder can solve the problem and how?

Thanks.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by sushi | last post: by
2 posts views Thread by Tor Inge Rislaa | last post: by
2 posts views Thread by Kraai | last post: by
4 posts views Thread by David Jones | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.