NET AJAX 247
Rendering the Charts within the TabPanel
For rendering the chart, we simply create a server side ASP.NET Image control,
imgPriceHistory within the
of the third TabPanel, and set the ImageUrl
property of the Image control to the corresponding PH.aspx page. This should all be done
in an asynchronous manner because all these controls reside within an UpdatePanel control
(as discussed later). Here??™s the markup:
Charts & Analytics
Price History Graph |
runat="server" />
|
...
< /cc1:TabPanel >
The graph is then generated by the PH.aspx page and set as the source of the
imgPriceHistory Image control to be rendered within the body of the TabPanel.
Pages:
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346