Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change content= on the fly
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00734568
Message ID:
00735195
Views:
19
>Anyone know how to change the properties of the html part of the .aspx form.
>
>In particular, I need to be able to change the content type on the fly.


You can change the outgoing response, but not the incoming request. Response.ContentType will change hte outgoing content type, but it must be set at the beginning of the code executing before any other output gets generated to the Response object.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform