davidpowell
Posts: 14
|
| Posted: 10/06/2009, 4:18 AM |
|
Hi I hope someone can help me - I am new to codecharge, getting on ok, but stuck in trying to get a word document to load from a link.
in frontpage it is easy and a link address of file:///e:/test.doc will run word.
In codecharge, creating a link on a grid will get me the url of file:///e:/test.doc but on clicking it the link nothing happens!
The href diaglogue contains the following:
<a href="{doc_location}?" id="NewRecord1Link3">View/Print</a> with no parameters set.
What am I doing wrong??
_________________
David Powell |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 10/06/2009, 6:48 AM |
|
You need to retrieve the value for the link control from your database.
Edit your link control, select source as database and select tyhe field that contains the full path & Filename for your MS document
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
davidpowell
Posts: 14
|
| Posted: 10/10/2009, 2:10 PM |
|
Thanks for that I can now
- create a link that successfully views a .doc in 'live mode' in codecharge
- but when published clinking the link has no action.
It is not codecharge but my iis setup, as in frontpage exactly the same thing happens; can view the page in preview, or using a web address of c:\inetpub\wwroot\test\index.html but if I try \\localhost\test it is inactive.
I have been into the properties page of both web nodes, and in customised mime types the 'registered types box' is empty; I have added application/msword for types of doc to no avail.
I have spent two days googling this rather than troubling you againto see if I can find an answer with no joy.. can you help with this strange problem?
I have tried on another computer and get the same result! One running xp and one vista.
Desperate...
_________________
David Powell |
 |
 |
damian
Posts: 838
|
| Posted: 10/11/2009, 9:05 PM |
|
post a link so we can see what is happening....
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
|