By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,734 Members | 828 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,734 IT Pros & Developers. It's quick & easy.

Displaying image from resource in aspx page

P: n/a
Hi,

I have 2 questions:

1) I have read the articles on how to embedd and image in a resource
file. I have also read the articles on how to open it from the
resource file and put it in a stream and display it in the
application.

However, what if the app is a Web app? How do I open an embedded
resource bitmap, and display it as an <image> on a web page(aspx)?

2) Also, I want to embedd an aspx page into my resource file and have
it load when the user clicks a button on the form of another aspx
page. So when the button is clicked it takes the page out of the
resource file and displays it in the browser. Is this doable?
Thank in advance,
Pete
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"peter" <cw****@megsinet.net> wrote
1) I have read the articles on how to embedd and image in a resource
file. I have also read the articles on how to open it from the
resource file and put it in a stream and display it in the
application.

However, what if the app is a Web app? How do I open an embedded
resource bitmap, and display it as an <image> on a web page(aspx)?

Peter,
Check out this link
http://samples.gotdotnet.com/quickst...urcefiles.aspx

2) Also, I want to embedd an aspx page into my resource file and have
it load when the user clicks a button on the form of another aspx
page. So when the button is clicked it takes the page out of the
resource file and displays it in the browser. Is this doable?


Not sure, never tried it... ;-)

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.able-consulting.com
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.