CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 7/3/2006 4:51:00 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
spvlong
Asp.Net User
Reorder web parts after changing Master page7/3/2006 4:51:00 AM

0/0

Hi all,

I have a problem with Web Parts and Master Page.

I have a Master page with some web zones and a page use this master page. I create another Master page with different set of web zones. I want to change the Master page with the new one dynamically so I change it in the PreInit event of the page but errors occur. The reason is some web parts can't be loaded on the page because they can't find the appropriate web zones.

I want to reorder the web parts on the page so that web parts which can find appropriate web zones must be placed on the first web zones.

Any solution?

Thanks.

 

 


Trirange Portal Server 2007
Web 2.0, AJAX Portal Framework
nahoot
Asp.Net User
Re: Reorder web parts after changing Master page7/6/2006 2:17:34 PM

0/0


I have a similar thing working on a project I'm working...

What I do is something like this:

foreach(Zone zone in webPartManager.Zones){
    if(zone.Name == WebPart.Zone){
        webpartManager.addWebPart(webPart);
    }
    else{
        insertWebPartIntoCatalog(WebPart);
    }
}




This is pseudo-code but I bellieve you get the point Wink
Hope it helps...
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
SharePoint 2007 User's Guide: Learning Microsoft's Collaboration and Productivity Platform Authors: Seth Bates, Tony Smith, Pages: 407, Published: 2007
Beginning SharePoint 2007 Administration: Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 Authors: Göran Husman, Pages: 578, Published: 2007
FrameMaker 7: The Complete Reference Authors: Sarah O'Keefe, Sheila A. Loring, Pages: 888, Published: 2002
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Microsoft Office XP for Windows: Visual QuickStart Guide Authors: Steve Sagman, Stephen W. Sagman, Gail Taylor, Pages: 480, Published: 2002
How to Do Everything with Adobe InDesign CS Authors: David Bergsland, Pages: 456, Published: 2004
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Microsoft Office 2003 for Windows: Visual QuickStart Guide Authors: Steve Sagman, Stephen W. Sagman, Gail Taylor, Pages: 520, Published: 2003

Web:
Reorder web parts after changing Master page - ASP.NET Forums Reorder web parts after changing Master page. Last post 07-06-2006 10:17 AM by nahoot. 1 replies. Sort Posts: ...
Optimizing custom Web parts for the WAN Jan 28, 2008 ... Following is the complete tag that is added to the master page. .... After the Web Part retrieves the data, it renders it in the appropriate ...
ASP200 ASP.NET 2.0 Development : Interface Technical Training Nesting Master Pages; Accessing and Changing Master Pages dynamically; Lab Exercise ... Introduction to Web Part Pages; The WebPartManager Control ...
Microsoft Enterprise Content Management (ECM) Team Blog : Building ... Building tylerbutler.com, Part 1: Planning and Basic Branding .... After I tweaked the master page for a bit, got all the content placeholders in place, ...
Building Portals Using the Web Parts Framework DesignDisplayMode: This mode allows users to move and reorder Web Parts using a drag- ...... menting most of your Web Part functionality in a Master Page. ...
CleverWorkarounds » Form Services and SPD Workflows… You can attach a different master page or modify the styles. ... You cannot change the form fields by editing the Data Form Web Part directly. ...
So what about Joe SharePoint User? Add a web part to a page; » Change the title on a Web Part Page ... To reorder the column display in the New Item and Edit Item screens ...
Building Custom Navigation with SharePoint It is set to 1 by default; change it to 2 and you now have dynamic flyouts that go ... Associated with the master page. Additional Navigation (Web Parts) ...
Securing Microsoft Office SharePoint Server (MOSS) Resources The SharePoint default.master page template (which is used by the various ..... Web Parts are created as sub resources of the page resource and the name of ...
.NET ASP Page 53 - Bytes Site Map NET with Web Forms: session variables lost when shelling a process · How to link web forms ..... Master page code executed after child page code.

Videos:
Using ROSE to Mitigate Performance Trade-offs Google TechTalks April 03, 2006 Daniel Quinlan ROSE is a tool for building source-to-source transformation tools for the optimization of C and C++ ...




Search This Site:










getting roles from context.user

dotnetnuke news module enhancement: limiting the number of news items

menu - graphics shift when using large font

is it ture that internet explorer web controls are no longer supported???

conflicting login controls preventing submission of login information

visual source safe & dnn

images not displayed in debug mode

image tables?

form and window authenticate

how to install ie web controls in asp.net2.0

dynamic welcome message

performance, multiple modules on one page

retrieving records based on user.identity.name

dnn3.1.0-crashed due to skin

login page problem - not redirecting properly. help!

portal alias in dnn4.0.1

itemplate collection

distance between two webparts?

stop redirecting to login page

anyone using google adsense

data application block question

visual web developer makes makes system slow..

installation issues

updated module: football bowl pool (dnn 3.x)

service pack release...

url rewriting

error after upgrade from 3.1.0 to 3.1.1

how to?? change email text from the portal..

"page.clientscript" does not compile in assembly

change treeview default plus and minus sign

 
All Times Are GMT