﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>DNN Musings</title>
    <description>General Interest Item about the DotNetNuke World</description>
    <link>http://www.tressleworks.ca/Blog/tabid/73/BlogId/1/Default.aspx</link>
    <language>en-US</language>
    <webMaster>Administrator@tressleworks.ca</webMaster>
    <pubDate>Wed, 10 Mar 2010 18:15:22 GMT</pubDate>
    <lastBuildDate>Wed, 10 Mar 2010 18:15:22 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.5.0.35082</generator>
    <item>
      <title>Sprites - not just soda pop! - Skinning Tip</title>
      <description>&lt;p style="text-align: left"&gt;At Open Force 2009 this past November, I attended a presentation by Kevin Schreiner (DotNetNuke on Speed and Performance) that spoke in part about the use of Sprites.  What on earth are sprites?  Well I had heard of the term sprites in relation to Computer Graphic programing, but not when it came to Web sites and DotNetNuke in particular.&lt;/p&gt; &lt;p style="text-align: left"&gt;So what are Sprites in terms of a Web site?  They present a way to reduce traffic between the server and the client.  Specifically, a sprite will contain a collection of images in one file, that can be reference to supply various graphic elements on a page. Since only one image file is required, the site will load faster. Additionally, since one image is used, less memory is used by the browser to render the page.&lt;/p&gt; &lt;p style="text-align: left"&gt;How is this done?  Well, after I had seen the presentation, I understood the concepts, but had yet to put into practice as I had no real need.  So it took me until now to sit down a try to use sprites.  Read on to see a simple example using sprites.&lt;br /&gt;  &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/68/Sprites-not-just-soda-pop-Skinning-Tip.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/68/Sprites-not-just-soda-pop-Skinning-Tip.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/68/Sprites-not-just-soda-pop-Skinning-Tip.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/68/Sprites-not-just-soda-pop-Skinning-Tip.aspx</guid>
      <pubDate>Sun, 24 Jan 2010 02:20:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=68</trackback:ping>
    </item>
    <item>
      <title>What's IN your database - Using a UDF with SGSV</title>
      <description>&lt;p style="text-align: left"&gt;One of the most useful T-SQL features is the keyword "IN".  THis keyword allows the user to filter the selected data against a list of comma separated data. For example, using the Northwind sample database:&lt;/p&gt;
&lt;p style="text-align: left"&gt;    &lt;span style="font-size: x-small"&gt;&lt;span style="font-family: Courier New"&gt;select * from Customers where Country IN ('Canada', 'Mexico')&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Courier New"&gt;&lt;br /&gt;
&lt;/span&gt;    &lt;br /&gt;
However, this is rather limited syntax as the parameter list is static.  Read on to see how you can use a User Defined Function to improve the IN keywords useability.&lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/67/Whats-IN-your-database-Using-a-UDF-with-SGSV.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/67/Whats-IN-your-database-Using-a-UDF-with-SGSV.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/67/Whats-IN-your-database-Using-a-UDF-with-SGSV.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/67/Whats-IN-your-database-Using-a-UDF-with-SGSV.aspx</guid>
      <pubDate>Sat, 23 Jan 2010 15:36:00 GMT</pubDate>
      <slash:comments>4</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=67</trackback:ping>
    </item>
    <item>
      <title>What's New At Tressleworks</title>
      <description>&lt;p style="text-align: left"&gt;First of all it's a new year. Welcome to 2010 everyone -- I for one am looking forward to what the year will bring.&lt;/p&gt;
&lt;p style="text-align: left"&gt;The Holidays has given me some time to get several items completed  that I have been working on for some time.  They are -- in no particular order: &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/66/Whats-New-At-Tressleworks.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/66/Whats-New-At-Tressleworks.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/66/Whats-New-At-Tressleworks.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/66/Whats-New-At-Tressleworks.aspx</guid>
      <pubDate>Sat, 02 Jan 2010 21:54:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=66</trackback:ping>
    </item>
    <item>
      <title>NorthWind Customer Paging Example using XLST and XMLdb</title>
      <description>&lt;p style="text-align: left"&gt;The second module I developed was called XMLdb.  This modules uses the "For XML" functionality of T-SQL along with power of XLST to provide some awesome results. &lt;/p&gt;
