User-1952463932 posted
You can't get there from here!
At least that's what I seem to be reading given what I want to do. But that doesn't seem right because the base components do what I want to do and so I would think that I should be able to do it the same way that they do. Suppose I wanted to
create my own Image server control. I could add a new server control to my project and add a text property called ImageUrl. That's easy enough. But now when I override RenderContents I only have HtmlTextWriter and not the context.
On the other hand if I create a HttpHandler its very easy to get the context but then I can simply drag and drop the handler onto my aspx page. Of course the regular Image control does exactly this. So my question is how does it do it, and how
can I duplicate it.
Thanks in advance.