AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Silverlight
  • Overview
  • Control in a dynamic or static page
  • Remark: Localization of the SilverLight 2 animation
  • Displaying a page containing a SilverLight control
  • Principle
  • Special case: Development computer or Vista server (or later) in IIS7 with the UAC enabled:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 28, the SilverLight control is no longer available.
Overview

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:
  1. On the "Creation" tab, in the "Integration" group, expand "Plug-in" and click "Silverlight control".
  2. Click where you want to create the control in the page. The control appears in the editor.
  3. 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.

Remark: Localization of the SilverLight 2 animation

The SilverLight 2 animation should be found in the image directory (<Project_Name>_WEB directory). 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 fo 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: Development computer or Vista server (or later) in IIS7 with the 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.
    1. Open the Microsoft Internet service manager ("Start .. Run .. Inetmgr.exe" from the Windows desktop).
    2. Double-click "MIME type".
    3. Select "Add".
    4. Specify:
      • the extension of the file: ".xap".
      • the MIME type: "application/x-silverlight-app"
    5. Validate.
Versión mínima requerida
  • Versión 14
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 12/06/2023

Señalar un error o enviar una sugerencia | Ayuda local