&lt;p style="text-align: left"&gt;Recently, I rewrote a good portion of XMLdb to utilitize the revised ASP.NET V2.0 XML routines.  Sadly, the existing module as still using the ASP.NET V1.0 methods, so the module was in need of some TLC. &lt;/p&gt;
&lt;p style="text-align: left"&gt;To demostrate the power of the module, I developed an Paging Example using the Northwind database and the Customer table.  While implementing paging is simple using the various grids, typically the performance suffers when the database table is larger.  In most cases the entire table must be returned from the database the the grid selects the disired records for display ... all the other records are unused.  On a 1,000,000 row table -- this can hurt performace especially if this is done several times as the user pages through the data.  However there are alternatives, and this demostration illustrates such an alternative.&lt;/p&gt;
&lt;p style="text-align: left"&gt;You can read about the demostration &lt;a target="_blank" href="http://www.tressleworks.ca/FreeModules/XMLdbV35/NorthWindCustomerPagingExample/tabid/346/Default.aspx"&gt;&lt;font color="#810081" size="3" face="Times New Roman"&gt;here&lt;/font&gt;&lt;/a&gt;, see it in action &lt;a target="_blank" href="http://www.tressleworks.ca/samples/XMLdb/NorthWindCustomersPagingExample/tabid/347/Default.aspx"&gt;here&lt;/a&gt;, or download the sample code and modules &lt;a href="http://www.tressleworks.ca/FreeModules/XMLdbV35/Downloads/tabid/85/Default.aspx"&gt;&lt;font color="#810081" size="3" face="Times New Roman"&gt;here&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: left"&gt;Hope you enjoy this version of paging.&lt;br /&gt;
Paul.&lt;/p&gt;
&lt;p style="text-align: left"&gt; &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/65/NorthWind-Customer-Paging-Example-using-XLST-and-XMLdb.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/65/NorthWind-Customer-Paging-Example-using-XLST-and-XMLdb.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/65/NorthWind-Customer-Paging-Example-using-XLST-and-XMLdb.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/65/NorthWind-Customer-Paging-Example-using-XLST-and-XMLdb.aspx</guid>
      <pubDate>Wed, 30 Dec 2009 21:42:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=65</trackback:ping>
    </item>
    <item>
      <title>Display EXCEL Spreadsheet data - Yes Virginia, there is a Santa Clause</title>
      <description>&lt;p style="text-align: left"&gt;Ever wondered...&lt;/p&gt;
&lt;p style="text-align: left; margin-left: 40px"&gt;&lt;strong&gt;How can I display an EXCEL Spreadsheet in DotNetNuke?&lt;/strong&gt;&lt;/p&gt;
&lt;p style="text-align: left"&gt;I have been asked this question several times in the last few weeks and have seen the same question posted in the forums too.  The answer is rather straight forward and the work is mostly done by Microsoft.  But there is always a catch.  In most causes, it's &lt;span style="color: #800000"&gt;&lt;strong&gt;view only&lt;/strong&gt;&lt;/span&gt;! Also, the syntax to extract the data is a special version of T-SQL, so there are some limits. &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/64/Display-EXCEL-Spreadsheet-data-Yes-Virginia-there-is-a-Santa-Clause.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/64/Display-EXCEL-Spreadsheet-data-Yes-Virginia-there-is-a-Santa-Clause.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/64/Display-EXCEL-Spreadsheet-data-Yes-Virginia-there-is-a-Santa-Clause.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/64/Display-EXCEL-Spreadsheet-data-Yes-Virginia-there-is-a-Santa-Clause.aspx</guid>
      <pubDate>Wed, 23 Dec 2009 01:34:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=64</trackback:ping>
    </item>
    <item>
      <title>SQLGridSelectedView V5.5 - Let's Review</title>
      <description>&lt;p style="text-align: left"&gt;Self promotion can be difficult especially if it's not in your nature.  In my case, I find it difficult.  However, I received a forum post from a new subscriber to my site that indicated that he had been looking of a SQL Grid display module for some time and just discovered my module.  So I guess it is time to do some self-promotion.&lt;/p&gt;
&lt;p style="text-align: left"&gt;So what is SQLGridSelectedView?  First let's take a look a the name:&lt;/p&gt;
&lt;p style="text-align: left"&gt;  &lt;strong&gt;SQL &lt;/strong&gt;- indicates the use of SQL to query a database&lt;br /&gt;
  &lt;strong&gt;Grid &lt;/strong&gt;- indicates the typical display format although templating is available&lt;br /&gt;
  &lt;strong&gt;Selected &lt;/strong&gt;- indicates the ability to filter the selection of data &lt;br /&gt;
  &lt;strong&gt;View &lt;/strong&gt;- the primary focus is to view data, but creating and updating data is possible. &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/63/SQLGridSelectedView-V5-5-Lets-Review.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/63/SQLGridSelectedView-V5-5-Lets-Review.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/63/SQLGridSelectedView-V5-5-Lets-Review.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/63/SQLGridSelectedView-V5-5-Lets-Review.aspx</guid>
      <pubDate>Thu, 24 Sep 2009 16:28:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=63</trackback:ping>
    </item>
    <item>
      <title>It's 5 o'clock somewhere...</title>
      <description>&lt;p style="text-align: left"&gt;I have been fighting a problem with user subscriptions on my site for some time.  It would take some time for a user to obtain access to the subscriber viewable items on my site.  I am using the Subscription Tools from &lt;a href="http://www.ventrian.com"&gt;Ventrian &lt;/a&gt;( highly recommended by the way) and works as expected except for this one issue. &lt;/p&gt;
