CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Requirements to run projects with CGDevTools components

Here you can find some answers to your questions, and also some tutorials.

by Alexander Bulei » 23 Apr 2014 15:04

Summary: If you get the unexpected behavior in your browser, you should check the below requirements!

Some unexpected behaviors:
  • Default style of elements in browser
  • Clicks and/or other events are not executed
  • Javascript errors in browser
  • JQGrid component doesn't fills with data

Requirements:

  1. In your project OutputFolder, where the EXE/DLL will be generated, you need to have the typical wwwroot folder, and you must have the subfolders jq, ui-themes and css. These subfolders should be copied from the instalation path \ Files folder.
    The easiest way to do this, for your Rad Studio project, is click in IDE's

    Code: Select all
    CgDevTools menu - Selected Project - Synchronize wwwroot Folder.


    Note

    You should also synchronize on every cgdevtools updates to update the javascript and css files!


    Note

    You should also refresh the browser cache (CTRL+F5)



  2. You should set either ServerController or each IWForm StyleSheet property
    • By FileName (Files\ui-themes\ThemeFolder\jquery-ui.css)
    • By Url (ui-themes/black-tie/jquery-ui.css), check wwwroot's ui-theme folder child folders .
    • Alternativelly, you can drop a TIWCGJQThemeSwitcher to each form, visible if you want the user to change the Theme.
  3. ServerController.ComInitialization must be ciNormal or ciMultiThreaded, never ciNone!

  4. You have to set a DocType in ServerController. We recommend using DocType for HTML 5:
    Code: Select all
    <!doctype html>

Addition Information:

Note

Note: Make sure, you've included your license key (IWCGLicenseKey) in dpr to avoid the DEMO message.



Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

Return to Documentation / Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.