Thursday, March 22, 2012

Setting the MIME type of my ASP.NET page...

Hi everyone!
I'm quite new to the ASP.NET world...I was looking for an information:
I need my .aspx page to use a different MIME type (I've to generatedinamically an iCalendar, and the MIME type is text/calendar)...but Ireally don't know how to specify this in the .aspx (I didn't see aproperty or something to specify the MIME type for the page)
Can you help me? :)
LastHope

You'll find a ContentType property on the Page's Response that can be used to set it to the appropriate value.


Thank you! :)
LastHope

0 comments:

Post a Comment