S. capital markets: Dow Jones Industrial Average
(DJIA), NASDAQ, and S&P500. One approach is to place a
tag in your page with
refresh values that then force the page to refresh itself in regular intervals based on the provided
value. But if you wanted to make the page behave more like a desktop application
and update the data without page refresh, AJAX is definitely the recommended path.
By now, you have seen the basics of the ScriptManager, UpdatePanel, UpdateProgress,
and the Timer server controls in ASP.NET AJAX and have a good understanding of their
functionality. So, with that in mind, let??™s build a quick application that does exactly what
was talked about earlier: displays the three main indices of the American capital markets
and continues to update the page with (simulated) real-time data without any page
refresh.
109
C H A P T E R 6
To accomplish this, create a new ASP.NET AJAX-enabled web site. Because the
ScriptManager control has already been placed on the page, drop new UpdatePanel,
UpdateProgress, and Timer controls onto the page called MarketData.
Pages:
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184