Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!

  • Administrators
Posted

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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...