Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Are ASP.NET pages XHTML compatible?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Are ASP.NET pages XHTML compatible?

 Post Reply Post Reply
Author
joel View Drop Down
Newbie
Newbie


Joined: 29 January 2009
Location: Canada
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote joel Quote  Post ReplyReply Direct Link To This Post Topic: Are ASP.NET pages XHTML compatible?
    Posted: 29 January 2009 at 11:48am
Hi...........,
Are ASP.NET pages XHTML compatible?

Back to Top
velly View Drop Down
Newbie
Newbie


Joined: 11 February 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote velly Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2009 at 6:19am
Yes. It is compatible. Individual controls render markup that is compatible with the XHTML 1.1 standard. It is up to you, however, to include the appropriate document type declaration and other XHTML document elements. ASP.NET does not insert elements for you to ensure XHTML compatibility. 
Back to Top
vikas View Drop Down
Newbie
Newbie
Avatar

Joined: 23 January 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote vikas Quote  Post ReplyReply Direct Link To This Post Posted: 17 February 2009 at 9:50am
Yea of course both are compatible together..
Back to Top
scottage View Drop Down
Newbie
Newbie


Joined: 20 August 2004
Location: United Kingdom
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottage Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2009 at 1:12pm
Which IDE are you using? Visual Studio 2005/8 and Visual Web Developer 2005/8 CAN both generate XHTML; check the Tools > Options menu, you'll see the check boxes to use. Be careful; XHTML compliance does not mean correct semantic markup - the Login control (for instance) generates valid XHTML but it is semantically incorrect (it uses a table where one should not be used), you'll also find other controls (the navigation controls are a good example) where they are XHTML compliant but sematically incorrect. You can control the output of any server control by using a control adapter to modify the outout of the control to be both XHTML compliant and sematically correct.
Back to Top
caster View Drop Down
Newbie
Newbie


Joined: 25 April 2009
Location: Bellville
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote caster Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2009 at 2:39pm
scottage is right, the IDEs produce XHTML compliant code but uses tables quite a lot, especially for repeater data controls. There is a css-friendly control adapter that was initially written for ASP.NET 2.0. Check it here http://code.google.com/p/aspnetcontroladapters/
Back to Top
frida189 View Drop Down
Newbie
Newbie


Joined: 30 October 2010
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote frida189 Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2010 at 10:40am
Yes, Individual controls render markup that is compatible with the XHTML 1.1 standard.
Back to Top
Panzertechnologies View Drop Down
Newbie
Newbie


Joined: 07 March 2013
Location: India
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Panzertechnologies Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2013 at 8:31am

Hire Dot NET Developers, ASP NET Programmer


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.