O'Reilly logo

Silverlight 4 User Interface Cookbook by Vibor Cipan

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

Implementing pop-up window (modal dialogs) in Silverlight

Pop-up windows are usually connected with ads, spam, and a bad user experience. They are intrusive, aggressive, and all but user friendly. However, often there is a justified need for breaking from the single-window experience and providing users with "pop-ups". From its third incarnation, Silverlight provides a special window type called ChildWindow, enabling you to do exactly that launch a new window from your application.

This scenario can be utilized in a number of different forms either in cases where you want to launch a simple dialog or a typical message box. In either case, ChildWindow is the way to go.

Getting ready

Start your Expression Blend 4 and then select New project... From ...

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