Advice on design approach (please!)

Discussion in 'ASP .Net Building Controls' started by Erik J Sawyer, Sep 6, 2003.

  1. I want to build a control/component that will display
    graphics within an ASP.Net page. I want the output to be
    very cross-browser compatible.

    My first thought was to use a custom server-side web
    control (possibly inherited from the Image control), but
    it appears that the rendering of ASP.Net server controls
    is limited to inserting text into the HTML stream. I
    assume that inserting a graphical MIME stream into this
    wouldn't produce the desired result.

    I have found a (very) few samples on the web that
    generate graphics, but most of them sit behind an <img>
    link, essentially using ASP.Net as if it was CGI. Is
    this the best approach?

    Help!
    Erik J Sawyer, Webmaster
    Kingsport City Schools
    www.k12k.com
     
    Erik J Sawyer, Sep 6, 2003
    #1
    1. Advertising

  2. Erik J Sawyer

    Lucas Tam Guest

    "Erik J Sawyer" <12K.com> wrote in news:395d01c374b7
    $d0662c60$:

    > I have found a (very) few samples on the web that
    > generate graphics, but most of them sit behind an <img>
    > link, essentially using ASP.Net as if it was CGI. Is
    > this the best approach?


    If you want to output the dynamically generated image directly without
    storing to disk, then yes - you'll need to call a secondary ASP page which
    outputs the image via a response stream.


    --
    Lucas Tam ()
    Please delete "REMOVE" from the e-mail address when replying.
    http://members.ebay.com/aboutme/coolspot18/
     
    Lucas Tam, Sep 6, 2003
    #2
    1. Advertising

  3. Erik J Sawyer

    Shawn B. Guest

    There's an example of a webcontrol generating an image...

    http://www.codeproject.com/aspnet/antiauto.asp


    Thanks,
    Shawn



    "Lucas Tam" <> wrote in message
    news:Xns93EEB7C05FDE3nntprogerscom@140.99.99.130...
    > "Erik J Sawyer" <12K.com> wrote in news:395d01c374b7
    > $d0662c60$:
    >
    > > I have found a (very) few samples on the web that
    > > generate graphics, but most of them sit behind an <img>
    > > link, essentially using ASP.Net as if it was CGI. Is
    > > this the best approach?

    >
    > If you want to output the dynamically generated image directly without
    > storing to disk, then yes - you'll need to call a secondary ASP page which
    > outputs the image via a response stream.
    >
    >
    > --
    > Lucas Tam ()
    > Please delete "REMOVE" from the e-mail address when replying.
    > http://members.ebay.com/aboutme/coolspot18/
     
    Shawn B., Sep 7, 2003
    #3
    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. KavvY
    Replies:
    1
    Views:
    396
  2. Mr Gordonz

    Advice on design approach and principles

    Mr Gordonz, Aug 4, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    367
    Steve C. Orr, MCSD
    Aug 4, 2003
  3. Mudcat
    Replies:
    9
    Views:
    427
    Dennis Lee Bieber
    Mar 21, 2006
  4. Erik J Sawyer

    Advice on design approach (please!)

    Erik J Sawyer, Sep 6, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    129
    Allan Doensen
    Sep 8, 2003
  5. Ken Fine
    Replies:
    2
    Views:
    122
    Ken Fine
    Aug 4, 2004
Loading...

Share This Page