08.01.2015 Views

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 12 ■ <strong>AJAX</strong> EXTENSIONS FOR <strong>ASP</strong>.<strong>NET</strong> 291<br />

For the next step, you should drag <strong>and</strong> drop the text boxes, button, <strong>and</strong> label into the<br />

panel that you just added. Once you’ve done this, the source code of your page will look<br />

something like this:<br />

<br />

<br />

<br />

<br />

Untitled Page<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

And that’s all you’ll need to do to get this application to become an Ajax one. Run the<br />

application, <strong>and</strong> you’ll see that when you run it, it no longer performs a full page refresh;<br />

it just does a partial Ajax-style one. You can see this in Figure 12-9.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!