PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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: 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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. In the page editor, click "Other" in the toolbar of controls, then click (or select "Insert .. Control .. Silverlight").On the "Creation" pane, in the "Integration" group, click "Silverlight".On the "Creation" pane, in the "Integration" group, expand "Plug-in" and click "Silverlight control".
  2. Click the position where the control will be created in the page. The control appears in creation mode.
  3. In the control description, associate the animation (".xap" file) with the SilverLight control.
To display the control characteristics, select "Description" from the popup menu of control.

Note: 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 is using Javascript files (.js), 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 the setup, all you have to do is refresh the page in order to display it properly.

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.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment