<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.officezealot.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Ryan Bedell</title><subtitle type="html" /><id>http://blogs.officezealot.com/rbedell/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.officezealot.com/rbedell/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.officezealot.com/rbedell/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61129.2">Community Server</generator><updated>2005-12-12T08:53:00Z</updated><entry><title>Office Zealot is giving away an Acer Ferrari Laptop!</title><link rel="alternate" type="text/html" href="http://blogs.officezealot.com/rbedell/archive/2007/04/12/20244.aspx" /><id>http://blogs.officezealot.com/rbedell/archive/2007/04/12/20244.aspx</id><published>2007-04-12T23:08:00Z</published><updated>2007-04-12T23:08:00Z</updated><content type="html">&lt;P&gt;&lt;STRONG&gt;We want to thank all the Office Zealot readers for their support over the years!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;We are giving away an Acer Ferrari&amp;nbsp;laptop loaded with Windows Vista.&amp;nbsp; We recently had a chance to review this laptop and now that we are done, it is your chance to get your hands on both a solid laptop and the brand new Windows Vista.&amp;nbsp; We will hold the drawing for this and other items in a couple weeks, so be sure to register right away.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;To register for the drawing click the banner below:&lt;BR&gt;&lt;A class="" href="http://www.officezealot.com/register.aspx"&gt;&lt;IMG title="Win an Acer Ferrari Laptop" style="WIDTH:468px;HEIGHT:60px;" height=60 alt="Win an Acer Ferrari Laptop" src="http://www.officezealot.com/images/register.jpg" width=468 align=left border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.officezealot.com/aggbug.aspx?PostID=20244" width="1" height="1"&gt;</content><author><name>rbedell</name><uri>http://blogs.officezealot.com/members/rbedell.aspx</uri></author></entry><entry><title>New Microsoft Office 12 Zone at Office Zealot</title><link rel="alternate" type="text/html" href="http://blogs.officezealot.com/rbedell/archive/2006/01/16/9003.aspx" /><id>http://blogs.officezealot.com/rbedell/archive/2006/01/16/9003.aspx</id><published>2006-01-16T17:42:00Z</published><updated>2006-01-16T17:42:00Z</updated><content type="html">&lt;P&gt;Office Zealot continues to stay ahead of the curve and bring you the latest news, resources, and information on Microsoft and&amp;nbsp;Microsoft Office technologies.&amp;nbsp; Microsoft Office 12, which is currently in beta release, is set to release later this year.&amp;nbsp; From the excitement&amp;nbsp;and hype surrounding&amp;nbsp;Office 12, it could be the most important product release in years!&amp;nbsp; Even before Office 12 becomes available to the general&amp;nbsp;public, Office Zealot&amp;nbsp;is aggregating blogs written by Microsoft employees from the&amp;nbsp;various&amp;nbsp;Office product teams.&amp;nbsp; Hear the latest insights&amp;nbsp;straight from the lion's mouth at the &lt;A href="http://www.officezealot.com/office12"&gt;Office 12 Zone&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.officezealot.com/office12"&gt;Check out the Office 12 Zone&amp;nbsp;at OfficeZealot.com&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.officezealot.com/aggbug.aspx?PostID=9003" width="1" height="1"&gt;</content><author><name>rbedell</name><uri>http://blogs.officezealot.com/members/rbedell.aspx</uri></author><category term="Microsoft Office" scheme="http://blogs.officezealot.com/rbedell/archive/tags/Microsoft+Office/default.aspx" /><category term="Office 2007" scheme="http://blogs.officezealot.com/rbedell/archive/tags/Office+2007/default.aspx" /></entry><entry><title>Using AJAX within SharePoint for User Feedback</title><link rel="alternate" type="text/html" href="http://blogs.officezealot.com/rbedell/archive/2005/12/28/8891.aspx" /><id>http://blogs.officezealot.com/rbedell/archive/2005/12/28/8891.aspx</id><published>2005-12-28T19:07:00Z</published><updated>2005-12-28T19:07:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;A href="http://weblogs.asp.net/wkriebel/archive/2005/12/27/SharePointAJAXFeedbackSample.aspx"&gt;&lt;FONT size=2&gt;Westin Kriebel&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; wrote an interesting article about using AJAX within SharePoint to create a feedback method that does not require the user to browse away from the current page when leaving feedback or comments.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Since AJAX can post to pages without actually leaving the current page, this provides a very non-intrusive way to allow SharePoint users to leave feedback.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;As AJAX continues to gain popularity, I think we will see even more WebParts and code that exploit its usefulness within SharePoint.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=2&gt;I saved &lt;/FONT&gt;&lt;A href="http://weblogs.asp.net/wkriebel/archive/2005/12/27/SharePointAJAXFeedbackSample.aspx"&gt;&lt;FONT size=2&gt;Westin’s code&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; into an html page and loaded this into a Page Viewer WebPart to get the screenshots below.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;However, this could also be coded into a custom WebPart to streamline the deployment of this functionality.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You could easily add this to the bottom of your SharePoint pages to create a quick way to receive feedback from SharePoint users. This code could also be extended to include other feedback objects, such as, radio buttons or a slider that could allow users to rate&amp;nbsp;a page's popularity or effectiveness.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=2&gt;The “Provide Feedback” button can be tucked away anywhere on the webpage. The Sample Fields are examples of what you may have on your SharePoint page.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you enter text in these fields and decide to leave feedback, you will not lose your entries, as AJAX does not require a redirect to another page.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;IMG title="Ajax Example 1" style="WIDTH:638px;HEIGHT:333px;" height=333 alt="Ajax Example 1" hspace=2 src="http://blogs.officezealot.com/photos/rbedell/images/20014/original.aspx" width=638 align=middle border=0&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;A click on the “Provide Feedback” button brings up a small window where users can leave feedback.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Very simple, yet very useful. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;IMG title="Ajax Example 2" style="WIDTH:643px;HEIGHT:341px;" height=341 alt="Ajax Example 2" hspace=2 src="http://blogs.officezealot.com/photos/rbedell/images/20015/original.aspx" width=643 align=middle border=0&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.officezealot.com/aggbug.aspx?PostID=8891" width="1" height="1"&gt;</content><author><name>rbedell</name><uri>http://blogs.officezealot.com/members/rbedell.aspx</uri></author><category term="Ajax" scheme="http://blogs.officezealot.com/rbedell/archive/tags/Ajax/default.aspx" /><category term="SharePoint" scheme="http://blogs.officezealot.com/rbedell/archive/tags/SharePoint/default.aspx" /></entry><entry><title>New Microsoft Office Business Intelligence Zone at Office Zealot</title><link rel="alternate" type="text/html" href="http://blogs.officezealot.com/rbedell/archive/2005/12/20/8837.aspx" /><id>http://blogs.officezealot.com/rbedell/archive/2005/12/20/8837.aspx</id><published>2005-12-20T18:32:00Z</published><updated>2005-12-20T18:32:00Z</updated><content type="html">&lt;P&gt;&lt;FONT size=2&gt;We, at Office Zealot,&amp;nbsp;are pleased&amp;nbsp;to announce the release of&amp;nbsp;the new&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://www.officezealot.com/officebi/"&gt;&lt;FONT size=2&gt;Microsoft Office Business Intelligence Zone&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;&amp;nbsp;to bring you the latest news, resources, and information on business intelligence within Microsoft Office. BI continues to be a very hot topic and technology, and we are excited to share our experience and knowledge.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Check it out! &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.officezealot.com/officebi/"&gt;&lt;FONT size=2&gt;http://www.officezealot.com/officebi/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.officezealot.com/aggbug.aspx?PostID=8837" width="1" height="1"&gt;</content><author><name>rbedell</name><uri>http://blogs.officezealot.com/members/rbedell.aspx</uri></author></entry><entry><title>Adding a WebPart ToolPart</title><link rel="alternate" type="text/html" href="http://blogs.officezealot.com/rbedell/archive/2005/12/12/8654.aspx" /><id>http://blogs.officezealot.com/rbedell/archive/2005/12/12/8654.aspx</id><published>2005-12-12T18:53:00Z</published><updated>2005-12-12T18:53:00Z</updated><content type="html">&lt;P&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=2&gt;&amp;nbsp;A Summary of SharePoint WebPart ToolPart Types&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;FONT size=2&gt;WebPartToolPart&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The WebPartToolPart is the default ToolPart for a SharePoint WebPart and is included in all WebParts.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;It contains all the default properties of a WebPart, which can be seen by the end user through the WebPart property interface.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;These properties include all the basic information for a WebPart’s appearance and layout within a SharePoint page.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Default WebPart properties:&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Appearance&lt;/FONT&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Title&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Width&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Frame State&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Frame Style&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Layout &lt;/FONT&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Visible on Page &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Direction&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Zone&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Part Order&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;FONT size=2&gt;Advanced &lt;/FONT&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Allow Minimize &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Allow Close&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Allow Zone Change&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Allow Export Sensitive Properties &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Detail Link&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Description&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Help Link&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Icon File (Large)&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Icon File (Small)&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Missing Assembly Error&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;"&gt;Target Audiences&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;
&lt;P&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;FONT size=2&gt;CustomPropertyToolPart&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The CustomPropertyToolPart is an additional ToolPart that is added when custom properties are added to the WebPart programmatically.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;A custom property is any WebPart property that is not a member of the base WebPart properties listed in the section above and is visible to the user through the WebPart properties interface.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Similar to the WebPartToolPart, properties can be grouped into sections.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;All sections are part of a single CustomPropertyToolPart.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Examples of custom properties&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Database connection information&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Connectivity between WebParts&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;URLs&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;Information that can be used within the code of your WebPart&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT size=2&gt;For more information on building WebParts with custom properties, see &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/CreateWPCustomProperties_SV01003710.asp"&gt;&lt;FONT size=2&gt;Creating a Web Part with Custom Properties&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;FONT size=2&gt;A Custom ToolPart (built by the developer)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;The third type of ToolPart is a custom ToolPart built by the developer.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Properties, layout, and functionality used by this ToolPart are built programmatically.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;The Html and controls that are visible to the end user are created manually, allowing for much greater interaction and functionality than the other 2 static ToolParts.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;For more information on creating custom ToolParts, see &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/CreateWPCustomProperties_SV01003710.asp"&gt;&lt;FONT size=2&gt;Creating a Web Part with a Custom Tool Part&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;o:p&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=2&gt;Adding ToolParts to the WebPart&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;All types of ToolParts become associated with a WebPart by adding them to the WebPart’s collection of ToolParts through the GetToolParts method.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This method overrides the base method of the WebPart class and is necessary only when adding custom ToolParts.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If only default and custom properties are used in a WebPart, they will be added automatically and the GetToolParts method is unnecessary.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;GetToolParts() Method of WebPart&lt;/I&gt;&lt;/B&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/I&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE class=code&gt;Public Overrides Function GetToolParts() As Microsoft.SharePoint.WebPartPages.ToolPart()&lt;BR&gt;&amp;nbsp;' Add the custom toolpart to the webpart's toolparts&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim toolParts(3) As ToolPart&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim objWebToolPart As WebPartToolPart = New WebPartToolPart&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim objCustomProperty As CustomPropertyToolPart = New CustomPropertyToolPart&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; toolParts(0) = objWebToolPart&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; toolParts(1) = objCustomProperty&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; toolParts(2) = New YourCustomToolpart( )&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return toolParts&lt;BR&gt;End Function
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT size=2&gt;This GetToolParts method adds the 3 different types of ToolParts to the WebPart’s ToolParts collection.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You can add multiple ToolParts to a WebPart in a similar manner.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;ToolParts can remain hidden from view by not adding them to this collection.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Add the default WebPartToolPart to the collection:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE class=code&gt;Dim objWebToolPart As WebPartToolPart = New WebPartToolPart&lt;BR&gt;toolParts(0) = objWebToolPart
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT size=2&gt;Add a CustomPropertyToolPart to the collection:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE class=code&gt;Dim objCustomProperty As CustomPropertyToolPart = New CustomPropertyToolPart&lt;BR&gt;toolParts(1) = objCustomProperty&lt;/PRE&gt;
&lt;P&gt;&lt;FONT size=2&gt;Add a custom built ToolPart (YourCutomToolPart is the class name) to the collection:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE class=code&gt;toolParts(2) = New YourCustomToolPart( )&lt;/PRE&gt;&lt;img src="http://blogs.officezealot.com/aggbug.aspx?PostID=8654" width="1" height="1"&gt;</content><author><name>rbedell</name><uri>http://blogs.officezealot.com/members/rbedell.aspx</uri></author></entry></feed>