<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">FrontPoint</title><subtitle type="html">Using Microsoft FrontPage to do amazing things with SharePoint Products and Technologies</subtitle><id>http://blogs.msdn.com/frontpoint/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/frontpoint/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2004-05-21T10:33:00Z</updated><entry><title>DataViewWebPart RunTime documentation</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/10/05/477452.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/10/05/477452.aspx</id><published>2005-10-05T22:05:00Z</published><updated>2005-10-05T22:05:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Hey everyone, &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Sorry to be so lax in my postings. I was really busy getting ready for PDC and now Beta1 for Office looms somewhere on the horizon. Please check out &lt;/FONT&gt;&lt;a href="http://blogs.msdn.com/rmauceri/"&gt;&lt;FONT face=Tahoma size=2&gt;Rob Mauceri's blog&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; on our plans moving forward.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Additionally, check out this article on MSDN which documents the &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/?url=/library/en-us/odc_SP2003_ta/html/OfficeSharePointDDWRT.asp"&gt;&lt;FONT face=Tahoma size=2&gt;DDWRT (data driven web runtime) functions available in the DataViewWebPart&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;. This was done with a lot of work from Serge Van Den Oever as well as our dev team.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Thanks!&lt;BR&gt;-John&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=477452" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Editing items inside Nested Document Libraries</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/05/23/421062.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/05/23/421062.aspx</id><published>2005-05-23T20:40:00Z</published><updated>2005-05-23T20:40:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;I just found something pretty interesting about using a Data View Web Part to view items in a Document Library that contains folders. Without going into all the technical details, essentially the "Edit" link will return an "Item not found" error for any documents inside the subfolders.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;If you ever see this error, and you are positive the item does exist, the most likely cause for error is that the URL does not contain the RootFolder attribute. As an additional side note, for some reason the DataView converts the EDIT link into the DISPLAY link, so there are two issues here that I will show you how to fix.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;First, for the repro: Browse to the Shared Documents document library in the browser. Create a new document called docOne.doc. Create a new folder called FolderOne and browse to this folder. Create a new doc in this folder called docTwo.doc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Next you want to open the site in FrontPage and create a new WebPart page. Then click Data..Insert WebPart. Choose the Shared Documents web part and insert it.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;After it is inserted, right click it and choose List View Properties. Click Fields and add the Edit field. Then right click the List View and choose "Convert to XSLT Data View".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Save the page and preview in browser.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;You should notice that if you click to edit docOne.doc, you see the Display form (which is wrong)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;If you click to edit docTwo.doc, you will see an item doesn't exist error (which is also wrong)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;So, back to FrontPage to fix this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#000000&gt;In code view for the page where the DataView lives, find:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#ff0000&gt;&amp;lt;a href="{$URL_DISP}?ID={@ID}" onclick="GoToPage('{$URL_DISP}?ID={@ID}');return false;" target="_self"&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#000000&gt;And replace it with this:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#ff0000&gt;&amp;lt;a href="{$URL_EDIT}?ID={@ID}&amp;amp;amp;RootFolder={@FileDirRef}" onclick="GoToPage('{$URL_EDIT}?ID={@ID}&amp;amp;amp;RootFolder={@FileDirRef}');return false;" target="_self"&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#000000&gt;That should do it. Have you seen other problems with Document Libraries? Let me know (the fact that the folders don't show up in the above scenario is already known and is unfortunately by design...)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma color=#000000&gt;-John&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=421062" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Creating a Link using a Lookup field</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/04/15/408672.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/04/15/408672.aspx</id><published>2005-04-16T00:01:00Z</published><updated>2005-04-16T00:01:00Z</updated><content type="html">&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;I was just asked a great question: "How do I create a hyperlink when using a Lookup field that points to the item for that lookup field..."&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;This is not completely straightforward, so bare with me. In this example, I am using the Announcements list and the Contacts list. In the Announcements list I created a lookup field the LastName value in the Contacts list and have created a few announcements with the LastName value in them.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;1. I need to get the List Id of the Contacts list. You can use the web service for this, but I find it much easier to simply drag the Contacts list onto a new page in design view, switch to code view, and Find '@ID' and then grab the list ID (it is a GUID). Then I close that page without saving it.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;2. Create a new page&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;3. insert a view of the Announcements list including the Lookup field 4. select the Lookup field data value 5. Insert &amp;gt; Hyperlink 6. type the following into the URL address field:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;A href="http://server/subsite/Lists/Contacts/dispform.aspx%7bddwrt:URLLookup('%7bLIST-GUID-FOUND-IN-STEP-ONE%7d"&gt;&lt;FONT face=Tahoma size=2&gt;http://server/subsite/Lists/Contacts/dispform.aspx{ddwrt:URLLookup('{LIST-GUID-FOUND-IN-STEP-ONE}&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt;', 'lookup', string(@ID))}&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;(NOTE The nested {} around the GUID). &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;My URL looks like this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;{ddwrt:URLLookup('{BBD5C595-B540-4839-AAAF-7FB2555A0960}', 'lookup', string(@ID))}&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;7. Save the page&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;8. switch back to code view and find "mailto:" &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;9. Delete this. It is a bug that when your URL has an @ symbol in it, FrontPage adds the mailto: code...goofy, but should be fixed in the next release.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;10. save the page again&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;11. Preview in the browser&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;12. click the Link&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText&gt;&lt;FONT face=Tahoma size=2&gt;NOTICE: You should be directed to the dispform.aspx page and see the contact information.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=408672" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Totals in the DataView when the View is Filtered</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/03/18/398636.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/03/18/398636.aspx</id><published>2005-03-18T16:05:00Z</published><updated>2005-03-18T16:05:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Hello again,&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;We are chugging along with the next version of Office and are super busy around here trying to get the right features into the next version of the Data View and &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; customization story. That said, I was looking through some older posts and saw this one:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;A href="http://blogs.msdn.com/frontpoint/archive/2004/04/30/123982.aspx"&gt;&lt;font face="Tahoma" size="2"&gt;http://blogs.msdn.com/frontpoint/archive/2004/04/30/123982.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;from Rob. This is a really cool feature for showing the count of items in your view. However, this count is not accurate once you start using Ad Hoc filtering. This post is about extending the above example by making a minor edit to the XSLT in code view.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So....&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Create a Data View of some data source (I'll just assume you know how if you're still reading this post)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Click on &lt;strong&gt;Data&lt;/strong&gt; then &lt;strong&gt;Style&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Enable the default toolbar and the Show View Footer checkboxes on the&amp;nbsp;&lt;strong&gt;Options&lt;/strong&gt; tab and click &lt;strong&gt;OK&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Drag some data value into the View Footer and use the OOUI to change this to a COUNT (this is how far the above article gets you, this next step is the Money step)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Switch to code view (this next part is a little complicated - you are going to modify the View Footer XSLT and then move the code that says where to display the View Footer*)&lt;/font&gt;&lt;/li&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Click &lt;strong&gt;Edit&lt;/strong&gt; and then &lt;strong&gt;Find&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;find the following: dvt_1.footer&lt;/font&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;the code should look like this:&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" color="#ff0000" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:call-template name="dvt_1.footer"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:with-param name="Rows" select="$Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;select this code and CUT&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Click &lt;strong&gt;Edit&lt;/strong&gt; and then &lt;strong&gt;Find&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;find the following: groupend&lt;/font&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;the code should look like this:&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" color="#ff0000" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="groupend"&amp;gt;&amp;lt;xsl:value-of select="ddwrt:NameChanged('', -1)"/&amp;gt;&amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:foreach&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:template&amp;gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;paste in the code from step 2 immediately after the &amp;lt;/xsl:foreach&amp;gt; so it looks like this:&lt;/font&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="groupend"&amp;gt;&amp;lt;xsl:value-of select="ddwrt:NameChanged('', -1)"/&amp;gt;&amp;lt;/xsl:variable&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:call-template name="dvt_1.footer"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:with-param name="Rows" select="$Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;&lt;/font&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#ff0000"&gt;&amp;lt;/xsl:template&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;click &lt;strong&gt;Edit&lt;/strong&gt; and then &lt;strong&gt;Find&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Find the following (again): dvt_1.footer&lt;/font&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;The code should look like this:&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" color="#ff0000" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:template name="dvt_1.footer"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table cellSpacing="0" cellPadding="4" border="0" width="100%"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="count(/dataroot/Categories/CategoryID)"/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Remove the &amp;lt;table&amp;gt; code so it looks like this&lt;/font&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma" color="#ff0000" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:template name="dvt_1.footer"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="count(/dataroot/Categories/CategoryID)"/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Change the Count code so it references a variable rather than a literal path&lt;/font&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Tahoma" color="#ff0000" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:template name="dvt_1.footer"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="count($Rows)"/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Save the page and preview in the browser&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Tahoma" size="2"&gt;Change the Filter and you should see the count change&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I am hoping this will be much easier in the next release.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;-John&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Tahoma" size="2"&gt;*technical details: our design is to put the view footer outside the body template that displays your data. Because of this, the scope of the $Rows parameter is outside the current Repeating Data Region. What we have to do is move the scope inside the current RDR. In doing so, we need to delete the &amp;lt;table&amp;gt; code so it will be valid HTML.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=398636" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Serge van den Oever</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/03/01/382395.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/03/01/382395.aspx</id><published>2005-03-01T15:38:00Z</published><updated>2005-03-01T15:38:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I just came across Serge's Blog last night and wanted to link to it, but also wanted to get some feedback. I've been working on documenting all the DDWRT functions the come with the DataViewWebPart, when much to my surprise, Serge had already a good job of it himself.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;a href="http://weblogs.asp.net/soever/archive/2005/01/03/345535.aspx"&gt;&lt;font face="Tahoma" size="2"&gt;http://weblogs.asp.net/soever/archive/2005/01/03/345535.aspx&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;font face="Tahoma" size="2"&gt;I was hoping to get some feedback about whether this information is useful, high priority, necessary...any comments at all.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;font face="Tahoma" size="2"&gt;Thanks!&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;font face="Tahoma" size="2"&gt;-John&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=382395" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Some Behaviors may not be restored even though you check the button to "Restore onmouseout"</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/02/10/370459.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/02/10/370459.aspx</id><published>2005-02-10T15:29:00Z</published><updated>2005-02-10T15:29:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" color="#000000" size="2"&gt;This one is really more of a KB article topic than &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; specific, but I was asked this question by a &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; developer who uses a lot of DIVs, so I thought I'd post it here.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000000" size="2"&gt;If you use &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; Behaviors to do things like change the background color of a layer, or change the style of a font tag using onclick or onmouseover commands, and you also want to restore the style onmouseout or onblur, you may find that the style is not restored properly in certain cases.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000000" size="2"&gt;These cases are when the style is set as part of the style attribute. For example, if you have:&lt;br /&gt;&amp;lt;DIV style="background-color: red;"&amp;gt;this is in the div&amp;lt;/DIV&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000000" size="2"&gt;And you use &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt;'s behaviors to change the color to black onmouseover, it will not turn back to red onmouseout even though you check the box for it to do so.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000000" size="2"&gt;The workaround if pretty simple, but also very hard to figure out, so here it is:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000000" size="2"&gt;In code view, use Edit &amp;gt; Find to find the following code in the restore javascript function:&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font color="#ff0000"&gt;eval("x."+x.n+"=x.v"); }&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font color="#000000"&gt;and change it to: &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font color="#ff0000"&gt;eval("x."+x.n+"=String(x.v)"); }&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font color="#000000"&gt;That should do it for you.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font color="#000000"&gt;-John&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=370459" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Selecting unique values in a Drop-down list using the Data View Web Part</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/02/08/369249.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/02/08/369249.aspx</id><published>2005-02-08T18:48:00Z</published><updated>2005-02-08T18:48:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I posted awhile ago about how to select unique values for tabular data views, but I have now received a few emails asking how to do it for drop-down lists. It is almost the exact same code, but apparently this is confusing enough to warrant&amp;nbsp;a different post.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;My code sample assumes you are using the default Announcements list on &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; and that the Title field is what you want to display.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;First, browse out to your&amp;nbsp;Announcements list (which you get by default when you create a &lt;/font&gt;&lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;&lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;&lt;font face="Tahoma" size="2"&gt;SharePoint&lt;/font&gt;&lt;/a&gt;&lt;/a&gt;&lt;font face="Tahoma" size="2"&gt; site), and add a few Announcements all with the same title (just for demonstrations sake :-))&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Then...&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;1. &lt;/font&gt;&lt;A href="http://blogs.msdn.com/frontpoint/articles/119028.aspx"&gt;&lt;font face="Tahoma" size="2"&gt;Insert a Data View Web Part&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt; based on the&amp;nbsp;Announcements list&lt;br /&gt;2. Click Data..Style and change to the drop-down view style..OK&lt;br /&gt;2. Probably best to switch to code view at this point&lt;br /&gt;3. Find the code that looks like this:&lt;br /&gt;&lt;font color="#0000ff"&gt;&amp;lt;xsl:template name="dvt_1.body" xmlns:ddwrt="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;a href="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;http://schemas.microsoft.com/WebParts/v2/DataView/runtime&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;" xmlns:xsl="&lt;/font&gt;&lt;a href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;http://www.w3.org/1999/XSL/Transform&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#0000ff"&gt;" xmlns:msxsl="urn:schemas-microsoft-com:xslt"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="FirstRow"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="LastRow"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:for-each select="$Rows"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="KeepItemsTogether" select="false()"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="HideGroupDetail" select="false()"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="GroupStyle" select="'auto'"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="(position() &amp;amp;gt;= $FirstRow and position() &amp;amp;lt;= $LastRow) or $KeepItemsTogether"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="not($HideGroupDetail)" ddwrt:cf_ignore="1"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option style="display:{$GroupStyle}"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="@Title"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;4. Change that code to look like this:&lt;br /&gt;&lt;font color="#0000ff"&gt;&amp;lt;xsl:template name="dvt_1.body" xmlns:ddwrt="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;a href="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;http://schemas.microsoft.com/WebParts/v2/DataView/runtime&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;" xmlns:xsl="&lt;/font&gt;&lt;a href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;http://www.w3.org/1999/XSL/Transform&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;" xmlns:msxsl="urn:schemas-microsoft-com:xslt"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="FirstRow"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="LastRow"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:for-each select="$Rows"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="KeepItemsTogether" select="false()"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="HideGroupDetail" select="false()"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="GroupStyle" select="'auto'"/&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" color="#ff0000" size="2"&gt;&amp;lt;!-- this next line is used to store the&amp;nbsp;value we need to compare&amp;nbsp;for uniqueness --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="uniqueTitle" select="@Title"/&amp;gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&lt;br /&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;font color="#ff0000"&gt;&lt;font color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="(position() &amp;amp;gt;= $FirstRow and position() &amp;amp;lt;= $LastRow) or $KeepItemsTogether"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="not($HideGroupDetail)" ddwrt:cf_ignore="1"&amp;gt;&lt;br /&gt;&lt;/font&gt;&amp;lt;!-- this next part is where we compare the variable created above to the current selection and if they are different, we write the value --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="@ID=//Rows/Row[@Title=$uniqueTitle][1]/@ID"&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option style="display:{$GroupStyle}" value="&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;a href="mailto:{@Title"&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;{@Title&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;font face="Tahoma" color="#0000ff" size="2"&gt;}"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="@Title"/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/option&amp;gt;&lt;/font&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#ff0000"&gt;&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&lt;/font&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#000000"&gt;5. Save the page.&amp;nbsp; Notice that only the unique values are displayed.&amp;nbsp; You can use this code in any number of places in the XSLT (for example, inside a drop-down menu).&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=369249" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Use a drop-down control's onchange event to navigate to pages dyanamically</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2005/02/08/369224.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2005/02/08/369224.aspx</id><published>2005-02-08T18:27:00Z</published><updated>2005-02-08T18:27:00Z</updated><content type="html">&lt;p class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma" size="2"&gt;I have seen this come up a few times lately and I feel like I'm just typing the same thing over an over, so I'll post it here.&amp;nbsp; I'm sorry I am being so bad about posting lately, I am going to try to do better.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma" size="2"&gt;The goal of this article is to use an XML data source to populate a drop-down control that will take you to some other URL when you change the drop-down controls value. Now, if you are using List Data, you may want to check out my article for &lt;/font&gt;&lt;A href="http://blogs.msdn.com/frontpoint/articles/123113.aspx"&gt;&lt;font face="Tahoma" size="2"&gt;breaking up a URL field type&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" size="2"&gt;. And I am going to post in just a minute or two with instructions for selecting unique values in the drop-down.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;ol&gt; &lt;li class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Open your page in &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; 2003&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Data..Insert Data View&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Choose your data source, right click &amp;gt; Show Data&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Select the fields you want to use in the drop-down&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma" size="2"&gt;Insert Data View&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Data..Style&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma" size="2"&gt;Change to “Drop-down view style”..OK&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma" size="2"&gt;Switch to code view&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div class="MsoNormal"&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma" size="2"&gt;Just before the &amp;lt;/head&amp;gt; tag, add this code:&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p class="MsoNormal"&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;&amp;lt;script language="JavaScript"&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;&amp;lt;!--&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;function FP_jumpMenu(el,frm,sel) {//v1.0&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;var href=el.options[el.selectedIndex].value; if(sel) el.selectedIndex=0;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;if('_new'==frm) open(href); else eval(frm+".location='"+href+"'");&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;}&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="COLOR: #993300"&gt;// --&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: #993300"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="COLOR: #993300"&gt;&lt;font color="#000000"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;11. &lt;span style="COLOR: blue"&gt;FIND: &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&amp;lt;select name="ID" size="1"&lt;br /&gt;&lt;font color="#000000"&gt;12.&lt;/font&gt; &lt;span style="COLOR: blue"&gt;Change to: &amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt;select name="ID" size="1" onchange="FP_jumpMenu(this,'window',false)"&amp;gt;&lt;br /&gt;&lt;font color="#000000"&gt;13.&lt;/font&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&lt;o:p&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;span style="COLOR: blue"&gt;FIND: &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&amp;lt;option style="display:{$GroupStyle}"&lt;br /&gt;&lt;font color="#000000"&gt;14.&lt;/font&gt; &lt;span style="COLOR: blue"&gt;Change &lt;/span&gt;&lt;span style="COLOR: #993300"&gt;to: &amp;lt;option style="display:{$GroupStyle}" value=”{@FieldWithURL}”&amp;gt; &amp;lt;!--where FieldWIthURL is your field with the URL &lt;/span&gt;&lt;span style="COLOR: #993300; FONT-FAMILY: Wingdings"&gt;J&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="COLOR: #993300"&gt;&lt;font face="Tahoma" size="2"&gt; --&amp;gt;&lt;br /&gt;&lt;font color="#000000"&gt;15.&lt;/font&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="COLOR: blue"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;Save the page and preview in the browser.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=369224" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Using Conditional Formatting and the data view opens up a whole new world of possibilities</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/11/11/255773.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/11/11/255773.aspx</id><published>2004-11-11T18:09:00Z</published><updated>2004-11-11T18:09:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Arial" size="2"&gt;I have a Data View Web Part that displays the status of several different servers I maintain.&amp;nbsp; Basically, I am using a &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; list.&amp;nbsp; The List has a Title field which contains the name of each server and a multiple choice field that lets me set the status to "UP," "DOWN," or "CAUTION."&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial" size="2"&gt;For each of these three statuses, I have&amp;nbsp;a little gif image of a green arrow, red arrow and yellow circle respectively.&amp;nbsp; What I want to do is create a data view that has the name of the server and displays the arrow based on the what the status is.&amp;nbsp; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial" size="2"&gt;Here's how to do that.&lt;/font&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Open the &lt;a title="" href="http://www.microsoft.com/sharepoint/" &gt;wss&lt;/a&gt; site in &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; 2003&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Click Data..Insert Data View&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Right click the &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; list that contains my data&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Click "Show Data"&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Select the Title field&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Click "Insert Data View"&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Since I only selected one field, I get a bulleted list. So I change this: by clicking on Data..Style &amp;gt; General tab and changing to Tabular view..OK&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Place the Cursor next to one of the server names and add a new column to my view: Table &amp;gt; Insert &amp;gt; Rows and Columns&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Place the Cursor inside a cell in this new column and insert my image&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Insert &amp;gt; Picture from file&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;I type in the URL to the green.gif&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Next to this image, I insert the red.gif and yellow.gif as well so each row of data now shows all three images&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Select the green.gif image&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Click on Data..Conditional Formatting&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Click Create&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Click Show Content...&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;I create a filter that says "Status == UP"..OK (now the green arrow only shows in rows where status is UP)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Repeat steps 13 through 17 for the other two gifs, setting the filter appropriately&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Arial" size="2"&gt;Save the page&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font face="Arial" size="2"&gt;Using Conditional Formatting opens up a huge world of possibilities.&amp;nbsp; You can modify views by passing parameters via web part connections, you can format items conditionally, you can show data or hide data based on complex XPATH by clicking on the Advanced button in the filter dialog, and on and on.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=255773" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Customizing List Form web parts should be easy but isn't</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/11/10/255277.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/11/10/255277.aspx</id><published>2004-11-10T20:58:00Z</published><updated>2004-11-10T20:58:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This is one of those issues that bugs me quite a bit.&amp;nbsp; When you want to customize the NewForm or EditForm.aspx pages on a &lt;a title="" href="http://www.microsoft.com/sharepoint/" &gt;wss&lt;/a&gt; site, you have to live in code (reading CAML or encoded HTML). Or even build something yourself from scratch. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Since the toolbar for these List Forms can't be customized, it is really challenging to make these form look the way you want.&amp;nbsp; Here is a tip for creating a new toolbar.&amp;nbsp; If any of you have better tips or tricks for doing this, let me know!&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma" color="#000000"&gt;Open the NewForm.aspx page for any &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; List in &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt;.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Right click the List Form Web Part and choose “Customize &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt;&amp;nbsp;List Form”&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;WARNING: You are no longer in WYSIWYG land. Do not delete any of the yellow icons or anything you see.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000"&gt;TO PUT IN A NEW SAVE BUTTON AT THE BOTTOM OF THE FORM:&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000" size="2"&gt;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Place the cursor to the Right of the last yellow icon with a question mark in it and type “Save”&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Select this text&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Insert &amp;gt; hyperlink&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;ADDRESS: javascript:ClickOnce();&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma"&gt;&amp;nbsp;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Save the page and preview it.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;Add some data to make sure this works.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;If it doesn’t, remember it is case sensitive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000" size="2"&gt;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000" size="2"&gt;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;If you want to remove a single link from the&amp;nbsp;toolbar, you need to remove the whole toolbar and add the links back manually.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Right click the List Form Web&amp;nbsp;Part&amp;nbsp;and choose “List Form Properties” then uncheck the box to show the toolbar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;br /&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Then add back the links from the toolbar by hand&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;font face="Tahoma" color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Insert a new Table row above the row with the Title field&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Type “Attachment”&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Select “Attachment”&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;Insert &amp;gt; hyperlink&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;ADDRESS: javascript:UploadAttachment();&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;font face="Tahoma"&gt;&lt;font color="#000000"&gt;OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Let me know what you all think!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;-John&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=255277" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Howto: Display list or document library data from a parent site within a different site</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/10/27/248751.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/10/27/248751.aspx</id><published>2004-10-27T21:19:00Z</published><updated>2004-10-27T21:19:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;I get asked this one a lot, and thought I had blogged it but it looks like I didn't.&amp;nbsp; The general user scenario is where you have a parent site (&lt;/font&gt;&lt;a href="http://myserver"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt;) that contains a list of information that is relevant to a bunch of subsites (&lt;/font&gt;&lt;a href="http://myserver/subsite"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt;) and you want to display the data from the parent inside the children.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;For these steps, the server I am using is called: &lt;/font&gt;&lt;a href="http://myserver"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt;, on this server is my subsite: &lt;/font&gt;&lt;a href="http://myserver/subsite"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Open this subsite in &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt;&lt;/font&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Browse to &lt;/font&gt;&lt;a href="http://myserver/subsite/default.aspx"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite/default.aspx&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt; and click File &amp;gt; Edit in Microsoft &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt;, or&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Launch &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; and click File &amp;gt; Open Site and type in this URL&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Open the default.aspx page if it isn’t open already&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Data..Insert Data View (this should launch the Data Source Catalog)&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;At the bottom of the Catalog, expand “XML Web Services”&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click “Add to catalog”&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Type in this URL: &lt;/font&gt;&lt;a href="http://myserver/_vti_bin/lists.asmx"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/_vti_bin/lists.asmx&lt;/font&gt;&lt;/a&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click “Connect now”&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the “Operation” drop-down, change the value to “GetListItems” method&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Change the listName property to “Announcements” (without the quotes)&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click OK&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click this data source and choose “Show Data” (should launch the Data View Details taskpane)&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Select the fields you want to display&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Place the Cursor in the page where you want to insert the Data View&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click “Insert Data View” from the taskpane&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;From the Data..Style menu, you can control the appearance, paging, toolbars, etc.&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;From the Data..Filter menu, you can add a filter for the data source&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;From the Data..Web Part Properties dialog, you can control the web part chrome&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;By going into code view, you can add the JavaScript to enable the drop-down menu items for editing the list items, if that’s what you want.&amp;nbsp; You can also use &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt;’s design tools to create hyperlinks. For example:&lt;/font&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Select the title data value&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Insert &amp;gt; Hyperlink&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Create a hyperlink to the editform.aspx page&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click on Parameters&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Add a parameter to the URL for the List ID number&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;OK back to the page&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;That should allow you to click on the Title and edit that specific list item&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;All of the functionality is there, it’s just a matter of knowing how to add it.&lt;br /&gt;I made these steps very long to be careful, but it really is quite easy.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Let me know if any of this needs further clarification.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;-John&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=248751" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>use SharePoint's web services to access list data using FrontPage</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/10/21/245700.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/10/21/245700.aspx</id><published>2004-10-21T15:33:00Z</published><updated>2004-10-21T15:33:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Windows &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; Services ships with some really powerful web services that allow users to access list and site information not available through other means.&amp;nbsp; &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; 2003 allows users to access these web services in a very straight forward manner, populating all of the query fields dynamically so that little or no knowledge of SOAP is required.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;This example here describes how to use the Data View Web Part to access the lists.asmx web service to display the Attachments on list items in &lt;a title="" href="http://www.microsoft.com/sharepoint/"&gt;wss&lt;/a&gt;.&amp;nbsp; In order to make this as easy to describe as possible, I will use the Announcements list.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;So, to start, I browse to the announcements list on my server: &lt;/font&gt;&lt;a href="http://myserver/subsite/lists/announcements/forms/allitems.aspx"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite/lists/announcements/forms/allitems.aspx&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt; and add a new announcement.&amp;nbsp; The title is 'foo' and I click to add an attachment which is called attachment.htm.&amp;nbsp; By default, I now have two announcements in my list, one with title "Welcome to Windows &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; Services..." and one with title "foo."&amp;nbsp; I open this site in &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; 2003 and create a new blank page on which to work.&lt;/font&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Data..Insert Data View&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the Data Source Catalog, Right click Announcements &amp;gt; Show Data&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the Data View Details taskpane, select the Title and the Body and click "Insert Data View" (this should create a data view web part on your blank page displaying the Title and Body for the two announcements)&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Data..Insert Data View&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Expand the "XML Web Services" section of the Catalog&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click "Add to Catalog"&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the "Service Description Location" type: &lt;/font&gt;&lt;a href="http://myserver/subsite/_vti_bin/lists.asmx"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite/_vti_bin/lists.asmx&lt;/font&gt;&lt;/a&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click "Connect now"&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Under "Operation" change to the "GetAttachmentCollection" method&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Double click "listName" and set the value to "Announcements"..OK&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Double click "listItemID" and set the value to '2' (without the quotes - this is the ID of the item that has the attachment from above, if you set this value to 1, step 14 will&amp;nbsp;not work), &lt;strong&gt;check the box that "The value of this parameter can be set at&amp;nbsp;runtime"&lt;/strong&gt;..OK&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click OK to the Data Source Properties dialog&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click this new data source in the&amp;nbsp;Data Source Catalog &amp;gt; Show Data&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;You should see the path to your attachment load in the Data View Details tree&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Place your cursor under the DVWP you inserted in step 3&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Select the "Attachment" data value in the DVD tree and click "Insert Data View" (you should now have two data views on your page, one of the titles and body and one of the attachments)&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click the Data Value to the Attachment and Format Items As &amp;gt; Hyperlink&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click the first data view &amp;gt; Web Part Connections&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Use the Connections wizard to create a connection which will pass the ID value from the first data view to the second&lt;/font&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;PROVIDE DATA VALUES TO &amp;gt; NEXT&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;CONNECT TO A WEB PART ON THIS PAGE &amp;gt; NEXT&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;TARGET WEB PART: Lists on Subsite; TARGET ACTION: Modify web part using Parameters from &amp;gt; NEXT&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;COLUMNS IN ANNOUNCEMENTS: ID; INPUTS TO LISTS: listItemID &amp;gt;NEXT (if you don't have listItemID, you forgot to check the box in step 11)&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;CREATE A HYPERLINK ON TITLE and INDICATE CURRENT SELECTION USING: ID &amp;gt; NEXT&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;FINISH&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Save the Page and Preview in the Browser&lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click on "Foo" and you will see the Link to its attachment.&amp;nbsp; Click the link and see the Attachment load in your browser.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;I hope that this introduction to web services in &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; and &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; inspires you to check out all the other methods.&amp;nbsp; Let us know what problems you've solved by using these web services!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Thanks!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=245700" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>use SharePoint's web services to access list data using FrontPage</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/10/21/245699.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/10/21/245699.aspx</id><published>2004-10-21T15:33:00Z</published><updated>2004-10-21T15:33:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Windows &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; Services ships with some really powerful web services that allow users to access list and site information not available through other means.&amp;nbsp; &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; 2003 allows users to access these web services in a very straight forward manner, populating all of the query fields dynamically so that little or no knowledge of SOAP is required.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;This example here describes how to use the Data View Web Part to access the lists.asmx web service to display the Attachments on list items in &lt;a title="" href="http://www.microsoft.com/sharepoint/" &gt;wss&lt;/a&gt;.&amp;nbsp; In order to make this as easy to describe as possible, I will use the Announcements list.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;So, to start, I browse to the announcements list on my server: &lt;/font&gt;&lt;a href="http://myserver/subsite/lists/announcements/forms/allitems.aspx"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite/lists/announcements/forms/allitems.aspx&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt; and add a new announcement.&amp;nbsp; The title is 'foo' and I click to add an attachment which is called attachment.htm.&amp;nbsp; By default, I now how two announcements in my list, on with title "Welcome to Windows &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; Services..." and one with title "foo."&amp;nbsp; I open this site in &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; 2003 and create a new blank page on which to work.&lt;/font&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Data..Insert Data View&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the Data Source Catalog, Right click Announcements &amp;gt; Show Data&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the Data View Details taskpane, select the Title and the Body and click "Insert Data View" (this should create a data view web part on your blank page displaying the Title and Body for the two announcements)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Data..Insert Data View&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Expand the "XML Web Services" section of the Catalog&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click "Add to Catalog"&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;In the "Service Description Location" type: &lt;/font&gt;&lt;a href="http://myserver/subsite/_vti_bin/lists.asmx"&gt;&lt;font face="Verdana" size="2"&gt;http://myserver/subsite/_vti_bin/lists.asmx&lt;/font&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click "Connect now"&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Under "Operation" change to the "GetAttachmentCollection" method&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Double click "listName" and set the value to "Announcements"..OK&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Double click "listItemID" and set the value to '2' (without the quotes - this is the ID of the item that has the attachment from above, if you set this value to 1, step 14 will&amp;nbsp;not work), &lt;strong&gt;check the box that "The value of this parameter can be set at&amp;nbsp;runtime"&lt;/strong&gt;..OK&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click OK to the Data Source Properties dialog&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click this new data source in the&amp;nbsp;Data Source Catalog &amp;gt; Show Data&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;You should see &amp;nbsp;the path to your attachment load in the Data View Details tree&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Place your cursor under the DVWP you inserted in step 3&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Select the "Attachment" data value in the DVD tree and click "Insert Data View" (you should now have two data views on your page, one of the titles and body and one of the attachments)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click the Data Value to the Attachment and Format Items As &amp;gt; Hyperlink&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Right click the first data view &amp;gt; Web Part Connections&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Use the Connections wizard to create a connection which will pass the ID value from the first data view to the second&lt;/font&gt;&lt;/li&gt; &lt;ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;PROVIDE DATA VALUES TO &amp;gt; NEXT&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;CONNECT TO A WEB PART ON THIS PAGE &amp;gt; NEXT&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;TARGET WEB PART: Lists on Subsite; TARGET ACTION: Modify web part using Parameters from &amp;gt; NEXT&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;COLUMNS IN ANNOUNCEMENTS: ID; INPUTS TO LISTS: listItemID &amp;gt;NEXT (if you don't have listItemID, you forgot to check the box in step 11)&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;CREATE A HYPERLINK ON TITLE and INDICATE CURRENT SELECTION USING: ID &amp;gt; NEXT&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;FINISH&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Save the Page and Preview in the Browser&lt;/font&gt;&lt;/li&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;Click on "Foo" and you will see the Link to its attachment.&amp;nbsp; Click the link and see the Attachment load in your browser.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;I hope that this introduction to web services in &lt;a title="Microsoft SharePoint Products and Technologies" href="http://www.microsoft.com/sharepoint/" target="_blank"&gt;SharePoint&lt;/a&gt; and &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; inspires you to check out all the other methods.&amp;nbsp; Let us know what problems you've solved by using these web services!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Thanks!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=245699" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>Using a form to filter a data view web part - or NOT</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/06/10/152935.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/06/10/152935.aspx</id><published>2004-06-10T20:14:00Z</published><updated>2004-06-10T20:14:00Z</updated><content type="html">&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;FONT face=Tahoma&gt;This is a modified post.&amp;nbsp; My original code sample was more complicated than it needed to be.&amp;nbsp; This one is WAY simpler.&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;FONT face=Tahoma&gt;I was just thinking that it should be&amp;nbsp;a lot easier to use a Form Web Part and be able to either filter a data view based on that Form's contents, or to pass in an &amp;#8220;ALL&amp;#8221; value.&amp;nbsp; Basically, when you enable the Filtering toolbar for the Data View, this is what you get, but in my scenario, I wanted to be able to go cross-page with my filter.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;My wife had a baby 2 weeks ago, so I've been OOF for a bit, but this morning I sat down and decided I needed to enable this for my baby's blog...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;Here it is.&amp;nbsp; For this example, I just use the Announcements list default views because &lt;A title="" href="http://www.microsoft.com/sharepoint/"&gt;wss&lt;/A&gt; sites usually get this list by default.&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Tahoma&gt;On a new page insert a few of the Announcements list&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Insert a Form Web Part&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Change the input type of the Form to be a drop-down field and add some values:&lt;/FONT&gt; 
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Tahoma&gt;All&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;1&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;2&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Place the cursor into the Data View you created in Step 1 and click on Table..Select &amp;gt; Row&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Click on Data..Conditional Formatting&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Click on Create&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Click on &amp;#8220;Show content...&amp;#8220;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Field Name == ID&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Comparison == Equals&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Value == [Input Paramter]&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Click OK&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Right click the Form Web Part &amp;gt; Web Part Connections&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Provide Data Values to...&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Web Part on this page...&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Modify view using Parameters from...&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;D1&amp;nbsp;== Input Parameter&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Finish the wizard&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Now switch to code view&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Tahoma&gt;Add an OR so that we test for the FilterParameter saying 'All'.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;FONT face=Tahoma&gt;
&lt;P&gt;currently, the dvt_1.body template looks like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a52a2a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:template name="dvt_1.body"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="FirstRow"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="LastRow"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:for-each select="$Rows"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="KeepItemsTogether" select="false()"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="HideGroupDetail" select="false()"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="GroupStyle" select="'auto'"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="(position() &amp;amp;gt;= $FirstRow and position() &amp;amp;lt;= $LastRow) or $KeepItemsTogether"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="not($HideGroupDetail)" ddwrt:cf_ignore="1"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="@ID = $filterParam"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr style="display:{$GroupStyle}"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="@Title"/&amp;gt;&amp;lt;/td&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="@Editor"/&amp;gt;&amp;lt;/td&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="ddwrt:FormatDate(string(@Modified), 1033, 5)"/&amp;gt;&amp;lt;/td&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;You need to add the code in bright red:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a52a2a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:template name="dvt_1.body"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="Rows"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="FirstRow"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:param name="LastRow"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:for-each select="$Rows"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="KeepItemsTogether" select="false()"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="HideGroupDetail" select="false()"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:variable name="GroupStyle" select="'auto'"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="(position() &amp;amp;gt;= $FirstRow and position() &amp;amp;lt;= $LastRow) or $KeepItemsTogether"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="not($HideGroupDetail)" ddwrt:cf_ignore="1"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test="@ID = $filterParam&lt;FONT color=#ff0000&gt; or $filterParam = 'All'&lt;/FONT&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr style="display:{$GroupStyle}"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="@Title"/&amp;gt;&amp;lt;/td&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="@Editor"/&amp;gt;&amp;lt;/td&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td class="ms-vb"&amp;gt;&amp;lt;xsl:value-of select="ddwrt:FormatDate(string(@Modified), 1033, 5)"/&amp;gt;&amp;lt;/td&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:if&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:for-each&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:template&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;20. Save the page and check it out in the browser.&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;Good luck!&lt;BR&gt;-John&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=152935" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry><entry><title>HOWTO: Fire a connection from the Drop-down view style of the Data View Web Part</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/frontpoint/archive/2004/05/21/136873.aspx" /><id>http://blogs.msdn.com/frontpoint/archive/2004/05/21/136873.aspx</id><published>2004-05-21T17:33:00Z</published><updated>2004-05-21T17:33:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Hey there.&amp;nbsp; &lt;a title="Microsoft Office FrontPage" href="http://office.microsoft.com/frontpage" target="_blank"&gt;FrontPage&lt;/a&gt; shipped a View Style for the Data View Web Part that doesn't really do anything.&amp;nbsp; The style is the drop-down style.&amp;nbsp; What most people want from this style is the ability to fire connections from it, so I wrote a KB article about this.&amp;nbsp; That is still in draft state, but I've seen this question so many times, I felt I had to post it here as well.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Good luck!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;1. Insert two Data Views of your data.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;2. Select one of the Data Views, choose Style from the Data View Details taskpane.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;3. Choose the drop-down box style from the list of styles, click OK.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;4. Right click this Data View, choose Web Part connections.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;5. Connect to the other Data View as you would normally.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;6. Go into Code View.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;7. Look for the &amp;lt;a target="_self"&amp;gt; code that looks similar to this (usually, it would be the first &amp;lt;a&amp;gt; tag in the page) and copy the entire block for the first XSL:ATTRIBUTE (see below):&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&amp;lt;a target="_self"&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&amp;lt;!-- NOTE: start copying here --&amp;gt;&lt;BR&gt;&amp;lt;xsl:attribute xmlns:xsl="&lt;/FONT&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;http://www.w3.org/1999/XSL/Transform&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;" name="href"&amp;gt;&amp;lt;xsl:variable name="cursel"&amp;gt;dvt_curselkey={&amp;lt;xsl:value-of select="$CurrentRowKey"/&amp;gt;}&amp;lt;/xsl:variable&amp;gt;&amp;lt;xsl:variable xmlns:xsl="&lt;/FONT&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;http://www.w3.org/1999/XSL/Transform&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;" name="fields"&amp;gt;@ID=&amp;lt;xsl:value-of select="ddwrt:ConnEncode(string(@ID))"/&amp;gt;&amp;lt;/xsl:variable&amp;gt;javascript:&amp;lt;xsl:value-of select="ddwrt:GenFireConnection(concat('99d2bb39-f973-482c-a0ca-e49b56eae72d*',$fields),string($cursel))"&amp;gt;&amp;lt;/xsl:value-of&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;BR&gt;&amp;lt;!-- NOTE: end copying here--&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&amp;lt;xsl:attribute name="style"&amp;gt;&amp;lt;xsl:if test="$CurrentRowKey = $dvt_curselkey"&amp;gt;font-weight: bold;&amp;lt;/xsl:if&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;BR&gt;&amp;lt;xsl:value-of select="@Title"/&amp;gt;&lt;BR&gt;&amp;lt;/a&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;8. Look for the code for the &amp;lt;option&amp;gt; tag.&amp;nbsp; It should be right above the &amp;lt;a&amp;gt; tag.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;9. Paste in the section of code you copied above.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;10. Change the name="href" part to name="value".&amp;nbsp; At this point, you should have something like this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&amp;lt;option style="display:{$GroupStyle}"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xsl:attribute xmlns:xsl="&lt;/FONT&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;http://www.w3.org/1999/XSL/Transform&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;" name="value"&amp;gt;&amp;lt;xsl:variable name="cursel"&amp;gt;dvt_curselkey={&amp;lt;xsl:value-of select="$CurrentRowKey"/&amp;gt;}&amp;lt;/xsl:variable&amp;gt;&amp;lt;xsl:variable xmlns:xsl="&lt;/FONT&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;http://www.w3.org/1999/XSL/Transform&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;" name="fields"&amp;gt;@ID=&amp;lt;xsl:value-of select="ddwrt:ConnEncode(string(@ID))"/&amp;gt;&amp;lt;/xsl:variable&amp;gt;javascript:&amp;lt;xsl:value-of select="ddwrt:GenFireConnection(concat('99d2bb39-f973-482c-a0ca-e49b56eae72d*',$fields),string($cursel))"&amp;gt;&amp;lt;/xsl:value-of&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;a target="_self"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute xmlns:xsl="&lt;/FONT&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;http://www.w3.org/1999/XSL/Transform&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;" name="href"&amp;gt;&amp;lt;xsl:variable name="cursel"&amp;gt;dvt_curselkey={&amp;lt;xsl:value-of select="$CurrentRowKey"/&amp;gt;}&amp;lt;/xsl:variable&amp;gt;&amp;lt;xsl:variable xmlns:xsl="&lt;/FONT&gt;&lt;A href="http://www.w3.org/1999/XSL/Transform"&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;http://www.w3.org/1999/XSL/Transform&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;" name="fields"&amp;gt;@ID=&amp;lt;xsl:value-of select="ddwrt:ConnEncode(string(@ID))"/&amp;gt;&amp;lt;/xsl:variable&amp;gt;javascript:&amp;lt;xsl:value-of select="ddwrt:GenFireConnection(concat('99d2bb39-f973-482c-a0ca-e49b56eae72d*',$fields),string($cursel))"&amp;gt;&amp;lt;/xsl:value-of&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name="style"&amp;gt;&amp;lt;xsl:if test="$CurrentRowKey = $dvt_curselkey"&amp;gt;font-weight: bold;&amp;lt;/xsl:if&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="@Title"/&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/a&amp;gt;&lt;BR&gt;&amp;lt;/option&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;11. Look for the &amp;lt;select&amp;gt; tag for the drop down.&amp;nbsp; It should look something like:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&amp;lt;select name="ID" size="1"&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;12. Add an onchange event handler for the tag, as follows:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;&amp;lt;select name="ID" size="1" onchange="eval(this.options.value)"&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;FONT face=Tahoma color=#000000 size=2&gt;Now when you change the value your drop-down, your connection should fire.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=136873" width="1" height="1"&gt;</content><author><name>frontpoint</name><uri>http://blogs.msdn.com/members/frontpoint.aspx</uri></author></entry></feed>