Hi Ian,
You could use the control adapter model in ASP.NET 2.0
(described here:
http://weblogs.asp.net/scottgu/archive/2006/05/02/4
44850.aspx) to modify
the markup of controls like web-parts.
In general, though, for the web-part scenario I'd probably
still
recommend sticking with tables. Divs can be sometimes hard
to use for
portal style layout scenarios -- since it can be tricky to
have common
"box-layout" style UI applied to web-parts that
scales correctly in all
browsers.
Hope this helps,
Scott
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Ian Suttle
Sent: Monday, June 05, 2006 5:53 PM
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] change the way web parts render
Hi gang. We are looking to make web parts an integral part
of our site
framework. One issue we are trying to handle is the way in
which web
parts get rendered. By default they render as tables and we
would like
to be able to override this to render in divs. Has anyone
experimented
with this sort of change?
Thanks,
Ian Suttle
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|