<?xml version="1.0" encoding="utf-8"?>
<!--Generated by RSSMaster 1.0 (http://www.softtool.info/rssmaster)-->
<rss version="2.0">
  <channel>
    <title>Thinking Websites</title>
    <link>http://www.thinkingwebsites.com/</link>
    <description>computers and stuff</description>
    <generator>RSSMaster 1.0 (http://www.softtool.info/rssmaster)</generator>
    <language>en-US</language>
    <item>
      <title>ISAPI_Rewrite Common Regular Expressions</title>
      <description>ISAPI_Rewrite lets you easily create search engine friendly URL' s for your dynamic asp.net website.&amp;nbsp; It is an ISAPI module for IIS that mimics the rewriting abilities of the Apache webserver.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.queenzone.com/forums/1226666/upcoming-video-project-queens-live-bloopers-the-sequel.aspx"&gt;http://www.queenzone.com/forums/1226666/upcoming-video-project-queens-live-bloopers-the-sequel.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
RewriteRule ^forum[s]?/([0-9]+)/.+?.aspx /forums/forum_topic_view.aspx?Q=$1&amp;amp;%{QUERY_STRING}&amp;nbsp; [NC,L] &lt;br /&gt;</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6117</link>
      <pubDate>4/12/2010 12:14:00 PM</pubDate>
    </item>
    <item>
      <title>Server controls, embedded resources and VB.net</title>
      <description>I had a problem for quite some time when i was trying to include external resources within server controls.  &lt;br /&gt;
&lt;br /&gt;
When creating an asp.net server control, you may want to include some additional resources in your assembly, such as javascript or images.&lt;br /&gt;
&lt;br /&gt;
Typically, you plaec these in the "Resources" directory.  However, when referencing this directory in VB.net you exclude the path "Resources" when you refrence the resource.  This is different to C# whereby you include the "Resources" in the path.  &lt;br /&gt;
&lt;br /&gt;
Including "Resouces" in the path in a VB.net server control results in "file not found" error....&lt;br /&gt;
&lt;br /&gt;
For example, i have got an external javascript within my .dll that i want to reference.  I register it as:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;Assembly: System.Web.UI.WebResource("RO.UI.ui.stars.js", "text/javascript")&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;   &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt; &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
The javascript file is called "ui.stars.js".   My application .dll is called "RO.UI".  The javascript file is held within the "Resources" directory - but that path name is not included when i reference the script.&lt;br /&gt;
&lt;br /&gt;
To me, it seems like an error, with the implementation of VB.net.  i am not sure if they have fixed this for Visual Studio 2010.&lt;br /&gt;
&lt;br /&gt;
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6116</link>
      <pubDate>4/10/2010 12:08:00 PM</pubDate>
    </item>
    <item>
      <title>Date with select drop down</title>
      <description>If you need to choose dates that are quite a long way off, the typical "calendar" control isn't very practical as you would need to scroll through many, many years.  You could provide a "free form" input, but you want to guarantee a valid date input.&lt;br /&gt;
&lt;br /&gt;
A solution is a date input with a drop down control.  To get the inputed date, simply access the "value" attribute of the control.
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6115</link>
      <pubDate>4/9/2010 1:38:00 PM</pubDate>
    </item>
    <item>
      <title>Link with filesize and icon</title>
      <description>&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;&lt;br /&gt;
            &lt;br /&gt;
             &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;RO:Link &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;ID&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"Link1"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;runat&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"server"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;DownloadMessage&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"Listen"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;br /&gt;
            &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;QueryValue&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;'19'&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;filename&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;'hello.zip'&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;  &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;filesize&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;'100098'&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;&lt;br /&gt;
             &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;UrlAuthorized&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"/general/download-file.ashx?q={0}&amp;amp;type=1"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;RO:Link&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
This control simply creates a link to a file along with a filesize message and an icon.  &lt;br /&gt;
&lt;br /&gt;
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6114</link>
      <pubDate>4/9/2010 1:30:00 PM</pubDate>
    </item>
    <item>
      <title>Searchable Select Element Asp.Net Control</title>
      <description>The standard select list takes each keystroke as the "letter" or "number" to search for.&lt;br /&gt;
  This isn't particularly nice when you have a long list of items in a select or drop down list.&lt;br /&gt;
&lt;br /&gt;
In the case of a list of countries, searching for "Australia", the "a" i type shows the countries beginning with "a", when i type the "u", i am presented with the countries starting with "u".&lt;br /&gt;
&lt;br /&gt;
This server control extends the standard htmlselect control and adds JQuery search functions to the text list.  So that with each keystroke, the list of items is refined.  If i search for "Australia", when i type "a", and then "u", i am presented with countries starting with "au" - Australia and Austria.&lt;br /&gt;
&lt;br /&gt;
The control works the same as a standard select.  You can add it to your page with:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;ro:selectElement &lt;/span&gt;&lt;span style="color: red;"&gt;ID&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: blue;"&gt;"COUNTRY_ID"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: blue;"&gt;"server"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;&amp;gt;  &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;ro:selectElement&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt; &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
You need to ensure the JQuery library is already included on the page.  The control doesn't add this for you - only the additional code required for the dropdown search function.
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6113</link>
      <pubDate>1/26/2010 4:28:00 PM</pubDate>
    </item>
    <item>
      <title>Contact form Asp.Net Control</title>
      <description>The contact form controls creates a "standard contact form" that is found on pretty much every single website.  The idea is to encapsulate this standard element in a single server control - in a similar way to the login control does for login / membership functions.&lt;br /&gt;
&lt;br /&gt;
The form element labels and styles can be modified.  You can also choose to include a subject field or not.  Collecting the values of the form is then pretty easy.&lt;br /&gt;
&lt;br /&gt;
The code for instantiating the contact form control is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;RO:ContactForm &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;ID&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"mystuff"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;ShowSubject&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"true"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;runat&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"server"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;RO:ContactForm&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt; &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get the values of the form, you need to create an event handler for the "&lt;span style="font-size: 13px;"&gt;submitContactForm" event.&lt;br /&gt;
&lt;br /&gt;
For example:
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;  Sub sendEmail() Handles mystuff.submitContactForm  &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;        Response.Write(mystuff.nameField)  &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt;        Response.Write(mystuff.emailField)  &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;        Response.Write(mystuff.commentField)  &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt;    End Sub &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
You can change the "labels" for the various form fields using properties such as "EmailLabelText".&lt;br /&gt;
&lt;/span&gt;
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6112</link>
      <pubDate>1/22/2010 2:34:00 PM</pubDate>
    </item>
    <item>
      <title>Autocomplete Asp.Net Control</title>
      <description> The asp.net control queries a webservice for information based upon the entry into a textbox.&lt;br /&gt;
&lt;br /&gt;
The code for setting up the autocomplete control is simple.  An example looks like:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;RO:AutoComplete &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;ID&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"myAuto"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;runat&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"server"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;span style="color: #ff0000;"&gt;WebserviceUrl&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;"/ajax/lyric.ashx"&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;RO:AutoComplete&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
There are some additional options, such as number of characters to require before requesting information from the webservice.  The webservice needs to return an entry per line.&lt;br /&gt;
&lt;br /&gt;
I will update the example to accept JSON respsonses at a later date.
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6111</link>
      <pubDate>1/22/2010 2:20:00 PM</pubDate>
    </item>
    <item>
      <title>Not showing a datagrid when there are 0 records</title>
      <description>&lt;p&gt;When populating a datagrid you will often use a datareader as it is the fastest way to pull data out of a database. &lt;br /&gt;
&lt;br /&gt;
In the case where there aren’t any records, though, this may leave you with an “empty table”, where the columns are showing, even though there is no data. The datareader doesn’t provide a record count of the returned records – so you aren’t able to “show / hide” the table based on the number of returned records. &lt;br /&gt;
&lt;br /&gt;
There is a simple way of avoiding this, by counting the items in the datagrid after it has bound. &lt;br /&gt;
&lt;br /&gt;
The code below shows this: &lt;br /&gt;
&lt;/p&gt;
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;myDataGrid.databind()   &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt; &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;If &lt;span style="color: red;"&gt;myDataGrid.Items.Count&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; = &lt;/span&gt;&lt;span style="color: blue;"&gt;0&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; Then   &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt;&lt;span style="color: red;"&gt;myDataGrid.visible&lt;/span&gt;&lt;span style="font-size: 11px;"&gt; = &lt;/span&gt;&lt;span style="color: blue;"&gt;false&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;   &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;else   &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color: #f7f7f7;"&gt;‘ show a “no records message”   &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;End if  &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p &gt;&lt;br /&gt;
&lt;br /&gt;
This allows you to use the efficient datareader, and provide a clean user-interface. &lt;/p&gt;
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6110</link>
      <pubDate>1/6/2010 3:25:00 PM</pubDate>
    </item>
    <item>
      <title>Including JavaScript and Images in an asp.net server control with VB.Net</title>
      <description>&lt;p&gt;There is a differnce between VB.NET and C# when including external resources in a server control. &lt;br /&gt;
&lt;br /&gt;
This is of particular notice to those using VB.Net. &lt;br /&gt;
&lt;br /&gt;
When including JavaScript or images within your custom server control, you will no doubt add a “Resources” folder to your project. However, when including a reference path to the items in the resource folder, you do not include a reference to the “Resources” folder – when using VB.Net. &lt;br /&gt;
&lt;br /&gt;
For example, in my UI library project, under the namespace “RO.UI”. I may have a JavaScript file “ro.js”. &lt;br /&gt;
&lt;br /&gt;
When referencing this file in the “AssemblyInfo.vb” I would write: &lt;br /&gt;
&lt;/p&gt;
&lt;div style="border: #7f9db9 1px solid; line-height: 100% !important; background-color: white; font-family: courier new; font-size: 11px; overflow: auto;"&gt;
&lt;table style="border-bottom: #eee 0px solid; border-right-width: 0px; background-color: #fff; margin: 2px 0px; width: 99%; border-collapse: collapse; border-top-width: 0px; border-left-width: 0px;" cellspacing="0" cellpadding="0"&gt;
    &lt;colgroup&gt;&lt;col style="border-bottom: #f7f7f7 1px solid; padding-left: 10px; font-family: courier new; white-space: nowrap; font-size: 11px;" /&gt;&lt;/colgroup&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size: 11px;"&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;Assembly: System.Web.UI.WebResource("RO.UI.ro.js", "text/javascript")&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 11px;"&gt;  &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p &gt;&lt;br /&gt;
Notice, I do not include a reference to the “Resources” directory. This is different from when writing C# - where the reference to the “Resources” path is required. &lt;/p&gt;
</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6109</link>
      <pubDate>1/6/2010 3:23:00 PM</pubDate>
    </item>
    <item>
      <title>Test blog entry</title>
      <description>test blog entry 1</description>
      <link>http://www.thinkingwebsites.com/blog_view.aspx?q=6108</link>
      <pubDate>11/28/2009 10:29:00 PM</pubDate>
    </item>
  </channel>
</rss>
