C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-25-2008, 04:27 AM   #1
train spotter
 
Join Date: Aug 2001
Location: near a computer
Posts: 3,451
HotSpot image controls (web)

MSVC 2005, C# ASP.NET Web page

I need to create a web page to display an image.
I create the image as a Bitmap on the fly (drawn from DB data).
The image may vary in size, as it is a line drawing (image + graph) it has to display in actual size (or detail is lost).
I need the image to respond to mouse clicks (hotspots).

I am currently creating a new page with a hotspot image control. I am passing the bmp to a dummy page (via Session) and streaming the image into the hotspot control page. The hotspots are then set in the hotspot control (via Session).

This results in a few undesirable display issues....

My problem is I can't set the 'image' property of the hotspot image control to a stream from the bitmap or bitmap object. (without saving the bitmap and giving the path, which I am reluctant to do....)

Any suggestions?
__________________
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche

"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best

"If you are going through hell....keep going."
Winston Churchill
novacain is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem reading tiff image files? compz C++ Programming 9 10-30-2009 04:17 AM
Simple Image Processing ejohns85 C++ Programming 4 03-19-2009 12:10 PM
C++ Image Processing Homework (dynamic 2d array binary i/o trouble) Xixchil C++ Programming 4 03-02-2003 09:12 AM
Tab Controls - API -KEN- Windows Programming 7 06-02-2002 09:44 AM


All times are GMT -6. The time now is 02:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22