Results 1 to 4 of 4

Thread: image or stream?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128

    image or stream?

    hello,
    as some of you might have seen from previous posts, i have a vb.net web application.
    my application uses teeChart to produce an image file.
    this image file is saved at the server location.and is then written to an sql database.
    i load the image into a dataset that is used as the datasource for a crystal report that has been exported into a pdf file.

    i need to display a "preview" style window in the browser.
    i have tried to use the image as an asp:image object, but when another image is create i dosn't refresh until F5 is hit.

    i think this is beacuse the image is held on the server, and is being displayed on the client.

    if i try to use the reload page function the text fields that set the properties for the creation of the image get set to blank, so that dosn't work!

    Will saving the teeChart image to memory steam allow me to refresh that image?
    if so how, and what do i need to put in the aspx file (at the moment i have "<asp:image id=trendImage>")

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128
    its ok, i have solved this now

  3. #3
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    how did u do it?
    \m/\m/

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128
    i set the image.url to an aspx file that runs the code to produce the teeChart image as a stream and writes it.
    not the jpeg file.

    tom

Posting Permissions

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



Click Here to Expand Forum to Full Width