CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 3/31/2007 10:28:43 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 42 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
mobfigr
Asp.Net User
Web Part Zone List in Catalog Zone3/31/2007 10:28:43 PM

0/0

Guys,

I've implemented a tabbed view of web parts on a page. Basically, I have 3 panels on the page. Each has 3 web part zones. And based on the value coming in from the querystring, I display the appropriate panel, thus displaying only catalog zones in that panel.

This works great, except for one minute yet very annoying detail.

If I'm looking at Panel 2, and trying to add a new web part to one of the zones, in the "Add To:" catalog zone list, I can see all the zones on that page. Even the ones that are NOT Visible. I look at the HTML of the page rendered, and the zone are definitely not there. Still, the drop down list in the catalog zone knows about the other zones.

 Can someone show me how to modify the list of available zones in the catalog zone?


life's 2 short, so luv the 1 u got,
cause u might get run over, or u might get shot!
snikm
Asp.Net User
Re: Web Part Zone List in Catalog Zone4/2/2007 1:49:38 AM

0/0

 

Glad that you asked this question.  This issue has been an open bug on our system for little while and your question gave me the kick in the pants needed to go and fix it.  

 

Turns out to be a pretty easy fix. 

 

Just set the AllowLayOutChange property to false on all the web part zones that you do NOT want to be listed in the catalog.

The Catalog web part checks this property before adding a web part zone to its drop-down list and only adds zones where this property is true.

 

 

 

mobfigr
Asp.Net User
Re: Web Part Zone List in Catalog Zone4/2/2007 9:03:03 PM

0/0

snikm , you da man! Thanks for the post. I believe this might be the only forum out there that has an answer to this question - i know cause i spent half my weekend looking for a solution!!!!

I'm going to try your solution out tonight, if I dont post a feedback that mean it worked perfectly. Thanks! Yes


life's 2 short, so luv the 1 u got,
cause u might get run over, or u might get shot!
mobfigr
Asp.Net User
Re: Web Part Zone List in Catalog Zone4/3/2007 3:54:37 AM

0/0

Freakin awesome! It worked...
life's 2 short, so luv the 1 u got,
cause u might get run over, or u might get shot!
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning Visual C# 2005 Authors: Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White, Pages: 1062, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Microsoft SharePoint: Building Office 2003 Solutions Authors: Scot P. Hillier, Pages: 392, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Essential ASP.Net 2.0 Authors: Fritz Onion, Keith Brown, Pages: 345, Published: 2006

Web:
CatalogZone Class (System.Web.UI.WebControls.WebParts) . Remarks. Within the Web Parts control set, a zone is a ... The CatalogZone control provides a list or catalog of controls that users ...
web part catalog - zone name box hi guys, any one know how to get rid of the zone name box in the web parts catalog box. i manageged to get rid of every thing else. bascally ...
Web parts for portals—How add web parts to zone at C# Online.NET ... Under the catalog list, the CatalogZone control generates controls for adding a selected web part. Here, the user is using the drop-down list to specify the ...
Wouter van Vugt : Displaying a dropdown in a CatalogZone The footer also shows the ‘Add’ and ‘Close’ buttons used to add a WebPart from the catalog to the page and to close the zone again. ...
Web Parts - Web Part zone - bytes Just put down these modes into Dropdown list and implement the ... Add webpart manager ,webpart zones and add a catalog zone to the page ...
Catalog Zone Checkboxes - ng.asp-net-forum ... Web Parts « Zonix Software Solutions Jun 14, 2008 ... Catalog Zone is also a template control. The Catalog Zone control contains a title and checkbox list ...
Catalog Zone and assocated controls - ASP.NET Forums NET » Web Parts and Personalization » Catalog Zone and assocated controls ... It looks like the Catalog Zone can only contain 2 Controls TemplateCatalog and ...
List View Web Part - Help and How-to - Microsoft Office Online Note Zones on the Web Part Page are not listed in the list box when you do not have permission to modify the zone. Zone Index, Specifies the position of the ...
CodeProject: Display a DropDownList in a CatalogZone. Free source ... Attach the ID of the list to a preformatted ID in the CatalogZone . .... How about this for an easier solution: I have a webpart zone to the left, instead, ...
Dynamically Adding Custom User Controls to a Web Part Catalog Zone ... I have added two web part zones to the page, and I have also added a catalog zone with a PageCatalogPart . I have also added provision for uploading files ...

Videos:
Lec 20 | MIT 3.091 Introduction to Solid State Chemistry Amorphous Solids, Glass Formation, Inorganic Glasses: Silicates View the complete course at: http://ocw.mit.edu/3-091F04 License: Creative ...
Philip Pocock 100 Days 100 Guests event (Day 63) Documenta X 1997 Philip Pocock speaking at Documenta X about hypercinema and the collabortative work produced in Uganda by Documenta X - A Description of the ...




Search This Site:










accessing repeater control in master page from content page

tree view based on database query...

content placeholder and html

web page

error 52: the relative virtual path....

request.browser: how to change css file from server-side script?

specific css stylesheet to associate with skinfile

treeview control in asp.net 2.0

treeview with images. add on click behavior to images

can i load an aspx into a contentplaceholder programatically?

windows xp style for <asp:menu> control

can't see user control in master page - very urgent

master page problem

erratic behavior of menu

masterpages - frameworkinitialize() no suitable method found to override

disable wizard navigation button in templatedwizardstep

registration page.

let asp engine render html code - not xhtml code ...???

parent menuitem highlighting

performance issues with menu control

how do you enable theme for a redirected page?

sitemap url

what treeview control is used for the msdn website?

display web page within iframes in child page contentplaceholder.

cutom sitemapprovider and sitemappath don't work together

rendering problem with asp:menu "skip navigation links" image

how do i use a sitemap to populate multiple menus?

localize navigationurl of asp:hyperlink

sitemapresolve

uip application block & sitemap

  Privacy | Contact Us
All Times Are GMT