O'Reilly logo

Microsoft Silverlight 4 Business Application Development Beginner's Guide by Frank LaVigne, Cameron Albert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - getting Silverlight onto a web page

We need to get both the logo and the navigation buttons on the same page. In this exercise, we're going to bring some new life to our old page:

  1. Open up the CakeNavigationButtons solution in Visual Studio.
  2. Let's take a closer look at the CakeNavigationButtons.Web project.
  3. The project looks much like any other ASP.NET project, except for the ClientBin directory.
    Time for action - getting Silverlight onto a web page
  4. Double-click on the CakeNavigationButtonsTestPage.html to open it in our editor and scroll down the page until you see the following code:
    <div id="silverlightControlHost"> <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required