|
|
|
|
|
- Overview
- Control in a dynamic or static page
- Note: Localization of the SilverLight 2 animation
- Displaying a page containing a SilverLight control
- Principle
- Special case: Vista (or higher) development workstation or server running IIS7 with UAC enabled:
Warning
From version 28, the SilverLight control is no longer available.
Control in a dynamic or static page The SilverLight control is used to display a SilverLight 2 animation in a WEBDEV page. To create a SilverLight control: - On the "Creation" tab, in the "Integration" group, expand "Plug-in" and click "Silverlight control".
- Click where you want to create the control in the page. The control appears in the editor.
- In the control description, associate the animation (".xap" file) with the SilverLight control.
To view the characteristics of the control, select "Description" in the context menu. Note: Localization of the SilverLight 2 animation We recommend placing the SilverLight 2 animation in the images folder (<Nom_Projet>_WEB folder).. The dependency files of the animation (images, text files, ...) must also be copied into the <Project_Name>_WEB directory. If the animation uses JavaScript (.js) files, these files must be included in the page ("Advanced" tab of the page description). Displaying a page containing a SilverLight control Principle To display a SilverLight control, the Microsoft framework must be installed on the computer. If this framework is not installed on the computer of the Web user, a window proposes to download and install "Microsoft Silverlight". After setup, simply refresh the page to display it correctly. Special case: Vista (or higher) development workstation or server running IIS7 with UAC enabled: - If the computer is running Windows Vista (or later), the setup of "Microsoft Silverlight" must be performed as administrator.
- In some cases, a modification must be performed in IIS 7 in order for the ".xap" file to be interpreted on the server or on the development computers (during the tests). The corresponding MIME type must be added.
- Open the Microsoft Internet service manager ("Start .. Run .. Inetmgr.exe" from the Windows desktop).
- Double-click "MIME type".
- Select "Add".
- Specify:
- file extension: ".xap".
- MIME type: "application/x-silverlight-app".
- Validate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|