The code that was written to
implement this functionality was straight ASP.NET and C#.
You then enhanced this application using ASP.NET AJAX server-side controls. You
used UpdatePanel controls to wrap the various page panes that get updated to provide
partial asynchronous page updates. A button on the page provided a drill down into
some more advanced analytics of the historical stock ticker data, which demonstrated
how you could add an update to the page without triggering a full-page refresh and the
associated ???blink.???
CHAPTER 10 ?– BUILDING A SAMPLE APPLICATION USING ASP.NET AJAX 255
The example showed how to embed graphics??”generated using a third-party control,
the open source ZedGraph??”within the page by hosting them on external pages and generating
the HTML markup that would reference them on the main page. This HTML was
embedded within an UpdatePanel, so again it didn??™t cause a full-page refresh when the
graphic was downloaded and rendered on the page.
The example implemented two graphics: first, a basic line graph containing the price
history of the stock, and second, a compound line graph containing three lines (the price
history, the lower Bollinger band, and the upper Bollinger band).
Pages:
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356