Dynamic HTML Meta

bungpeng

Senior Contributor
Joined
Sep 10, 2002
Messages
906
Location
Malaysia
How do I make this HTML Meta dynamic in all the page in my web application?

<meta http-equiv=Content-Type content="text/html; charset=UTF-8">

For example, the "UTF-8" may change to something else...

TQ!
 
You could add a literal control to the HTML of the page and set it's value to the string you desire at runtime.
However isn't the charset attribute autogenerated based on the characterset of the page? If so I would recomend changing it via the Page object rather than just faking the HTML source.
 
PlausiblyDamp said:
You could add a literal control to the HTML of the page and set it's value to the string you desire at runtime.
However isn't the charset attribute autogenerated based on the characterset of the page? If so I would recomend changing it via the Page object rather than just faking the HTML source.

How to use Page Object to do that?
I have no ideas, please help!
 
Back
Top