By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,492 Members | 1,289 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,492 IT Pros & Developers. It's quick & easy.

ASP 2.0 WebPartZone LayoutOrientation and Access

P: n/a
I have two questions for which I have yet to figure out an answer:

1. I have a page with three webpartzones, one zone on each row of a three-row
table. I have the layoutorientation property set to "horizontal" so that
the webparts will be added side by side. Is there any way to have the webparts
wrap in the zone? Currently, I have the webpartzones set to 100% width to
take up all available room in the table cell. When you add webparts, the
zones keep expanding like this:

x x x x x x

Instead, I'd like the webparts to expand to the right and then wrap with
the reach the right-side of the window, like this:

x x x
x x x

2. I'm also trying to restrict the Webpartzones to which a user can add
a webpart. Specifically, I'd like to modify the "Add to:" drop-down box
on the webparteditor so that users cannot add webparts to all of the zones
on the available page. Is this possible?
May 8 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On the second issue you should be able to set the AllowLayoutChange property
of the WebPartZone to false.

--
Robert L. Bogue, MS MVP, MCSE, MCSA:Security, Etc.
Blog: http://www.thorprojects.com/blog
"Heath Howard" <au******@gmail.com> wrote in message
news:cf*************************@news.microsoft.co m...
I have two questions for which I have yet to figure out an answer:

1. I have a page with three webpartzones, one zone on each row of a
three-row table. I have the layoutorientation property set to
"horizontal" so that the webparts will be added side by side. Is there
any way to have the webparts wrap in the zone? Currently, I have the
webpartzones set to 100% width to take up all available room in the table
cell. When you add webparts, the zones keep expanding like this:

x x x x x x

Instead, I'd like the webparts to expand to the right and then wrap with
the reach the right-side of the window, like this:

x x x
x x x

2. I'm also trying to restrict the Webpartzones to which a user can add a
webpart. Specifically, I'd like to modify the "Add to:" drop-down box on
the webparteditor so that users cannot add webparts to all of the zones on
the available page. Is this possible?

May 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.