473,320 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Master webpartzone

Hi,

In my application I would like to have a 'master' webpartzone. A zone which
content is the same on every page. I tried to create as custom
PersonalizationProvider which saves the content of the 'Master' zone using
always the same path ("master").

In the LoadPersonalizationState I tried to combine the webparts of the
asking page with the webparts of the "master" page, but the webpartmanager of
the PersonalizationState has no zones after calling the
base.LoadPersonalizationState.

Can anyone help my creating a "master" webpartzone?

Marc
Mar 20 '06 #1
1 2263
DWS
Marc,

Really it would be awesome to have a masterpage webpartzone. I spent a more
than a couple days on that one too and its on my wish list.

Make pseudo masterpage webpartzone by DWS:
Instead of navigating to a different page hide/show webpartzones based on
the querry string in the page_init routine of course the masterzone is always
visible.

Examples
http://localhost/DWS.aspx?z=blogs
'show blogs zone...
'hide gallery zone...
zoneblogs.visible=true
zonegallery.visible=false

http://localhost/DWS.aspx?z=gallery
'show galleryzone...
'hide blogs zone...
zoneblogs.visible=false
zonegallery.visible=true

Good Luck
DWS
"Marc Looren" wrote:
Hi,

In my application I would like to have a 'master' webpartzone. A zone which
content is the same on every page. I tried to create as custom
PersonalizationProvider which saves the content of the 'Master' zone using
always the same path ("master").

In the LoadPersonalizationState I tried to combine the webparts of the
asking page with the webparts of the "master" page, but the webpartmanager of
the PersonalizationState has no zones after calling the
base.LoadPersonalizationState.

Can anyone help my creating a "master" webpartzone?

Marc

Mar 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: nail | last post by:
Hi. So, in a webpartzone I put 3 webusercontrols like the following code: <asp:WebPartZone SkinID="wp1" ID="WebPartZone1" Runat="server" Height="75px" Width="382px" DragHighlightColor="244, 198,...
1
by: chrisfox | last post by:
Hi, I try to customize the style of my Webparts with a CSS Stylesheet. Therefore I define a CSS File and define some CSS Classes. Now a problem occurs. Some of the classes have no effect on the...
2
by: Mats Lycken | last post by:
Hi, I have a question about webparts in master pages. If I add a webpart to a webpartzone located in a master page will that webpart be available to all .aspx pages that uses that master page or...
0
by: czone | last post by:
Is it possible to utilize the web part components such as WebPartZone, CatalogZone, EditorZone as well as the other Web Part components to Master pages such that they are then available on all...
0
by: Ashok | last post by:
Hi I have some issues in applying Themes to controls programatically, when controls are inside WebpartZone. I have put some controls inside WebpartZone, i want to apply themes and skin to those...
0
by: Prashant Majhwar | last post by:
The webpartzone is rendered as <table cellspacing="0" cellpadding="0" border="0" id="ctl00_ContentPlaceHolder1_WebPartZone1"> <tr> <td style="height:100%;"><table cellspacing="0"...
1
by: Heath Howard | last post by:
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...
0
by: PaulOak | last post by:
Hi all, How can I create a WebPartZone within a user control? As I try to add a WebPartZone to a user control I got the following error message: "A Zone can only be added to the Page in or...
0
by: PaulOak | last post by:
Hi all, I have the following problem: 1. web site (asp.net 2.0 C#). 2. WebPartZone, which contains one user control. 3. SQL Server 2000 running on dedicated DB server, hosting the aspnetdb...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.