List Info

Thread: change the way web parts render




change the way web parts render
user name
2006-06-08 15:44:49
Great, thank you Scott.  Rendering tables does provide more
simplistic handling of box-style layouts, although added
items such as padding declared within in-line styles aren't
always compatible with a design.  Maybe we are gluttens for
punishment, but we love the flexibility of divs 
 
Thanks again,
Ian Suttle

________________________________

From: Discussion of building .NET applications targeted for
the Web on behalf of Scott Guthrie
Sent: Wed 6/7/2006 10:14 PM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] change the way web parts render



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
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Ian Suttle
Sent: Monday, June 05, 2006 5:53 PM
To: DOTNET-WEBDISCUSS.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
<http://www.develop.com/&g
t; 

View archives and manage your subscription(s) at
http://discuss.develop.com
 <http://discuss.develo
p.com/> 

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
<http://www.develop.com/&g
t; 

View archives and manage your subscription(s) at http://discuss.develop.com
 <http://discuss.develo
p.com/> 



===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )