Server control that renders images

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default Re: Server control that renders images

    On Fri, 23 Apr 2004 15:35:36 -0400, Stephen Walch wrote:
    > Trying to think through how to create a server control (or user control)
    > that renders some HTML plus any needed images. The rendered HTML would
    > include IMG tags with URLs that point back to the same page in such a way
    > that my server control would have a chance to render the image as well.
    > There are plenty of examples of dynamic image rendering that use a PageLoad
    > event or HttpHandler (ASHX page) but I can not figure out how to contain
    > everything in one server control. Any suggestions or pointers to samples
    > would be much appreciated.
    >
    you can use TStreamImage for image rendering, or look at it's source
    (Delphi.NET). TStreamImage is free control, url :

    [url]http://www.antoniob.com/projects/PStreamImage.aspx[/url]

    That is basically Image descendant that have memorystream as source for
    image, all in one server control. you can read more about it on url above.

    --
    [url]http://www.antoniob.com/[/url]
    remove XremoveX from e-mail address
    AntiSpam Fodder:
    [email]UCE@FTC.GOV[/email]
    Antonio Bakula Guest

  2. Similar Questions and Discussions

    1. User Control Renders On Separate Line
      I've created a user control that I then place in a panel. The reason it's in a panel is that it's part of search criteria that I hide/show panels...
    2. Custom control renders table but doesn't resize at design time.
      Hi all, I have a control, that basically is my own version of the datagrid, except that is renderers purely readonly tabular information. When...
    3. Child control renders at desing-time as if it is in run-time...
      Hi, I have a problem with design-time. The problem is rather hard to describe in a few sentences ... so I hope someone will reply asking for more...
    4. Implementing Control Designer Class for Composite Server Control
      I created a custom composite server control with 2 literals and 1 text box. The control displays fine in internet explorer, but doesnt display...
    5. Saving Images within a Server Control
      I would like to save images within the development of a control so it would be displayed in certain tags without the developer having to point to the...
  3. #2

    Default RE: Server control that renders images

    Hi Stephen,

    Does the community's reply make sense to you?

    In asp.net, there are another way of dynamically generate image. This way,
    you may change an assistant page's ContentType to "image/jpeg", then you
    can use GDI+ drawing image and output to the assistant page OutputStream.
    Then, to use it, you may place a <img> tag, which point to this assistant
    page.

    For more information, please refer to:
    "Create Snazzy Web Charts and Graphics On the Fly with the .NET Framework"
    [url]http://msdn.microsoft.com/msdnmag/issues/02/02/ASPDraw/default.aspx[/url]

    Also, these 2 articles also may give you useful information about this
    technology.

    Thank you for your patience and cooperation. If you have any questions or
    concerns, please feel free to post it in the group. I am standing by to be
    of assistance.

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "as is" with no warranties and confers no rights.

    Jeffrey Tan[MSFT] Guest

  4. #3

    Default RE: Server control that renders images

    Sorry, the 2 articles links are:
    "3D Pie Chart in ASP.NET"
    [url]http://www.codeproject.com/aspnet/3dpiechart.asp[/url]

    "ASP.NET Controls to prevent automatic registrations from bots"
    [url]http://www.codeproject.net/aspnet/antiauto.asp[/url]

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "as is" with no warranties and confers no rights.

    Jeffrey Tan[MSFT] Guest

  5. #4

    Default RE: Server control that renders images

    Hi Stephen,

    Does my reply make sense to you? Do you still have any concern on this
    issue?

    Please feel free to feedback. Thanks

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "as is" with no warranties and confers no rights.

    Jeffrey Tan[MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139