HOWTO: Fire a connection from the Drop-down view style of the Data View Web Part

1. Insert two Data Views of your data. 2. Select one of the Data Views, choose Style from the Data View Details taskpane. 3. Choose the drop-down box style from the list of styles, click OK. 4. Right click this Data View, choose Web Part connections. 5. Connect to the other Data View as you…

3

HOWTO: Fire a connection from the Drop-down view style of the Data View Web Part

Hey there.  FrontPage shipped a View Style for the Data View Web Part that doesn’t really do anything.  The style is the drop-down style.  What most people want from this style is the ability to fire connections from it, so I wrote a KB article about this.  That is still in draft state, but I’ve…

3

Howto: Display the total number of items in a Data View when that view is paged

If you have a DVWP and you want to make it page (so you show only 6 items at a time, for example), by default FrontPage does not add the Total number of items to display. In order to show the total, you just need to add a small piece of XSLT to the Data View….


Showing the total number of items when a view is paged

This little tip just went through my inbox at work.  If you have a DVWP and you want to make it page (so you show only 6 items at a time, for example), by default FrontPage does not add the Total number of items to display. In order to show the total, you just need to…


Data Views and linking to the WSS pages that display them

I just posted a new howto article based on a post to the wss public newsgroup.  In FrontPage 2002, if you choose to “layout customize” a CAML list view and change it into a Dropdown form field, it would automatically still link to the proper dispform.asp and editform.asp pages. In FrontPage 2003, this does not…

2

Howto: Create a Data View Web Part as a dropdown menu linking directly to the Dispform.aspx page

Here is a howto article for making a dropdown view that links to the proper WSS page for display.For the Announcements list as an example:1. Insert a view of the Announcements list in FrontPage2. Data..Style3. From the General tab, select the Drop down view style4. Switch to code view5. Find the following code:<select name=”ID” size=”1″>6….

6

FrontPage and ASP.net

Not SharePoint authoring per se, but here’s a good article on MSDN about using FrontPage 2003 to write ASP.net pages. The article is written by Dave Berry author of FrontPage Unleashed books and one of the FP MVPs who I recently met when they came to Seattle a few weeks ago.   That reminds me;…

4

Totals in Data Views

A few people have asked about putting column totals in Data Views. Yes, you can do this! Ok, we could have made it easier to find (and I hope we will), but totals work just like inserting regular data items; the key is that you get the option for totals when insert an item into…

4

Howto: Display the Username for the Logged on user on a page

This is one of my favorites.  I want my site to say, “Hello, John Jansen, welcome to this site“ or whatever.  But since you can’t author server-side code with SharePoint sites, there is no evident way to do this.  The way I get around this limitation is to code XSLT and make it do what I…

6

Howto: Select only unique values in the XSLT Data View Web Part

A lot of times you will want to display only unique values inside the Data View.  What I have here is a variation of the Muenchian Method using an <xsl:key>.  Check out jenitennison.com for a few variations on this. First, browse out to your Announcements list (which you get by default when you create a SharePoint…

1