Drawing a graph on a custom web control in ASP.Net 2.0 and c#
I have the need to design a web control whose job will be to draw a graph (using GDI+ functions) on its surface; looking on line I found a number of examples on how to draw on ASP.Net Web Forms (using either a stream in the page's response or saving the image onto a file and having an image control display that). These examples are however based on a Page object and offer very little explanation of how one can arrange the graphs position in relation with other controls on the form.
Is there a way for me to design a custom web control which will draw the graph on its surface? Can I access the control's surface? An example would be greatly appreciated.