emily's picture
From emily rss RSS  subscribe Subscribe

Presentation Webparts 



 

 
 
Tags:  Webparts  Framework  asp  .net 
Views:  4003
Downloads:  28
Published:  September 02, 2007
 
3
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
70-515CSHARP

70-515CSHARP

From: xiaoxiaoli967
Views: 26 Comments: 0

 
70-515CSHARP

70-515CSHARP

From: xiaoxiaoli967
Views: 38 Comments: 0

 
Exam1pass free dumps70-515 exam braindumps

Exam1pass free dumps70-515 exam braindumps

From: exam1pass12
Views: 53 Comments: 0
Exam1pass free dumps70-515 exam braindumps
 
See all 
 
More from this user
Java One 2005 Technical

Java One 2005 Technical

From: emily
Views: 3216
Comments: 0

NSDI - Poland

NSDI - Poland

From: emily
Views: 2245
Comments: 0

Welcome to the Minnesota SharePoint User Group

Welcome to the Minnesota SharePoint User Group

From: emily
Views: 6135
Comments: 0

Java One 2002 Overview

Java One 2002 Overview

From: emily
Views: 2257
Comments: 0

SQL Server 2005

SQL Server 2005

From: emily
Views: 3835
Comments: 1

CATPDG Quick Start Demo

CATPDG Quick Start Demo

From: emily
Views: 1404
Comments: 0

See all 
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
 
 
Notes:
 
Slide 1: Présenté par Pierre Lagarde pierlag@microsoft.com Relation Développeurs Microsoft France « Les Mercredis du développement » Les WebParts Level 300
Slide 2:  Les Web Parts en ASP.NET v2 Framework de construction de portal Moteur de rendu de Windows SharePoint  Service System.Web.UI.WebControls.WebParts Interface utilisateur très riche Construction du portail en drag-and-drop Édition des propriétés Intégration de la personnalisation Connexion entre WebPart
Slide 3: demo 1: Première page de WebPart
Slide 4: WebParts Object-Model WebPartManager WebZone WebPartZoneBase WebPartZone WebPart ToolZone CatalogZone GenericWebPart EditorZone CustomWebPart ConnectionsZone UserControl.Parent
Slide 5: Personnalisation API WebPartManager.Personalization Tache disponible Effacer la personnalisation Vérifier la configuration
Slide 6: Personnalisation API WebPart Provider Dans le fichier web.config dans la section  <webParts> Brancher son propre provider <webParts> <personalization defaultProvider="MyProvider"> <authorization> <allow roles="BUILTIN\Administrators"/> <deny roles="BUILTIN\Guests" /> </authorization> <providers>       <add name="MyProvider"             type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider"             connectionStringName="CustomSqlConnection" />     </providers> </personalization> </webParts>
Slide 7: WebParts de l’ « Editor Zone » <asp:EditorZone ID="EditorZone1" Runat="server"> <ZoneTemplate> <asp:AppearanceEditorPart ID=“AppearEdit" Runat="server" /> <asp:BehaviorEditorPart ID=“BehaveEdit" Runat="server" /> <asp:LayoutEditorPart ID=“LayoutEdit" Runat="server" /> </ZoneTemplate> </asp:EditorZone>
Slide 8: Customisation des WebParts Propriété disponible par l’éditeur de  propriété standard (Sauvegardé dans le  moteur de personnalisation) [WebBrowsable(true)] [Personalizable(PersonalizationScope.User)] Accès au propriétés standard d’une WebPart IWebPart Customiser un éditeur de propriété IWebEditable Customiser sont menucontextuel IWebActionable
Slide 9: Customisation des WebParts (suite) Connexion entre WebPart public interface IWebPartConnector { string Name{get;} } public partial class MyUc : UserControl, IWebPartConnector {… [ConnectionProvider(“Server WebConnector", "MyProviderID")] public IWebPartConnector GetWebPartForConnection() { return this; } } public partial class MyUc2 : UserControl {… [ConnectionConsumer("Client WebConnector", "MyConsumerID")] public void InitProvider(IWebPartConnector provider) { _webPartConnector = provider; } }
Slide 10: demo 2 : Un UserControl Personnalisable Paramétrable Extension de son menu contextuel Ajout d’un éditeur de propriétés personnalisé Connecté

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location