Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
2.25/5 (4 votes)
See more:
Hi, I am able to draw a graph and save it in image format and then retrieve it to the browser but now I don't want to save it in image and retrieve instead I need to display directly in browser.
I am using 2.0 Framework and I want to use only .net components not with any other dlls(3rd party controls).

Can any one guide me.
Posted
Updated 19-Dec-10 17:58pm
v3
Comments
Abhinav S 19-Dec-10 23:45pm    
I'm afraid your question is not very clear - could you explain what you need a little bit more?
Sandeep Mewara 20-Dec-10 0:57am    
This part "I don't want to save it in image and retrieve instead I need to display directly in browser" is not clear. can you re-phrase and try to explain again?
Manfred Rudolf Bihy 20-Dec-10 4:07am    
I think what you are trying to convey is the use of an aspx in an image tag
<img src="./calcImage.aspx" ... >
where the calcImage.aspx first calculates the image and then returns that to the browser. Is this what you want?
Manfred Rudolf Bihy 21-Dec-10 8:39am    
Do you still need help?
Mithun P 22-Dec-10 6:35am    
yes it first calculates the image and return to browser but i dont want like that. I want it to calculate directly in browser...

1 solution

The creation of the graph has to take place on the server because it is using compiled code behind to do it. The only option you have is to generate the image on the server, pipe it out to the client, and then free the image resources on the server upon completion.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900