Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > ImageBox refresh

Reply
Thread Tools

ImageBox refresh

 
 
PhillyJoeInPitt
Guest
Posts: n/a
 
      03-30-2009
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.
 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      03-31-2009
Did you mean to post this to the Web Services newsgroup?

--
John Saunders | MVP - Connected System Developer

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop Window Does Not Refresh When Roaming =?Utf-8?B?R2F6VUs=?= Wireless Networking 2 07-11-2005 07:44 AM
JSP: Session parameters vanish on refresh. How do I keep them on refresh? Per Magnus L?vold Java 1 10-08-2004 02:52 PM
How do i refresh a datagrid from a pop up window without having to refresh the whole page? Pkenty ASP .Net Web Controls 0 05-28-2004 07:06 AM
using refresh button on the menu bar to refresh two frames. Jawahar Rajan ASP General 1 10-01-2003 09:20 PM
Problem with refresh button breaking automatic refresh brian lanning ASP .Net 0 07-29-2003 07:57 PM



Advertisments
 



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