Mobile development DOCTYPE and Content TYPE

Stanton_Roux
Stanton_Roux used Ask the Experts™
on
Hi There
I am creating a mobile website.
And testing it on ready.mobi

I have set my DOCTYPE to the following
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

On page preinit I am setting my ContentType to
Page.Response.ContentType = "application/xhtml+xml";
I have tried testing in the Mobi ready website but it still says my XML mobile profile is incorrect what else do I need to do.

All my html tags and server side tages are configured correctly.

Thanks
Stanton
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2010
Commented:
Use mobile tool kit to develop the mobile application

Please check the following tutorial for .NET mobile
http://www.w3schools.com/dotnetmobile/default.asp

<!DOCTYPE wml PUBLIC '-//WAPFORUM//DTD WML 1.1//EN' 'http://www.wapforum.org/DTD/wml_1.1.xml'>

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial