
Originally Posted by
Wolffy
I'm no ASP'er but I think the following should work:
Code:
<%
Response.Write(
"<a href="Event_" & event_id & ".ics">Click here to download the event into your Outlook calendar.</a>")
%>
Close, but I had to read event_id from a querystring first, and move the write text up to the same line and double up the quotes "" and add the correct path to the file. Then find which sub-function would actually print it for all users and still write the file correctly, and added some line breaks to make it pretty. I ended up with something like:
Code:
Dim ID
ID = CCGetFromGet("event_id","x")
Response.Write("<a href=""/directory/Event_" & ID & ".ics"">Click here to download the event into your Outlook calendar</a><br><br>")
Which seems like its working now! Thanks again.
MaxxMills84, June 23rd, 2009 06:02 PM
Bookmarks