Displaying the Value of a Parameter in a Data View

In the previous exercise, you created a query string parameter that enabled you to change the row color based on a value in the URL. However, you might have noticed one big drawback: the data view does not indicate which parameter value is being passed in, it merely changes the row background color based on that parameter. In other words, if you change the value to small with a lowercase s, no row color would change (because XSLT is case sensitive), and you would have a very difficult time understanding what was happening.

To not only help the people who are using your Web application but also help yourself in debugging the Web application, it is sometimes necessary to display the parameter values ...

Get Building Web Applications with Microsoft® Office SharePoint® Designer 2007 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.