D
Damien RICHARD
How to modify the default doctype in asp.net page?
I wish use xhtml 1.1 and not xhtml 1.0 transitional
I wish use xhtml 1.1 and not xhtml 1.0 transitional
Ken Cox said:Salut Damien,
The templates for pages are stored in a folder such as C:\Program
Files\Microsoft Visual Studio
8\Common7\IDE\VWDExpress\ItemTemplates\Web\VisualBasic\1033 inside a .zip
file.
I've haven't tried it, but it looks like you could make a backup of the
original zip, extract webform.aspx from the zip, substitute the doctype
you want, and zip it up again.
There seem to be a couple of similar folders (one for cached templates) so
you might have to use trial and error to get the right one.
Or, you mgiht want to create your own custom Visual Studio templates with
the correct doctype. There's a procedure to do that here:
http://msdn2.microsoft.com/en-us/library/ms247065.aspx
Let us know how you make out?
Ken
Microsoft MVP [ASP.NET]
Damien RICHARD said:How to modify the default doctype in asp.net page?
I wish use xhtml 1.1 and not xhtml 1.0 transitional
Ken Cox said:Salut Damien,
The templates for pages are stored in a folder such as C:\Program
Files\Microsoft Visual Studio
8\Common7\IDE\VWDExpress\ItemTemplates\Web\VisualBasic\1033 inside a .zip
file.
I've haven't tried it, but it looks like you could make a backup of the
original zip, extract webform.aspx from the zip, substitute the doctype
you want, and zip it up again.
There seem to be a couple of similar folders (one for cached templates) so
you might have to use trial and error to get the right one.
Or, you mgiht want to create your own custom Visual Studio templates with
the correct doctype. There's a procedure to do that here:
http://msdn2.microsoft.com/en-us/library/ms247065.aspx
Let us know how you make out?
Ken
Microsoft MVP [ASP.NET]
Damien RICHARD said:How to modify the default doctype in asp.net page?
I wish use xhtml 1.1 and not xhtml 1.0 transitional
Damien RICHARD said:How to modify the default doctype in asp.net page?
I wish use xhtml 1.1 and not xhtml 1.0 transitional
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.