Does a asp:Wizard have to output a html table? I want it to output a simple div tag
views:
17answers:
2My experience is that it is not possible in a convenient way without some help of a 3rd party library. I really recommend you to use CssFriendly for this purpose. It is free and very lightweight.
You can download it from CodePlex: http://cssfriendly.codeplex.com
It's very powerfull and it also allows you to output asp menu's as unordered lists instead of tables and use div's instead of html tables in your wizard.
In ASP.NET 4.0 it is possible to format asp:Wizard with a LayoutTemplate
where you are free to control the markup without using a table:
In earlier versions of ASP.NET the LayoutTemplate isn't available and you cannot avoid the table rendering.
(Unfortunately also the CSS friendly control adapters from CodePlex don't support the asp:Wizard.)