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:
- 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)
- 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.
- ServerController.ComInitialization must be ciNormal or ciMultiThreaded, never ciNone!
- You have to set a DocType in ServerController. We recommend using DocType for HTML 5:
- Code: Select all
<!doctype html>
Addition Information:
- DocType reference: http://www.w3schools.com/tags/tag_doctype.asp
- IE insists in having css quirks mode while other browsers using strict mode (please check http://www.quirksmode.org/css/quirksmode.html and http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx for more information.
![]() |
---|
Note: Make sure, you've included your license key (IWCGLicenseKey) in dpr to avoid the DEMO message. |
Best Regards.