Print Search Rate
    
   04-23-2003, 3:38 PM
Troubles with SharpGrid on the Web

Note: Before continuing, please ensure that you have the latest hotfix installed: SharpGrid Downloads.

SharpGrid on the Web

SharpGrid is just like every other ActiveX control that is placed on the web. In order to have SharpGrid display correctly on a client machine, SharpGrid's CAB file and LPK file must have relative paths pointing to your server. (Do not reference your files via HTTP protocol.) It is recommended that you include the version number in the 'codebase' attribute of the object tag. This will ensure that when a new CAB file is added to the server, it will inform the clients machine that it needs to download the update.

LPK File

Internet Explorer requires that all ActiveX controls have an LPK file created for licensing information on each ActiveX control on that page. For more information on this, please click here.

CAB File

The CAB file simply includes files that are associated with the control. The files included are the actual OCX file itself along with an INF file. The INF file includes SharpGrids' CLSID along with the version of the included OCX file.

Sample LPK and CAB object tags in a webpage

< !---loading licensing information with lpk file --- >
<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331">
   <PARAM NAME="LPKPath" VALUE="/myserver/sharpgrid.lpk">
</OBJECT>

<!---loading sharpgrid--->
<object classid="clsid:3591A50E-18FD-42BC-8D10-6C93BDAF2DA0" id="SGGrid1" codebase="/myserver/SG20o.cab#version=2,0,0,1011" width="95%" height="650"></object>

If you have taken all of this information into consideration and your website is still not working, please send an e-mail to SharpGrid support.


GrapeCity » Frequently Aske... » SharpGrid FAQ » Troubles with SharpGrid on the Web
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.