Response.ContentType = "text/x-vcalendar" -


I'm trying to generate a vCalendar but I'm getting an error "The response is not available in this context"

Response Contact Type = "text / x-vcalendar"

I am using the vb.net, 1.1 framework.

Any thoughts?

-Smith0

If your code is wrapped in a class, then you react Will not be able to use You HttpContext.Current.Response.ContentType


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -