it's the same as with regular ASP.NET you set the Response's context type. and as for the response encoding, you have the globalization settings in web.config. you need that these will match the actual encoding (of the template file - how it is physically saved on the hard disk), and to your META/content tag if it exists
On Wed, Oct 15, 2008 at 8:32 PM, James Curran <[EMAIL PROTECTED]>wrote: > > this.HttpContext.Response.ContentType = "text/x-json"; > > > On Wed, Oct 15, 2008 at 10:20 AM, Brian Chan <[EMAIL PROTECTED]> wrote: > > Can anyone tell me how I can explicity set the mime-type of the response > > returned by my controller? > > > -- > Truth, > James > > > > -- Ken Egozi. http://www.kenegozi.com/blog http://www.musicglue.com http://www.castleproject.org http://www.gotfriends.co.il --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