&lt;p style="text-align: left"&gt;I &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;originally &lt;/span&gt;blamed everyone else (a good trait of a developer) - first PayPal, then subscription module, then server performance, then caching ...  Yesterday, I happened to be on the site and trying once more to figure this out when a user subscribed to the site.  Perfect, I immediate validated all the appropriate table at ensure all was correct.  I contacted the user and asked to see if he did have access. &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/62/Its-5-oclock-somewhere.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/62/Its-5-oclock-somewhere.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/62/Its-5-oclock-somewhere.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/62/Its-5-oclock-somewhere.aspx</guid>
      <pubDate>Wed, 23 Sep 2009 16:50:00 GMT</pubDate>
      <slash:comments>3</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=62</trackback:ping>
    </item>
    <item>
      <title>Creating Emptiness ... or a Stored Proc to create empty pages.</title>
      <description>&lt;p style="text-align: left"&gt;I have been working on skinning and playing with menus. Menus of empty pages.  I manually would create a structure and then work the skin and menu classes to define the look wanted. If you want a good tutorial on menus, see DNNCreative's #47 edition -- good stuff.  &lt;/p&gt;
&lt;p style="text-align: left"&gt;But after creating these empty pages over and over ... I got thinking there must be a better way. I binged and googled (boogled it?) and found no hits, so it was time to play around in T-SQL again.&lt;/p&gt;
&lt;p style="text-align: left"&gt;I developed a procedure called CreateEmptyPage &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/60/Creating-Emptiness-or-a-Stored-Proc-to-create-empty-pages.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/60/Creating-Emptiness-or-a-Stored-Proc-to-create-empty-pages.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/60/Creating-Emptiness-or-a-Stored-Proc-to-create-empty-pages.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/60/Creating-Emptiness-or-a-Stored-Proc-to-create-empty-pages.aspx</guid>
      <pubDate>Thu, 06 Aug 2009 03:42:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=60</trackback:ping>
    </item>
    <item>
      <title>New Version of MenuLinks Released - V2.0</title>
      <description>&lt;p style="text-align: left"&gt;The latest version of MenuLinks has been released on Tressleworks site.  This version has several enhancements that may interest the power users out there.&lt;/p&gt;
&lt;p style="text-align: left"&gt;However, first a bit of recap if you are not familiar with MenuLinks.  MenuLinks displays the relative menu items as links based on the current page.  What? &lt;/p&gt;
&lt;p style="text-align: left"&gt;Consider this scenario, you want to display a list of links for all other pages at the same level on the menu.  Well this can be done maually with the DotNetNuke Links modules.. but it will take time.  MenuLinks allow the user to do this by setting a few modules settings once.  If addition pages are added (or removed) MenuLinks will display the links based on the current menu contents.  Like the DNN Links menu, the list can be horizontal or vertical and align left, center, or right within the container.  Very handy.  You can see examples of MenuLinks &lt;a target="_blank" href="http://www.tressleworks.ca/samples"&gt;&lt;font face="Times New Roman" color="#810081" size="3"&gt;here&lt;/font&gt;&lt;/a&gt; &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/59/New-Version-of-MenuLinks-Released-V2-0.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/59/New-Version-of-MenuLinks-Released-V2-0.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/59/New-Version-of-MenuLinks-Released-V2-0.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/59/New-Version-of-MenuLinks-Released-V2-0.aspx</guid>
      <pubDate>Sun, 02 Aug 2009 17:57:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=59</trackback:ping>
    </item>
    <item>
      <title>Hunting for dots ... or finding GetPortalTabs</title>
      <description>&lt;p style="text-align: left"&gt;It seems lately that I have been taking the long way around when attempting to do something involving DotNetNuke.  My latest extended effort was attempting to add a indented dot tab list to my &lt;a target="_blank" href="http://www.tressleworks.ca/Modules/MenuLinks/tabid/101/Default.aspx"&gt;MenuLinks &lt;/a&gt;module.  It’s a long story that I will shorten so you can learn the lessons I had to learn the hard way.&lt;/p&gt;
&lt;p style="text-align: left"&gt;It start simply enough, I wanted to add the ability to display any sub-menu within MenuLinks, not just the current page’s relative menu items (Parent, Siblings, or Children).  The module currently uses the tabid of the current page to determine the relative menu position.  I thought that if I allowed the user to supply the starting menu item, the module could easily display any relative menu.  So begins the hunt for the indented dot tab list.  &lt;/p&gt;&lt;a href=http://www.tressleworks.ca/Blog/tabid/73/EntryId/58/Hunting-for-dots-or-finding-GetPortalTabs.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.tressleworks.ca/Blog/tabid/73/EntryId/58/Hunting-for-dots-or-finding-GetPortalTabs.aspx</link>
      <comments>http://www.tressleworks.ca/Blog/tabid/73/EntryId/58/Hunting-for-dots-or-finding-GetPortalTabs.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.tressleworks.ca/Blog/tabid/73/EntryId/58/Hunting-for-dots-or-finding-GetPortalTabs.aspx</guid>
      <pubDate>Fri, 31 Jul 2009 03:05:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.tressleworks.ca/DesktopModules/Blog/Trackback.aspx?id=58</trackback:ping>
    </item>
  </channel>
</rss>