c# - .ics files not opening in Chrome Mobile for Apple Devices -
i'm getting error 102 (): unknown file type. when trying download .ics file asp.net application. file looks this:
begin:vcalendar prodid:-//test version:2.0 method:publish begin:vevent uid:uid class:public dtstart:20130506t173000 dtend:20130506t190000 description;encoding=quoted-printable: $2500? summary:smoking cessation may priority:0 location:armc theater end:vevent end:vcalendar
my response code in c# this:
httpcontext.current.response.clear(); httpcontext.current.response.addheader("content-disposition", string.format("attachment;filename={0}.ics", "example")); httpcontext.current.response.contenttype = "text/calendar"; httpcontext.current.response.write(calendardata.tostring()); httpcontext.current.response.end();
any suggestions?
everything i've read says it's not possible through chrome mobile. if find answer, i'd interested well.
if it's help, know it's possible through safari mobile. answer here:
how add link add event iphone calendar safari?
with safari mobile, solution link .ics file, wasn't possible safari mobile until ios 5.
sorry, , best of luck!
Comments
Post a Comment