How to Implement an Custom Image Control

Discussion in 'ASP .Net Building Controls' started by Reiner Max, Jul 14, 2004.

  1. Reiner Max

    Reiner Max Guest

    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
    Reiner Max, Jul 14, 2004
    #1
    1. Advertising

  2. "Reiner Max" <> wrote in message
    news:7jjazbtlob6j$...
    > 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.


    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)
    --
    John Saunders
    johnwsaundersiii at hotmail
    John Saunders, Jul 15, 2004
    #2
    1. Advertising

  3. Reiner Max

    Reiner Max Guest

    >> 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.

    >
    > 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
    Reiner Max, Jul 16, 2004
    #3
  4. "Reiner Max" <> wrote in message
    news:1oln5j11xubd7$.1cg58v6oaewlf$...
    > >> 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.

    > >
    > > 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.


    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">.
    --
    John Saunders
    johnwsaundersiii at hotmail
    John Saunders, Jul 16, 2004
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?V2ViTWF0cml4?=
    Replies:
    3
    Views:
    4,228
    Joe Fallon
    Dec 9, 2004
  2. Thomas Ekegren

    Building a custom control that implement table server control

    Thomas Ekegren, Jul 19, 2003, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    244
    Victor Garcia Aprea [MVP]
    Jul 20, 2003
  3. Matt Sokol
    Replies:
    2
    Views:
    375
    Theo Tillotson
    Aug 7, 2003
  4. thxBruin

    how to implement a custom draw control?

    thxBruin, Sep 15, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    123
    thxBruin
    Sep 15, 2003
  5. thxBruin

    how to implement a custom draw control?

    thxBruin, Sep 15, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    113
    thxBruin
    Sep 15, 2003
Loading...

Share This Page