ImageBox refresh

Discussion in 'ASP .Net Web Services' started by PhillyJoeInPitt, Mar 30, 2009.

  1. Hello,
    I am creating a stock market charting application.
    Users select a stock and time period and hit a 'Draw Chart' button.
    In code, using graphic's objects, I draw an image of the stock's chart.
    Next, I save the image.
    Last, I load an imagbox with the newly created image's url.

    This works fine for the 1st stock selected.
    The problem is when a 2nd, 3rd, 4th... etc. stock is selected and the
    draw button is hit, the imagebox maintains the 1st image only.
    However, If I hit 'F5' or the refresh symbol (IE) the correct chart image
    is loaded into the imagebox. I.E., 1st GE is chosen and the draw button is
    hit: the chart correctly displays GE.
    If IBM is selected next and the draw button is hit, the imagebox retains
    the GE chart. If I hit F5 then IBM correctly displays.

    After extensive research I cannot find a way to cause the 'correct' type of
    refresh programatically. Redirects of all sorts cause the page to return to
    its intial state: blank chart, date boxes etc. Again, the goal is to get the
    latest stock chart image to display in the imagebox, not zero everything out.

    Thank you for your time and, of course, any ideas would be greatly
    appreciated.
    PhillyJoeInPitt, Mar 30, 2009
    #1
    1. Advertising

  2. Did you mean to post this to the Web Services newsgroup?

    --
    John Saunders | MVP - Connected System Developer
    John Saunders, Mar 31, 2009
    #2
    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. Bryan G
    Replies:
    1
    Views:
    443
    Jason Coyne Gaijin42
    Apr 3, 2004
  2. brian lanning
    Replies:
    0
    Views:
    581
    brian lanning
    Jul 29, 2003
  3. Per Magnus L?vold
    Replies:
    1
    Views:
    5,094
    John C. Bollinger
    Oct 8, 2004
  4. Pkenty
    Replies:
    0
    Views:
    381
    Pkenty
    May 28, 2004
  5. Jawahar Rajan
    Replies:
    1
    Views:
    279
    Adrienne
    Oct 1, 2003
Loading...

Share This Page