Here is an example...
http://www.developer.com/d
Also, there are third party controls that might help with this. I did something similar using Teleriks controls a while back. They are commercial though.
Good Luck!
Main Topics
Browse All TopicsI am trying to create a page that queries a database and draws an image to the page with a chart of the data. The problem is that I cant figure out how to write both text to the page AND an image(the chart).
I could write my text and use <img src="drawChart.aspx?value1
Any ideas or examples I can look at?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is an example...
http://www.developer.com/d
Also, there are third party controls that might help with this. I did something similar using Teleriks controls a while back. They are commercial though.
Good Luck!
I know how to draw an image to page but once I set content type to image/jpeg it just shows the image. Otherwise I get my text with a bunch of bytes that represents the image. If I make the part that creates an image into a control, will this solve the problem or will I still have to pass parameters to it in the URL?
Are there any code sampels out there that demonstrate this? I've never created a control before.
Have you taken a look at this control..
http://www.eggheadcafe.com
It might be what you are looking for.
Good Luck!
Business Accounts
Answer for Membership
by: jaime_olivaresPosted on 2008-10-18 at 20:52:06ID: 22750937
you cannot "draw on the page", but you can write into a temporary image file, and refer as a regular <img>