O'Reilly logo

Mastering LOB Development for Silverlight 5: A Case Study in Action by Rocío Serrano, Braulio Díez

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

LOB application case study: applying what we have learned

Let's investigate the following scenario. Our Bookings app is going to be integrated into the company intranet. Depending on the branch of the company, the employee belonging to the intranet will be displayed using different corporate colors. Is there any way for the current page hosting the bookings app to notify the application to change the colors/theme to the current valid corporate colors?

To simulate this, we have added two HTML buttons to the main hosting page. By clicking on these buttons, a JavaScript function will fire a call to a Silverlight method indicating the new set of colors to use (in our case, we will simulate this by changing the background of the menu bar, however, ...

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