How to Implement an Custom Image Control

R

Reiner Max

Hello

As i know images must be return as an aspx page in the src attribute from
the img tag.

But what is the best strategy to build a Custom Control with Desing Time
Support.

Regards

Max
 
R

Reiner Max

As i know images must be return as an aspx page in the src attribute from
Max, if I were you, I'd start off with the resources on MSDN:

ASP.NET Server Controls
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht
ml/cpcondevelopingwebformscontrols.asp)

Ok I'm guess my questions in the second part was unclear. ;-)
Also a better try.
What is the best strategy to build a Custom Control that's should
Create and return an Image.
How I support that this control will also shown on design time.

Thanks

Max
 
J

John Saunders

Reiner Max said:
Ok I'm guess my questions in the second part was unclear. ;-)
Also a better try.
What is the best strategy to build a Custom Control that's should
Create and return an Image.
How I support that this control will also shown on design time.

That's still a very broad question. Do you have a specific question on
design time?

One hint about image controls is that the HTML <img> tag can only fetch an
image from a URL. If your control is to display an image which it generates,
it will need to put the image data in a location which is reachable by a URL
and then generate <img src="location of temporary image">.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top