<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>ProgramGood.Net - SiteFinity</title>
    <link>http://www.programgood.net/</link>
    <description>The journey to becoming a great programmer</description>
    <language>en-us</language>
    <copyright>Dave Mateer</copyright>
    <lastBuildDate>Wed, 11 Aug 2010 02:10:41 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.2.8279.16125</generator>
    <managingEditor>davemateer@gmail.com</managingEditor>
    <webMaster>davemateer@gmail.com</webMaster>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=8d3586d1-988c-42fb-bfb0-1ce105f0af32</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,8d3586d1-988c-42fb-bfb0-1ce105f0af32.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,8d3586d1-988c-42fb-bfb0-1ce105f0af32.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=8d3586d1-988c-42fb-bfb0-1ce105f0af32</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://blog.hmobius.com/post/2010/02/17/ASPNET-40-Part-4-Config-Transformation-Files.aspx">http://blog.hmobius.com/post/2010/02/17/ASPNET-40-Part-4-Config-Transformation-Files.aspx</a>
        </p>
        <p>
A very good blog on transforms
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/Web.debug.config_C63C/image_2.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/Web.debug.config_C63C/image_thumb.png" width="190" height="163" />
          </a>
        </p>
        <p>
Am transforming Connection strings now and Smtp
</p>
        <div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">&lt;connectionStrings&gt;<br />
&lt;add name=<span style="color: #006080">"Sitefinity"</span> connectionString=<span style="color: #006080">"Data
Source=mssql1.blah.nz;Initial Catalog=secret;Persist Security Info=True;User ID=user;Password=password!"</span><br />
providerName=<span style="color: #006080">"System.Data.SqlClient"</span><br />
xdt:Transform=<span style="color: #006080">"SetAttributes"</span> xdt:Locator=<span style="color: #006080">"Match(name)"</span> /&gt;<br />
&lt;/connectionStrings&gt;</pre>
          <br />
        </div>
        <p>
smtp:
</p>
        <div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">&lt;system.net&gt;<br />
&lt;mailSettings&gt;<br />
&lt;smtp from=<span style="color: #006080">"dave@blah.co.nz"</span>&gt;<br />
&lt;network port=<span style="color: #006080">"25"</span> host=<span style="color: #006080">"mail.blah.co.nz"</span> userName=<span style="color: #006080">"user@blah.co.nz"</span> password=<span style="color: #006080">"secret"</span> xdt:Transform=<span style="color: #006080">"SetAttributes"</span> xdt:Locator=<span style="color: #006080">"Match(port)"</span> /&gt;<br />
&lt;/smtp&gt;<br />
&lt;/mailSettings&gt;<br />
&lt;/system.net&gt;</pre>
          <br />
        </div>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=8d3586d1-988c-42fb-bfb0-1ce105f0af32" />
      </body>
      <title>Web.debug.config</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,8d3586d1-988c-42fb-bfb0-1ce105f0af32.aspx</guid>
      <link>http://www.programgood.net/2010/08/11/Webdebugconfig.aspx</link>
      <pubDate>Wed, 11 Aug 2010 02:10:41 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://blog.hmobius.com/post/2010/02/17/ASPNET-40-Part-4-Config-Transformation-Files.aspx"&gt;http://blog.hmobius.com/post/2010/02/17/ASPNET-40-Part-4-Config-Transformation-Files.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
A very good blog on transforms
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/Web.debug.config_C63C/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/Web.debug.config_C63C/image_thumb.png" width="190" height="163" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Am transforming Connection strings now and Smtp
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;
&amp;lt;add name=&lt;span style="color: #006080"&gt;&amp;quot;Sitefinity&amp;quot;&lt;/span&gt; connectionString=&lt;span style="color: #006080"&gt;&amp;quot;Data
Source=mssql1.blah.nz;Initial Catalog=secret;Persist Security Info=True;User ID=user;Password=password!&amp;quot;&lt;/span&gt;
&lt;br /&gt;
providerName=&lt;span style="color: #006080"&gt;&amp;quot;System.Data.SqlClient&amp;quot;&lt;/span&gt;
&lt;br /&gt;
xdt:Transform=&lt;span style="color: #006080"&gt;&amp;quot;SetAttributes&amp;quot;&lt;/span&gt; xdt:Locator=&lt;span style="color: #006080"&gt;&amp;quot;Match(name)&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;
&amp;lt;/connectionStrings&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
smtp:
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;system.net&amp;gt;&lt;br /&gt;
&amp;lt;mailSettings&amp;gt;&lt;br /&gt;
&amp;lt;smtp from=&lt;span style="color: #006080"&gt;&amp;quot;dave@blah.co.nz&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;
&amp;lt;network port=&lt;span style="color: #006080"&gt;&amp;quot;25&amp;quot;&lt;/span&gt; host=&lt;span style="color: #006080"&gt;&amp;quot;mail.blah.co.nz&amp;quot;&lt;/span&gt; userName=&lt;span style="color: #006080"&gt;&amp;quot;user@blah.co.nz&amp;quot;&lt;/span&gt; password=&lt;span style="color: #006080"&gt;&amp;quot;secret&amp;quot;&lt;/span&gt; xdt:Transform=&lt;span style="color: #006080"&gt;&amp;quot;SetAttributes&amp;quot;&lt;/span&gt; xdt:Locator=&lt;span style="color: #006080"&gt;&amp;quot;Match(port)&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;
&amp;lt;/smtp&amp;gt;&lt;br /&gt;
&amp;lt;/mailSettings&amp;gt;&lt;br /&gt;
&amp;lt;/system.net&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=8d3586d1-988c-42fb-bfb0-1ce105f0af32" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,8d3586d1-988c-42fb-bfb0-1ce105f0af32.aspx</comments>
      <category>ASP.NET Best Practise</category>
      <category>SiteFinity</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/javascript-files.aspx">http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/javascript-files.aspx</a>
        </p>
        <div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">&lt;script src=<span style="color: #006080">"&lt;%=HttpContext.Current.Request.ApplicationPath.EndsWith("</span>/<span style="color: #006080">")
? HttpContext.Current.Request.ApplicationPath : HttpContext.Current.Request.ApplicationPath
+ "</span>/<span style="color: #006080">" %&gt;Res/Scripts/jquery-1.3.2.min.download.js"</span> type=<span style="color: #006080">"text/javascript"</span>&gt;
&lt;/script&gt; </pre>
          <br />
        </div>
        <p>
I had a strange bug in Chrome where the css didn’t load properly using this in the
masterpage.
</p>
        <p>
&lt;Scripts&gt; 
<br />
           &lt;asp:ScriptReference
Path="<a href="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;">http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"</a> /&gt; 
<br />
           &lt;asp:ScriptReference
Path="~/javascript/jquery.colorbox.js" /&gt; 
<br />
&lt;/Scripts&gt;
</p>
        <p>
This may have been a timing issue as I am now getting jquery from my website and not
google.
</p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6" />
      </body>
      <title>Javascript in SiteFinity</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6.aspx</guid>
      <link>http://www.programgood.net/2010/08/09/JavascriptInSiteFinity.aspx</link>
      <pubDate>Mon, 09 Aug 2010 02:19:46 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/javascript-files.aspx"&gt;http://www.sitefinity.com/devnet/forums/sitefinity-3-x/developing-with-sitefinity/javascript-files.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;script src=&lt;span style="color: #006080"&gt;&amp;quot;&amp;lt;%=HttpContext.Current.Request.ApplicationPath.EndsWith(&amp;quot;&lt;/span&gt;/&lt;span style="color: #006080"&gt;&amp;quot;)
? HttpContext.Current.Request.ApplicationPath : HttpContext.Current.Request.ApplicationPath
+ &amp;quot;&lt;/span&gt;/&lt;span style="color: #006080"&gt;&amp;quot; %&amp;gt;Res/Scripts/jquery-1.3.2.min.download.js&amp;quot;&lt;/span&gt; type=&lt;span style="color: #006080"&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;
&amp;lt;/script&amp;gt; &lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
I had a strange bug in Chrome where the css didn’t load properly using this in the
masterpage.
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Scripts&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;asp:ScriptReference
Path=&amp;quot;&lt;a href="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&amp;quot;"&gt;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&amp;quot;&lt;/a&gt; /&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;asp:ScriptReference
Path=&amp;quot;~/javascript/jquery.colorbox.js&amp;quot; /&amp;gt; 
&lt;br /&gt;
&amp;lt;/Scripts&amp;gt;
&lt;/p&gt;
&lt;p&gt;
This may have been a timing issue as I am now getting jquery from my website and not
google.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,c44a4439-e5c3-4cf1-a9b4-3366b4e6e5f6.aspx</comments>
      <category>SiteFinity</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Makes it easier to deploy in VS2010 (using web.debug.config and web.release.config)
</p>
        <p>
From the instructions here:
</p>
        <p>
          <a href="http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/installing-sitefinity-as-a-web-application-in-visual-studio.aspx">http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/installing-sitefinity-as-a-web-application-in-visual-studio.aspx</a>
        </p>
        <p>
The biggest part is that SiteFinity uses User Profiles which are not available at
design time in a web application (therefore it doesn’t compile).  To get around
this we use the Web Profile Builder, which is a wrapper class which acts as a workaround.
</p>
        <p>
This was the only code I had issue with:
</p>
        <div>
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
            <span style="color: #008000">//ProfileCommon
profile = (ProfileCommon)ProfileCommon.Create(CreateUserWizard1.UserName, true);</span>
            <br />
            <br />
WebProfile profile = <span style="color: #0000ff">new</span> WebProfile(WebProfile.Create(CreateUserWizard1.UserName, <span style="color: #0000ff">true</span>));</pre>
        </div>
        <div>
          <br />
          <a href="http://forums.asp.net/p/1042824/3451445.aspx">http://forums.asp.net/p/1042824/3451445.aspx</a>
        </div>
        <div> 
</div>
        <div>Then we convert to a Web Application.  The major difference is that in web
sites each page has its code-behind compiled into a seperate library, whereas in a
web application all code behind gets compiled into a single library.
</div>
        <p>
There is a secondary file too called yourpage.aspx.designer.cs which moves all of
the control declarations into it (a partial class).  This allows VS2k5, 2k8,
2010 to generate code without dumping into the main .cs class, and allows the class
access to the controls on the page.
</p>
        <p>
Used FileZilla and it all works.  Now, next post on VS2010 publishing / deploying!
</p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26" />
      </body>
      <title>SiteFinity as a Web Application Project</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26.aspx</guid>
      <link>http://www.programgood.net/2010/08/07/SiteFinityAsAWebApplicationProject.aspx</link>
      <pubDate>Sat, 07 Aug 2010 03:51:20 GMT</pubDate>
      <description>&lt;p&gt;
Makes it easier to deploy in VS2010 (using web.debug.config and web.release.config)
&lt;/p&gt;
&lt;p&gt;
From the instructions here:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/installing-sitefinity-as-a-web-application-in-visual-studio.aspx"&gt;http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/installing-sitefinity-as-a-web-application-in-visual-studio.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The biggest part is that SiteFinity uses User Profiles which are not available at
design time in a web application (therefore it doesn’t compile).&amp;#160; To get around
this we use the Web Profile Builder, which is a wrapper class which acts as a workaround.
&lt;/p&gt;
&lt;p&gt;
This was the only code I had issue with:
&lt;/p&gt;
&lt;div&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #008000"&gt;//ProfileCommon
profile = (ProfileCommon)ProfileCommon.Create(CreateUserWizard1.UserName, true);&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
WebProfile profile = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; WebProfile(WebProfile.Create(CreateUserWizard1.UserName, &lt;span style="color: #0000ff"&gt;true&lt;/span&gt;));&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a href="http://forums.asp.net/p/1042824/3451445.aspx"&gt;http://forums.asp.net/p/1042824/3451445.aspx&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;&amp;#160;
&lt;/div&gt;
&lt;div&gt;Then we convert to a Web Application.&amp;#160; The major difference is that in web
sites each page has its code-behind compiled into a seperate library, whereas in a
web application all code behind gets compiled into a single library.
&lt;/div&gt;
&lt;p&gt;
There is a secondary file too called yourpage.aspx.designer.cs which moves all of
the control declarations into it (a partial class).&amp;#160; This allows VS2k5, 2k8,
2010 to generate code without dumping into the main .cs class, and allows the class
access to the controls on the page.
&lt;/p&gt;
&lt;p&gt;
Used FileZilla and it all works.&amp;#160; Now, next post on VS2010 publishing / deploying!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,04b83650-f5a9-4e2c-8ca8-ed2ae4e2df26.aspx</comments>
      <category>SiteFinity</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=cf5cab24-c664-4dea-8f81-eae35517bcbb</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,cf5cab24-c664-4dea-8f81-eae35517bcbb.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,cf5cab24-c664-4dea-8f81-eae35517bcbb.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=cf5cab24-c664-4dea-8f81-eae35517bcbb</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
When displaying a repeater on an aspx page:
</p>
        <div id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">&lt;asp:Repeater ID=<span style="color: #006080">"Repeater1"</span> runat=<span style="color: #006080">"server"</span>&gt;<br />
&lt;ItemTemplate&gt;<br />
&lt;%#DataBinder.Eval(Container.DataItem, <span style="color: #006080">"FileName"</span>)%&gt;<br />
&lt;/ItemTemplate&gt;<br />
&lt;/asp:Repeater&gt;</pre>
          <br />
        </div>
        <p>
or shorter:
</p>
        <div id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">&lt;asp:Repeater ID=<span style="color: #006080">"Repeater1"</span> runat=<span style="color: #006080">"server"</span>&gt;<br />
&lt;ItemTemplate&gt;<br />
&lt;%#Eval(<span style="color: #006080">"FileName"</span>)%&gt;<br />
&lt;/ItemTemplate&gt;<br />
&lt;/asp:Repeater&gt;</pre>
          <br />
        </div>
        <p>
        </p>
        <p>
It is important to remember to make FileName a property and not just a public field
ie this works
</p>
        <div id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
            <span style="color: #0000ff">public</span>
            <span style="color: #0000ff">class</span> ImageThing<br />
{<br /><span style="color: #0000ff">public</span><span style="color: #0000ff">string</span> FileName
{get; set; }<br />
}<br /><br /><span style="color: #0000ff">private</span><span style="color: #0000ff">void</span> DisplayThumbnailImages()<br />
{<br />
ImageThing imageThing1 = <span style="color: #0000ff">new</span> ImageThing();<br />
ImageThing imageThing2 = <span style="color: #0000ff">new</span> ImageThing();<br />
imageThing1.FileName = <span style="color: #006080">"asdf.jpg"</span>;<br />
imageThing2.FileName = <span style="color: #006080">"aaa.jpg"</span>;<br /><br />
List&lt;ImageThing&gt; imagesToRender = <span style="color: #0000ff">new</span> List&lt;ImageThing&gt;();<br />
imagesToRender.Add(imageThing1);<br />
imagesToRender.Add(imageThing2);<br /><br />
Repeater1.DataSource = imagesToRender;<br />
Repeater1.DataBind();<br />
}</pre>
          <br />
        </div>
        <p>
this doesn’t
</p>
        <div id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
            <span style="color: #0000ff">public</span>
            <span style="color: #0000ff">class</span> ImageThing<br />
{<br /><span style="color: #0000ff">public</span><span style="color: #0000ff">string</span> FileName;<br />
}</pre>
          <br />
        </div>
        <p>
A property encapsulates a field.
</p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=cf5cab24-c664-4dea-8f81-eae35517bcbb" />
      </body>
      <title>Difference Between a Property and a Field using Repeaters</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,cf5cab24-c664-4dea-8f81-eae35517bcbb.aspx</guid>
      <link>http://www.programgood.net/2010/08/04/DifferenceBetweenAPropertyAndAFieldUsingRepeaters.aspx</link>
      <pubDate>Wed, 04 Aug 2010 23:04:00 GMT</pubDate>
      <description>&lt;p&gt;
When displaying a repeater on an aspx page:
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;asp:Repeater ID=&lt;span style="color: #006080"&gt;&amp;quot;Repeater1&amp;quot;&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;
&amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;
&amp;lt;%#DataBinder.Eval(Container.DataItem, &lt;span style="color: #006080"&gt;&amp;quot;FileName&amp;quot;&lt;/span&gt;)%&amp;gt;&lt;br /&gt;
&amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;
&amp;lt;/asp:Repeater&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
or shorter:
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&amp;lt;asp:Repeater ID=&lt;span style="color: #006080"&gt;&amp;quot;Repeater1&amp;quot;&lt;/span&gt; runat=&lt;span style="color: #006080"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;
&amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;
&amp;lt;%#Eval(&lt;span style="color: #006080"&gt;&amp;quot;FileName&amp;quot;&lt;/span&gt;)%&amp;gt;&lt;br /&gt;
&amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;
&amp;lt;/asp:Repeater&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
It is important to remember to make FileName a property and not just a public field
ie this works
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; ImageThing&lt;br /&gt;
{&lt;br /&gt;
&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; FileName
{get; set; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; DisplayThumbnailImages()&lt;br /&gt;
{&lt;br /&gt;
ImageThing imageThing1 = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ImageThing();&lt;br /&gt;
ImageThing imageThing2 = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ImageThing();&lt;br /&gt;
imageThing1.FileName = &lt;span style="color: #006080"&gt;&amp;quot;asdf.jpg&amp;quot;&lt;/span&gt;;&lt;br /&gt;
imageThing2.FileName = &lt;span style="color: #006080"&gt;&amp;quot;aaa.jpg&amp;quot;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
List&amp;lt;ImageThing&amp;gt; imagesToRender = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;ImageThing&amp;gt;();&lt;br /&gt;
imagesToRender.Add(imageThing1);&lt;br /&gt;
imagesToRender.Add(imageThing2);&lt;br /&gt;
&lt;br /&gt;
Repeater1.DataSource = imagesToRender;&lt;br /&gt;
Repeater1.DataBind();&lt;br /&gt;
}&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
this doesn’t
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; ImageThing&lt;br /&gt;
{&lt;br /&gt;
&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; FileName;&lt;br /&gt;
}&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
A property encapsulates a field.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=cf5cab24-c664-4dea-8f81-eae35517bcbb" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,cf5cab24-c664-4dea-8f81-eae35517bcbb.aspx</comments>
      <category>c# language</category>
      <category>SiteFinity</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=8abdaa09-d9d9-4232-8e72-da70effc9278</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,8abdaa09-d9d9-4232-8e72-da70effc9278.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,8abdaa09-d9d9-4232-8e72-da70effc9278.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=8abdaa09-d9d9-4232-8e72-da70effc9278</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
31mins.  He took a template from freecsstemplates.org and put it into SiteFintiy
</p>
        <p>
          <a href="http://www.sitefinity.com/devnet/webinars/designing-skinning-with-sitefinity.aspx">http://www.sitefinity.com/devnet/webinars/designing-skinning-with-sitefinity.aspx</a>
        </p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=8abdaa09-d9d9-4232-8e72-da70effc9278" />
      </body>
      <title>Sitefinity - Theming</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,8abdaa09-d9d9-4232-8e72-da70effc9278.aspx</guid>
      <link>http://www.programgood.net/2010/08/04/SitefinityTheming.aspx</link>
      <pubDate>Wed, 04 Aug 2010 02:30:48 GMT</pubDate>
      <description>&lt;p&gt;
31mins.&amp;#160; He took a template from freecsstemplates.org and put it into SiteFintiy
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.sitefinity.com/devnet/webinars/designing-skinning-with-sitefinity.aspx"&gt;http://www.sitefinity.com/devnet/webinars/designing-skinning-with-sitefinity.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=8abdaa09-d9d9-4232-8e72-da70effc9278" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,8abdaa09-d9d9-4232-8e72-da70effc9278.aspx</comments>
      <category>SiteFinity</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=00093f9a-70be-42c0-8f5a-5fd315e60f76</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,00093f9a-70be-42c0-8f5a-5fd315e60f76.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,00093f9a-70be-42c0-8f5a-5fd315e60f76.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=00093f9a-70be-42c0-8f5a-5fd315e60f76</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I’m spiking out a website that needs to have users logging into the front end so they
can see their own personal information.
</p>
        <p>
          <a title="http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/public-users-authentication.aspx" href="http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/public-users-authentication.aspx">http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/public-users-authentication.aspx</a>
        </p>
        <p>
They are using ASp.Net 2.0 Membership and Role Model.
</p>
        <p>
Here is an example of using the same membership provider:
</p>
        <p>
          <a title="http://www.sitefinity.com/support/forums/sitefinity-3-x/bugs-issues/creating-new-user-authentication-and-authorization.aspx" href="http://www.sitefinity.com/support/forums/sitefinity-3-x/bugs-issues/creating-new-user-authentication-and-authorization.aspx">http://www.sitefinity.com/support/forums/sitefinity-3-x/bugs-issues/creating-new-user-authentication-and-authorization.aspx</a>
        </p>
        <p>
 
</p>
        <p>
here:
</p>
        <p>
          <a title="http://www.sitefinity.com/blogs/ivan/posts/08-01-07/sitefinity_social_network_platform_part_1_rudimentary_specs_and_ideas.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/08-01-07/sitefinity_social_network_platform_part_1_rudimentary_specs_and_ideas.aspx">http://www.sitefinity.com/blogs/ivan/posts/08-01-07/sitefinity_social_network_platform_part_1_rudimentary_specs_and_ideas.aspx</a>
        </p>
        <p>
          <a title="http://www.sitefinity.com/blogs/ivan/post/08-01-17/sitefinity_social_network_platform_part_2_setting_up_public_side_membership.aspx" href="http://www.sitefinity.com/blogs/ivan/post/08-01-17/sitefinity_social_network_platform_part_2_setting_up_public_side_membership.aspx">http://www.sitefinity.com/blogs/ivan/post/08-01-17/sitefinity_social_network_platform_part_2_setting_up_public_side_membership.aspx</a>
        </p>
        <p>
 
</p>
        <p>
make a new project to play with
</p>
        <li>
          <strong>Home</strong> – visible in navigation 
</li>
        <li>
          <strong>Groups</strong> – visible in navigation 
</li>
        <li>
          <strong>Person</strong> – not visible in navigation, Page group 
</li>
        <li>
          <strong>Login</strong> – not visible in navigation 
</li>
        <li>
          <strong>Registration</strong> – not visible in navigation 
<p><a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb.png" width="644" height="289" /></a></p><p><a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_1.png" width="381" height="465" /></a></p><p>
So have got registration and login working on the front end.
</p><p>
 
</p><p>
how to display pages only to logged in users?
</p><p><a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_3.png" width="536" height="484" /></a></p><p><a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_2.png" width="545" height="370" /></a></p><p>
 
</p><h3>Manage password
</h3><p><a title="http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx" href="http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx">http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx</a></p><p><a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_4.png" width="373" height="456" /></a></p><p>
just created a user control withPasswordRecovery and ChangePassword from asp.net. 
Then uploaded as an ascx user control.
</p><p>
**how to get the specific user, so can query against them in the database in a custom
control (see contacts example).
</p><p>
 
</p><p></p><p></p><p></p></li>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=00093f9a-70be-42c0-8f5a-5fd315e60f76" />
      </body>
      <title>Sitefinity Front End Authentication</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,00093f9a-70be-42c0-8f5a-5fd315e60f76.aspx</guid>
      <link>http://www.programgood.net/2010/05/22/SitefinityFrontEndAuthentication.aspx</link>
      <pubDate>Sat, 22 May 2010 03:03:14 GMT</pubDate>
      <description>&lt;p&gt;
I’m spiking out a website that needs to have users logging into the front end so they
can see their own personal information.
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/public-users-authentication.aspx" href="http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/public-users-authentication.aspx"&gt;http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/public-users-authentication.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
They are using ASp.Net 2.0 Membership and Role Model.
&lt;/p&gt;
&lt;p&gt;
Here is an example of using the same membership provider:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/support/forums/sitefinity-3-x/bugs-issues/creating-new-user-authentication-and-authorization.aspx" href="http://www.sitefinity.com/support/forums/sitefinity-3-x/bugs-issues/creating-new-user-authentication-and-authorization.aspx"&gt;http://www.sitefinity.com/support/forums/sitefinity-3-x/bugs-issues/creating-new-user-authentication-and-authorization.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
here:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/ivan/posts/08-01-07/sitefinity_social_network_platform_part_1_rudimentary_specs_and_ideas.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/08-01-07/sitefinity_social_network_platform_part_1_rudimentary_specs_and_ideas.aspx"&gt;http://www.sitefinity.com/blogs/ivan/posts/08-01-07/sitefinity_social_network_platform_part_1_rudimentary_specs_and_ideas.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/ivan/post/08-01-17/sitefinity_social_network_platform_part_2_setting_up_public_side_membership.aspx" href="http://www.sitefinity.com/blogs/ivan/post/08-01-17/sitefinity_social_network_platform_part_2_setting_up_public_side_membership.aspx"&gt;http://www.sitefinity.com/blogs/ivan/post/08-01-17/sitefinity_social_network_platform_part_2_setting_up_public_side_membership.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
make a new project to play with
&lt;/p&gt;
&lt;li&gt;
&lt;strong&gt;Home&lt;/strong&gt; – visible in navigation 
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Groups&lt;/strong&gt; – visible in navigation 
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Person&lt;/strong&gt; – not visible in navigation, Page group 
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Login&lt;/strong&gt; – not visible in navigation 
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Registration&lt;/strong&gt; – not visible in navigation 
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb.png" width="644" height="289" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_1.png" width="381" height="465" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
So have got registration and login working on the front end.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
how to display pages only to logged in users?
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_3.png" width="536" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_2.png" width="545" height="370" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Manage password
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx" href="http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx"&gt;http://www.sitefinity.com/blogs/josephanderson/posts/08-12-12/change_password_and_password_recovery_controls_in_sitefinity.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SitefinityFrontEndLoggingIn_D60C/image_thumb_4.png" width="373" height="456" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
just created a user control withPasswordRecovery and ChangePassword from asp.net.&amp;#160;
Then uploaded as an ascx user control.
&lt;/p&gt;
&lt;p&gt;
**how to get the specific user, so can query against them in the database in a custom
control (see contacts example).
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=00093f9a-70be-42c0-8f5a-5fd315e60f76" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,00093f9a-70be-42c0-8f5a-5fd315e60f76.aspx</comments>
      <category>SiteFinity</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=da592de4-d3e9-44b5-828d-f7ef640a1220</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,da592de4-d3e9-44b5-828d-f7ef640a1220.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,da592de4-d3e9-44b5-828d-f7ef640a1220.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=da592de4-d3e9-44b5-828d-f7ef640a1220</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
As the login in based on the .NET2 Membership Provider:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_2.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb.png" width="508" height="256" />
          </a>
        </p>
        <p>
Next step is to display the ‘races’ that the logged in user has competed in.
</p>
        <p>
Use a RADGrid approach and LinqToSQL
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_4.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_1.png" width="644" height="181" />
          </a>
        </p>
        <p>
**next is to do the linq query.
</p>
        <p>
          <a title="http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx" href="http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx">http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx</a>
        </p>
        <p>
    need to do a where personID == 
</p>
        <p>
just using the asp.net grid or even a repeater.. kiss.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_6.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_2.png" width="644" height="378" />
          </a>
        </p>
        <p>
Got it working, however am using
</p>
        <p>
&lt;asp:LinqDataSource ID="LinqDataSource1" runat="server" 
<br />
    ContextTypeName="Races.RacesDataClassesDataContext" TableName="races" 
<br />
    Where="personID == @personID"&gt; 
<br />
    &lt;WhereParameters&gt; 
<br />
        &lt;asp:ControlParameter ControlID="TextBox1"
DbType="Guid" 
<br />
            DefaultValue="63da93cb-1e76-4093-b74c-44503122d195"
Name="personID" 
<br />
            PropertyName="Text"
/&gt; 
<br />
    &lt;/WhereParameters&gt; 
<br />
&lt;/asp:LinqDataSource&gt;
</p>
        <p>
don’t need default value.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_8.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_3.png" width="644" height="358" />
          </a>
        </p>
        <p>
ideally want to set this directly to the 
</p>
        <p>
MembershipUser mUser = Membership.GetUser(); 
<br />
        string UserID = mUser.ProviderUserKey.ToString();
</p>
        <p>
Got this working:
</p>
        <p>
protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs
e)  
<br />
     {  
<br />
         MembershipUser currentUser = Membership.GetUser();  
<br />
         Guid currentUserId = (Guid)currentUser.ProviderUserKey;  
<br />
         e.WhereParameters["personID"]
= currentUserId;  
<br />
     } 
</p>
        <p>
&lt;asp:LinqDataSource ID="LinqDataSource1" runat="server" 
<br />
    ContextTypeName="Races.RacesDataClassesDataContext" TableName="races" 
<br />
    Where="personID == @personID"&gt; 
<br />
    &lt;WhereParameters&gt; 
<br />
        &lt;asp:ControlParameter ControlID="TextBox1"
DbType="Guid" 
<br />
            Name="personID" 
/&gt; 
<br />
    &lt;/WhereParameters&gt; 
<br />
&lt;/asp:LinqDataSource&gt;
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_10.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_4.png" width="625" height="179" />
          </a>
        </p>
        <p>
here is a trick for an error.. couldnt’ replicate.. discussed here: <a title="http://weblogs.asp.net/rajbk/archive/2008/01/31/linqdatasource-exceptions.aspx" href="http://weblogs.asp.net/rajbk/archive/2008/01/31/linqdatasource-exceptions.aspx">http://weblogs.asp.net/rajbk/archive/2008/01/31/linqdatasource-exceptions.aspx</a></p>
        <h3>add/edit/del
</h3>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_14.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_6.png" width="644" height="176" />
          </a>
        </p>
        <p>
adding is a bit trickier:
</p>
        <p>
          <a title="http://www.codeproject.com/KB/aspnet/LinqDataSource3.aspx" href="http://www.codeproject.com/KB/aspnet/LinqDataSource3.aspx">http://www.codeproject.com/KB/aspnet/LinqDataSource3.aspx</a>
        </p>
        <p>
          <a title="http://weblogs.asp.net/zeeshanhirani/archive/2008/05/04/using-linqdatasource-for-inserts-updates-and-deletes.aspx" href="http://weblogs.asp.net/zeeshanhirani/archive/2008/05/04/using-linqdatasource-for-inserts-updates-and-deletes.aspx">http://weblogs.asp.net/zeeshanhirani/archive/2008/05/04/using-linqdatasource-for-inserts-updates-and-deletes.aspx</a>
        </p>
        <p>
could just trying using the telerik Grid:
</p>
        <p>
hmm – getting string errors except when I wire up the where clause to a textbox which
is not good!
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_16.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_7.png" width="644" height="176" />
          </a>
        </p>
        <p>
All good.. now trying to wire up the delete and edit which don’t seem to work with
my select filter on LinqDataSouce.
</p>
        <p>
Looked at older code for custom edit screens based on backend of SF.  
</p>
        <p>
Try delete and edit with no filter where clause.
</p>
        <p>
All working once I sent the properties of the radGrid to do insert/update and delete.
</p>
        <p>
 <a title="http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/linqdatasource/defaultcs.aspx" href="http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/linqdatasource/defaultcs.aspx">http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/linqdatasource/defaultcs.aspx</a></p>
        <h3>Adding
</h3>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_12.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_5.png" width="332" height="591" />
          </a>
        </p>
        <p>
This took ages to find!
</p>
        <p>
Not working properly.
</p>
        <p>
 <a title="http://dotnetnotes.i-do-it.com/CategoryView,category,ContentManagementSiteFinityControls.aspx" href="http://dotnetnotes.i-do-it.com/CategoryView,category,ContentManagementSiteFinityControls.aspx">http://dotnetnotes.i-do-it.com/CategoryView,category,ContentManagementSiteFinityControls.aspx</a> –
interesting notes on delete.
</p>
        <p>
this would be nice:
</p>
        <div id="codeSnippetWrapper">
          <pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
            <span style="color: #008000">//
never seems to hit this.</span>
            <br />
            <span style="color: #0000ff">public</span>
            <span style="color: #0000ff">void</span> RadGrid1_ItemDataBound(<span style="color: #0000ff">object</span> sender,
Telerik.Web.UI.GridItemEventArgs e)<br />
{<br /><span style="color: #0000ff">if</span> (e.Item <span style="color: #0000ff">is</span> GridDataItem)<br />
{<br />
GridDataItem dataItem = e.Item <span style="color: #0000ff">as</span> GridDataItem;<br /><span style="color: #0000ff">string</span> DataItem = dataItem[<span style="color: #006080">"nameOfRace"</span>].Text;<br /><br /><span style="color: #008000">//Add the message to the Button</span><br />
LinkButton button = e.Item.FindControl(<span style="color: #006080">"AutoGeneratedDeleteButton"</span>) <span style="color: #0000ff">as</span> LinkButton;<br />
button.Attributes[<span style="color: #006080">"onclick"</span>] = <span style="color: #006080">"return
confirm('Are you sure you want to delete "</span> +<br />
DataItem + <span style="color: #006080">"?')"</span>;<br />
}<br />
}</pre>
          <br />
        </div>
        <p>
look at telerik RAD Grid add – we want to extend this method to put in the currently
logged in users guid too.
</p>
        <p>
Testing RadGrid in a normal WebApp.  Trick is to copy in the design dll into
the bin folder of the project otherwise VS will complain
</p>
        <p>
          <a title="http://blogs.telerik.com/atanaskorchev/posts/09-03-06/meet_telerik_web_design_dll.aspx" href="http://blogs.telerik.com/atanaskorchev/posts/09-03-06/meet_telerik_web_design_dll.aspx">http://blogs.telerik.com/atanaskorchev/posts/09-03-06/meet_telerik_web_design_dll.aspx</a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_18.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_8.png" width="555" height="214" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_20.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_9.png" width="644" height="289" />
          </a>
        </p>
        <p>
Good demos and code for LinqToSQL crud.. aiming to get the Add new record working
and passing through the categoryID.
</p>
        <p>
          <a title="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx" href="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx">http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx</a> –
Scott Gu guide for LinqToSQL
</p>
        <p>
Now getting this when putting together a test web app using the telerik control, and
linq to sql.  Strange!
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_22.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_10.png" width="644" height="289" />
          </a>
        </p>
        <p>
some stuff in here for probable fixes, however doesn’t feel right: <a title="http://forums.asp.net/t/1264863.aspx" href="http://forums.asp.net/t/1264863.aspx">http://forums.asp.net/t/1264863.aspx</a></p>
        <p>
 <a title="http://www.telerik.com/help/aspnet-ajax/grdlinqtosqlbindingcrudoperations.html" href="http://www.telerik.com/help/aspnet-ajax/grdlinqtosqlbindingcrudoperations.html">http://www.telerik.com/help/aspnet-ajax/grdlinqtosqlbindingcrudoperations.html</a> –
good manual for radgrid.
</p>
        <p>
Going through a video:<a title="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid" href="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid">http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid</a></p>
        <p>
Had to register my RadScriptManager to get things working.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_24.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_11.png" width="644" height="82" />
          </a>
        </p>
        <p>
inline editing is good.
</p>
        <p>
 
</p>
        <p>
try and put the sample from the video live – what are the licensing restrictions on
the radcontrols I’m running?
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_26.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_12.png" width="244" height="180" />
          </a>
        </p>
        <p>
The Data context generated by the designer will live in the .Data namespace
</p>
        <p>
The Tables generated will live in the .Entities namespace.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_28.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_13.png" width="654" height="471" />
          </a>
        </p>
        <p>
Adding a drop down for category in the grid… linked to another linqDataSouce not yet
created
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_30.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_14.png" width="644" height="466" />
          </a>
        </p>
        <p>
now adding a RadComboBox.  AutoPostBack is true and Name is Name and ID is ProductCategoryID
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_32.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_15.png" width="578" height="415" />
          </a>
        </p>
        <p>
configuring the products data source to be conditional of the drop down combo box.
</p>
        <p>
 <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_34.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_16.png" width="644" height="139" /></a></p>
        <p>
The crowd goes wild :-)
</p>
        <p>
tidy up files  and remember what I am aiming to do.
</p>
        <p>
make live
</p>
        <p>
  put database up there.. or 2 tables anyway.
</p>
        <p>
 
</p>
        <h3>Why Use RADGrid?
</h3>
        <p>
          <a title="http://dotnetslackers.com/SQL/re-135853_HowTo_Telerik_RadGrid_Master_Detail_client_side_data_binding_using_LINQ_to_SQL_and_WebService.aspx" href="http://dotnetslackers.com/SQL/re-135853_HowTo_Telerik_RadGrid_Master_Detail_client_side_data_binding_using_LINQ_to_SQL_and_WebService.aspx">http://dotnetslackers.com/SQL/re-135853_HowTo_Telerik_RadGrid_Master_Detail_client_side_data_binding_using_LINQ_to_SQL_and_WebService.aspx</a>
        </p>
        <h3>Go Live With RadGrid2
</h3>
        <p>
As things never go to plan when going live…
</p>
        <p>
          <a title="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid" href="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid">http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid</a>
        </p>
        <p>
Remember to put in the Web.Design.dll into the bin directory (as we haven’t installed
the tools into the GAC)
</p>
        <p>
Register the scriptmanager with web.config.
</p>
        <p>
 
</p>
        <p>
Making the testgrid1 application live, and finding lots of issues with the too complex
adventureworks2008 database
</p>
        <p>
**todo – make a simple version of this database with the existing products.
</p>
        <p>
Project is called TestRadGridTelerik2 – see work items for where I’m up to.
</p>
        <p>
radgrid2.mateerit.co.nz
</p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=da592de4-d3e9-44b5-828d-f7ef640a1220" />
      </body>
      <title>SiteFinity – Displaying Content Based on Logged in User</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,da592de4-d3e9-44b5-828d-f7ef640a1220.aspx</guid>
      <link>http://www.programgood.net/2010/05/22/SiteFinityDisplayingContentBasedOnLoggedInUser.aspx</link>
      <pubDate>Sat, 22 May 2010 02:16:03 GMT</pubDate>
      <description>&lt;p&gt;
As the login in based on the .NET2 Membership Provider:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb.png" width="508" height="256" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Next step is to display the ‘races’ that the logged in user has competed in.
&lt;/p&gt;
&lt;p&gt;
Use a RADGrid approach and LinqToSQL
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_1.png" width="644" height="181" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
**next is to do the linq query.
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx" href="http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/07/16/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&amp;#160;&amp;#160; need to do a where personID == 
&lt;/p&gt;
&lt;p&gt;
just using the asp.net grid or even a repeater.. kiss.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_2.png" width="644" height="378" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Got it working, however am using
&lt;/p&gt;
&lt;p&gt;
&amp;lt;asp:LinqDataSource ID=&amp;quot;LinqDataSource1&amp;quot; runat=&amp;quot;server&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; ContextTypeName=&amp;quot;Races.RacesDataClassesDataContext&amp;quot; TableName=&amp;quot;races&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Where=&amp;quot;personID == @personID&amp;quot;&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &amp;lt;WhereParameters&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;asp:ControlParameter ControlID=&amp;quot;TextBox1&amp;quot;
DbType=&amp;quot;Guid&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; DefaultValue=&amp;quot;63da93cb-1e76-4093-b74c-44503122d195&amp;quot;
Name=&amp;quot;personID&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; PropertyName=&amp;quot;Text&amp;quot;
/&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &amp;lt;/WhereParameters&amp;gt; 
&lt;br /&gt;
&amp;lt;/asp:LinqDataSource&amp;gt;
&lt;/p&gt;
&lt;p&gt;
don’t need default value.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_3.png" width="644" height="358" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
ideally want to set this directly to the 
&lt;/p&gt;
&lt;p&gt;
MembershipUser mUser = Membership.GetUser(); 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; string UserID = mUser.ProviderUserKey.ToString();
&lt;/p&gt;
&lt;p&gt;
Got this working:
&lt;/p&gt;
&lt;p&gt;
protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs
e)&amp;#160; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160; {&amp;#160; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; MembershipUser currentUser = Membership.GetUser();&amp;#160; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Guid currentUserId = (Guid)currentUser.ProviderUserKey;&amp;#160; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; e.WhereParameters[&amp;quot;personID&amp;quot;]
= currentUserId;&amp;#160; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160; } 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;asp:LinqDataSource ID=&amp;quot;LinqDataSource1&amp;quot; runat=&amp;quot;server&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; ContextTypeName=&amp;quot;Races.RacesDataClassesDataContext&amp;quot; TableName=&amp;quot;races&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Where=&amp;quot;personID == @personID&amp;quot;&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &amp;lt;WhereParameters&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;asp:ControlParameter ControlID=&amp;quot;TextBox1&amp;quot;
DbType=&amp;quot;Guid&amp;quot; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Name=&amp;quot;personID&amp;quot;&amp;#160;
/&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &amp;lt;/WhereParameters&amp;gt; 
&lt;br /&gt;
&amp;lt;/asp:LinqDataSource&amp;gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_4.png" width="625" height="179" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
here is a trick for an error.. couldnt’ replicate.. discussed here: &lt;a title="http://weblogs.asp.net/rajbk/archive/2008/01/31/linqdatasource-exceptions.aspx" href="http://weblogs.asp.net/rajbk/archive/2008/01/31/linqdatasource-exceptions.aspx"&gt;http://weblogs.asp.net/rajbk/archive/2008/01/31/linqdatasource-exceptions.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;h3&gt;add/edit/del
&lt;/h3&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_6.png" width="644" height="176" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
adding is a bit trickier:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.codeproject.com/KB/aspnet/LinqDataSource3.aspx" href="http://www.codeproject.com/KB/aspnet/LinqDataSource3.aspx"&gt;http://www.codeproject.com/KB/aspnet/LinqDataSource3.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://weblogs.asp.net/zeeshanhirani/archive/2008/05/04/using-linqdatasource-for-inserts-updates-and-deletes.aspx" href="http://weblogs.asp.net/zeeshanhirani/archive/2008/05/04/using-linqdatasource-for-inserts-updates-and-deletes.aspx"&gt;http://weblogs.asp.net/zeeshanhirani/archive/2008/05/04/using-linqdatasource-for-inserts-updates-and-deletes.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
could just trying using the telerik Grid:
&lt;/p&gt;
&lt;p&gt;
hmm – getting string errors except when I wire up the where clause to a textbox which
is not good!
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_7.png" width="644" height="176" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
All good.. now trying to wire up the delete and edit which don’t seem to work with
my select filter on LinqDataSouce.
&lt;/p&gt;
&lt;p&gt;
Looked at older code for custom edit screens based on backend of SF.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
Try delete and edit with no filter where clause.
&lt;/p&gt;
&lt;p&gt;
All working once I sent the properties of the radGrid to do insert/update and delete.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&lt;a title="http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/linqdatasource/defaultcs.aspx" href="http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/linqdatasource/defaultcs.aspx"&gt;http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/linqdatasource/defaultcs.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;h3&gt;Adding
&lt;/h3&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_5.png" width="332" height="591" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
This took ages to find!
&lt;/p&gt;
&lt;p&gt;
Not working properly.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&lt;a title="http://dotnetnotes.i-do-it.com/CategoryView,category,ContentManagementSiteFinityControls.aspx" href="http://dotnetnotes.i-do-it.com/CategoryView,category,ContentManagementSiteFinityControls.aspx"&gt;http://dotnetnotes.i-do-it.com/CategoryView,category,ContentManagementSiteFinityControls.aspx&lt;/a&gt; –
interesting notes on delete.
&lt;/p&gt;
&lt;p&gt;
this would be nice:
&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;&lt;span style="color: #008000"&gt;//
never seems to hit this.&lt;/span&gt;
&lt;br /&gt;
&lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; RadGrid1_ItemDataBound(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender,
Telerik.Web.UI.GridItemEventArgs e)&lt;br /&gt;
{&lt;br /&gt;
&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (e.Item &lt;span style="color: #0000ff"&gt;is&lt;/span&gt; GridDataItem)&lt;br /&gt;
{&lt;br /&gt;
GridDataItem dataItem = e.Item &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; GridDataItem;&lt;br /&gt;
&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; DataItem = dataItem[&lt;span style="color: #006080"&gt;&amp;quot;nameOfRace&amp;quot;&lt;/span&gt;].Text;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #008000"&gt;//Add the message to the Button&lt;/span&gt;
&lt;br /&gt;
LinkButton button = e.Item.FindControl(&lt;span style="color: #006080"&gt;&amp;quot;AutoGeneratedDeleteButton&amp;quot;&lt;/span&gt;) &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; LinkButton;&lt;br /&gt;
button.Attributes[&lt;span style="color: #006080"&gt;&amp;quot;onclick&amp;quot;&lt;/span&gt;] = &lt;span style="color: #006080"&gt;&amp;quot;return
confirm('Are you sure you want to delete &amp;quot;&lt;/span&gt; +&lt;br /&gt;
DataItem + &lt;span style="color: #006080"&gt;&amp;quot;?')&amp;quot;&lt;/span&gt;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;
look at telerik RAD Grid add – we want to extend this method to put in the currently
logged in users guid too.
&lt;/p&gt;
&lt;p&gt;
Testing RadGrid in a normal WebApp.&amp;#160; Trick is to copy in the design dll into
the bin folder of the project otherwise VS will complain
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://blogs.telerik.com/atanaskorchev/posts/09-03-06/meet_telerik_web_design_dll.aspx" href="http://blogs.telerik.com/atanaskorchev/posts/09-03-06/meet_telerik_web_design_dll.aspx"&gt;http://blogs.telerik.com/atanaskorchev/posts/09-03-06/meet_telerik_web_design_dll.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_8.png" width="555" height="214" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_9.png" width="644" height="289" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Good demos and code for LinqToSQL crud.. aiming to get the Add new record working
and passing through the categoryID.
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx" href="http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/05/19/using-linq-to-sql-part-1.aspx&lt;/a&gt; –
Scott Gu guide for LinqToSQL
&lt;/p&gt;
&lt;p&gt;
Now getting this when putting together a test web app using the telerik control, and
linq to sql.&amp;#160; Strange!
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_10.png" width="644" height="289" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
some stuff in here for probable fixes, however doesn’t feel right: &lt;a title="http://forums.asp.net/t/1264863.aspx" href="http://forums.asp.net/t/1264863.aspx"&gt;http://forums.asp.net/t/1264863.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&lt;a title="http://www.telerik.com/help/aspnet-ajax/grdlinqtosqlbindingcrudoperations.html" href="http://www.telerik.com/help/aspnet-ajax/grdlinqtosqlbindingcrudoperations.html"&gt;http://www.telerik.com/help/aspnet-ajax/grdlinqtosqlbindingcrudoperations.html&lt;/a&gt; –
good manual for radgrid.
&lt;/p&gt;
&lt;p&gt;
Going through a video:&lt;a title="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid" href="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid"&gt;http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Had to register my RadScriptManager to get things working.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_11.png" width="644" height="82" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
inline editing is good.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
try and put the sample from the video live – what are the licensing restrictions on
the radcontrols I’m running?
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_12.png" width="244" height="180" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The Data context generated by the designer will live in the .Data namespace
&lt;/p&gt;
&lt;p&gt;
The Tables generated will live in the .Entities namespace.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_13.png" width="654" height="471" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Adding a drop down for category in the grid… linked to another linqDataSouce not yet
created
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_14.png" width="644" height="466" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
now adding a RadComboBox.&amp;#160; AutoPostBack is true and Name is Name and ID is ProductCategoryID
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_15.png" width="578" height="415" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
configuring the products data source to be conditional of the drop down combo box.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinityDisplayingContentBasedonLogged_11388/image_thumb_16.png" width="644" height="139" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The crowd goes wild :-)
&lt;/p&gt;
&lt;p&gt;
tidy up files&amp;#160; and remember what I am aiming to do.
&lt;/p&gt;
&lt;p&gt;
make live
&lt;/p&gt;
&lt;p&gt;
&amp;#160; put database up there.. or 2 tables anyway.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Why Use RADGrid?
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://dotnetslackers.com/SQL/re-135853_HowTo_Telerik_RadGrid_Master_Detail_client_side_data_binding_using_LINQ_to_SQL_and_WebService.aspx" href="http://dotnetslackers.com/SQL/re-135853_HowTo_Telerik_RadGrid_Master_Detail_client_side_data_binding_using_LINQ_to_SQL_and_WebService.aspx"&gt;http://dotnetslackers.com/SQL/re-135853_HowTo_Telerik_RadGrid_Master_Detail_client_side_data_binding_using_LINQ_to_SQL_and_WebService.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;h3&gt;Go Live With RadGrid2
&lt;/h3&gt;
&lt;p&gt;
As things never go to plan when going live…
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid" href="http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid"&gt;http://tv.telerik.com/radtips/episode/using-the-linqdatasource-in-your-radgrid&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Remember to put in the Web.Design.dll into the bin directory (as we haven’t installed
the tools into the GAC)
&lt;/p&gt;
&lt;p&gt;
Register the scriptmanager with web.config.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Making the testgrid1 application live, and finding lots of issues with the too complex
adventureworks2008 database
&lt;/p&gt;
&lt;p&gt;
**todo – make a simple version of this database with the existing products.
&lt;/p&gt;
&lt;p&gt;
Project is called TestRadGridTelerik2 – see work items for where I’m up to.
&lt;/p&gt;
&lt;p&gt;
radgrid2.mateerit.co.nz
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=da592de4-d3e9-44b5-828d-f7ef640a1220" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,da592de4-d3e9-44b5-828d-f7ef640a1220.aspx</comments>
      <category>SiteFinity</category>
      <category>Telerik</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=51337c82-3baa-429a-94c8-3338799e0e43</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,51337c82-3baa-429a-94c8-3338799e0e43.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,51337c82-3baa-429a-94c8-3338799e0e43.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=51337c82-3baa-429a-94c8-3338799e0e43</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Rough notes for Sitefinity. And how to develop easily custom modules (see end of post).
</p>
        <p>
          <a title="http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx" href="http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx">http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx</a>
        </p>
        <p>
Installing on Windows XP.. Had to use internet explorer to gefFt integrated authentication
passing through properly: 
</p>
        <p>
          <a href="http://localhost/telerik/sitefinity3.7/">http://localhost/telerik/sitefinity3.7/</a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_4.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_1.png" width="644" height="332" />
          </a>
        </p>
        <p>
getting the correct user for the database.. tried to add the aspnet user into the
database as an admin.
</p>
        <p>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_6.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_2.png" width="581" height="484" />
          </a>
        </p>
        <p>
this was a UI bug, just ran again F5 and it worked!
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_10.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_4.png" width="644" height="390" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_8.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_3.png" width="583" height="484" />
          </a>
        </p>
        <p>
The crowd goes wild :-)
</p>
        <p>
          <a href="http://www.sitefinitywatch.com">http://www.sitefinitywatch.com</a>
        </p>
        <p>
          <a title="http://www.sitefinity.com/" href="http://www.sitefinity.com/">http://www.sitefinity.com/</a>
        </p>
        <p>
 
</p>
        <h3>Deploying
</h3>
        <p>
          <a title="http://www.sitefinity.com/support/kb/sitefinity-3-x/discount-asp-net-hosting-provider.aspx" href="http://www.sitefinity.com/support/kb/sitefinity-3-x/discount-asp-net-hosting-provider.aspx">http://www.sitefinity.com/support/kb/sitefinity-3-x/discount-asp-net-hosting-provider.aspx</a> for
shared hosting plan.
</p>
        <p>
          <a title="http://www.sitefinity.com/support/kb/sitefinity-3-x/godaddy-asp-net-hosting-provider.aspx" href="http://www.sitefinity.com/support/kb/sitefinity-3-x/godaddy-asp-net-hosting-provider.aspx">http://www.sitefinity.com/support/kb/sitefinity-3-x/godaddy-asp-net-hosting-provider.aspx</a> 
</p>
        <p>
          <a title="http://www.sitefinity.com/documents/InstallationGuide_3_7.pdf" href="http://www.sitefinity.com/documents/InstallationGuide_3_7.pdf">http://www.sitefinity.com/documents/InstallationGuide_3_7.pdf</a> –
install guide
</p>
        <p>
cmstest.mateerit.co.nz
</p>
        <p>
backed up database on live server
</p>
        <p>
used SQL2008 Management Studio to do Create to Script and uploaded the database tables
that way.
</p>
        <p>
Live site worked with just changing the connection string in web.config
</p>
        <p>
however the admin site won’t let me login.hmm if I changed the URL to:
</p>
        <p>
          <a title="http://cmstest.mateerit.co.nz/Sitefinity/Admin/Default.aspx" href="http://cmstest.mateerit.co.nz/Sitefinity/Admin/Default.aspx">http://cmstest.mateerit.co.nz/Sitefinity/Admin/Default.aspx</a>
        </p>
        <p>
I then got a 404 error on editing a page, 
</p>
        <p>
Second, you need to turn off <strong>healthMonitoring</strong>: 
<br /><em>&lt;healthMonitoring enabled="false" heartbeatInterval="0"&gt;</em></p>
        <p>
I then got a 404 again.. hmmm
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_14.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_6.png" width="644" height="363" />
          </a>
        </p>
        <p>
        </p>
        <p>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_12.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_5.png" width="644" height="250" />
          </a>
        </p>
        <p>
[done]Licensing
</p>
        <p>
They have just turned off the Community Edition. 
</p>
        <p>
Get going in visual studio – see support and live documentation.
</p>
        <p>
get going live on openhost – have sent an email.
</p>
        <p>
look at documents on the web showing how to do stuff in Sitefinity and case studies.
</p>
        <p>
how to embed controls and pages in SF – tutorial webcast?
</p>
        <p>
 
</p>
        <p>
Changing the order of menu items
</p>
        <p>
properties of pages (ie whether they are listed in the menus)
</p>
        <p>
adding in images into pages
</p>
        <p>
permissions on pages
</p>
        <h5>Services
</h5>
        <p>
eg RSS, Search…These are applications that other modules can use
</p>
        <h5>Modules
</h5>
        <p>
Generic Content – text and images
</p>
        <p>
News 
</p>
        <blockquote>
          <p>
publishing news
</p>
        </blockquote>
        <blockquote>
          <p>
pub date, expiration
</p>
        </blockquote>
        <p>
Blogs
</p>
        <blockquote>
          <p>
category, comments (shared with news and generic too)
</p>
          <p>
 
</p>
        </blockquote>
        <p>
Lists
</p>
        <blockquote>
          <p>
FAQ’s
</p>
          <p>
List of people in a company
</p>
        </blockquote>
        <p>
Polls
</p>
        <blockquote>
          <p>
Polls, surverys – multi
</p>
        </blockquote>
        <p>
Forums
</p>
        <p>
Images and Documents
</p>
        <blockquote>
          <p>
Files?
</p>
        </blockquote>
        <p>
Events
</p>
        <p>
Newsletter 
</p>
        <h5>Wikis
</h5>
        <p>
Added in 3.7
</p>
        <p>
strange renderiing issue.
</p>
        <h5>Generic Content
</h5>
        <p>
can share content across the site.
</p>
        <h5>News
</h5>
        <p>
Categories – these are hierarchial.. these are different categories to other modules.
</p>
        <p>
Tags – these are flat level
</p>
        <p>
Permissions – who can do what.
</p>
        <p>
6:00 in and video died
</p>
        <p>
CntCatID ** didn’t work well
</p>
        <h5>Polls
</h5>
        <p>
Works fine.
</p>
        <h3>Master Page and Theming Video
</h3>
        <p>
making a new master page and theme
</p>
        <h3>User Controls
</h3>
        <p>
made an ascx using the Telerik RadTextBox
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_16.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb.png" width="644" height="78" />
          </a>
        </p>
        <p>
created it in MyControls, then uploaded, which SF put in UserControls:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_18.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_7.png" width="242" height="371" />
          </a>
        </p>
        <p>
Upload was at the bottom here, and it was put into Misc:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_20.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_8.png" width="181" height="591" />
          </a>
        </p>
        <h3>Creating Custom Modules - Contacts
</h3>
        <p>
Video here:
</p>
        <p>
          <a title="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx" href="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx">http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx</a>
        </p>
        <p>
code here":
</p>
        <p>
          <a title="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx">http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx</a>
        </p>
        <p>
nolics.Engine.v4.2  dal
</p>
        <p>
references to Telerik.Cms.Web.UI – has exclamation mark
</p>
        <p>
also Telerik.Web.UI.. versioning?  Deleted the reference, and added in the new
one, and it seems to work.
</p>
        <p>
Here is the management interface for the new contacts module:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_22.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_9.png" width="644" height="267" />
          </a>
        </p>
        <p>
and the front end:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_24.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_10.png" width="644" height="284" />
          </a>
        </p>
        <p>
and the full page:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_26.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_11.png" width="644" height="434" />
          </a>
        </p>
        <h3>Working With SiteFinity API
</h3>
        <p>
Simple User Control – blog form.
</p>
        <p>
News, Pages
</p>
        <p>
A custom page which programatically calls
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_28.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_12.png" width="644" height="382" />
          </a>
        </p>
        <p>
so we created a demo blog programatically through the SF API.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_32.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_14.png" width="509" height="359" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_30.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_13.png" width="644" height="275" />
          </a>
        </p>
        <h3>User Management, Permissions and Workflow
</h3>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_34.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_15.png" width="427" height="484" />
          </a>
        </p>
        <p>
setting permissions for the news module for John (who is in the role News Role Special)
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_36.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_16.png" width="427" height="484" />
          </a>
        </p>
        <p>
And for Pages:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_38.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_17.png" width="351" height="484" />
          </a>
        </p>
        <p>
Turning on Workflow:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_40.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_18.png" width="705" height="340" />
          </a>
        </p>
        <p>
Made a page and now it is for approval by an admin:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_42.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_19.png" width="644" height="276" />
          </a>
        </p>
        <h3>Adding Custom Fields
</h3>
        <p>
Here he added in a price to an event, then hooked it up to a Google Checkout link.
</p>
        <p>
 
</p>
        <p>
Other videos
</p>
        <p>
          <a title="http://vimeo.com/channels/sitefinity#9986165" href="http://vimeo.com/channels/sitefinity#9986165">http://vimeo.com/channels/sitefinity#9986165</a> –
Falafel
</p>
        <p>
          <a title="http://stackoverflow.com/questions/213719/how-do-you-create-a-visual-studio-solution-file-sln-in-the-same-directory-as-t" href="http://stackoverflow.com/questions/213719/how-do-you-create-a-visual-studio-solution-file-sln-in-the-same-directory-as-t">http://stackoverflow.com/questions/213719/how-do-you-create-a-visual-studio-solution-file-sln-in-the-same-directory-as-t</a> –
solution file
</p>
        <p>
** am here <a title="http://cdn-static.viddler.com/flash/simple_publisher.swf?key=a83a6fef" href="http://cdn-static.viddler.com/flash/simple_publisher.swf?key=a83a6fef">http://cdn-static.viddler.com/flash/simple_publisher.swf?key=a83a6fef</a></p>
        <h3>Tricks with the SF API Video
</h3>
        <p>
how to get solution coming up in explorer window?
</p>
        <p>
ICMSPage
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_44.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_20.png" width="644" height="374" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_48.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_22.png" width="244" height="193" />
          </a>
        </p>
        <p>
 
</p>
        <p>
          <a title="http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx" href="http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx">http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx</a>
        </p>
        <p>
try dragging in Telerik.Web.UII.dll into VS to use the controls.
</p>
        <p>
Look at Linq contacts example.
</p>
        <p>
Modules – if need front end and back end
</p>
        <p>
User Control or Custom Control – if only need front end
</p>
        <p>
Tool – if only need back end.
</p>
        <h3>Custom Modules – Contacts
</h3>
        <p>
          <a title="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx">http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx</a> –
26th Feb 2009.  3.6 Arch.
</p>
        <p>
this has 2projects in it:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_62.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_29.png" width="215" height="217" />
          </a>
        </p>
        <p>
 
</p>
        <p>
intra site module if don’t need the module across many implementations of SF
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_46.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_21.png" width="449" height="548" />
          </a>
        </p>
        <p>
Installed an older version of Contacts from 2007:  <a title="http://www.sitefinity.com/blogs/ivan/posts/07-12-20/sitefinity_intra-site_modules_the_unbearable_lightness_of_development.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/07-12-20/sitefinity_intra-site_modules_the_unbearable_lightness_of_development.aspx">http://www.sitefinity.com/blogs/ivan/posts/07-12-20/sitefinity_intra-site_modules_the_unbearable_lightness_of_development.aspx</a></p>
        <p>
no**how it accesses data?
</p>
        <p>
created 2 new tables in the db – smplt_Contacts and smpl_Departments
</p>
        <p>
added in some files:
</p>
        <p>
App_Code\Contacts
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_52.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_24.png" width="617" height="426" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_50.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_23.png" width="644" height="69" />
          </a>
        </p>
        <p>
So now have:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_54.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_25.png" width="644" height="311" />
          </a>
        </p>
        <p>
and can add/edit/delete from here:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_58.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_27.png" width="644" height="269" />
          </a>
        </p>
        <p>
and data is going where we expect it:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_56.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_26.png" width="644" height="249" />
          </a>
        </p>
        <p>
and wired up on the front end:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_60.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_28.png" width="602" height="484" />
          </a>
        </p>
        <p>
and how to link to a details page:
</p>
        <h3>Intra Site Module 3.6 Version of Contacts using Nolics
</h3>
        <p>
          <a title="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx">http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx</a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_64.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_30.png" width="219" height="477" />
          </a>
        </p>
        <p>
          <a title="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx" href="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx">http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx</a> –
see telerik video_551pro.flv
</p>
        <p>
This is the easier and faster way to develop modules.
</p>
        <p>
ContactsModule is the central class which inherits from SecuredModule.
</p>
        <p>
Admin / ContactsCommandPanel (smaller panel on left 
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_68.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_32.png" width="93" height="244" />
          </a>
        </p>
        <p>
Admin / ContactsControlPanel (larger control on the right)
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_70.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_33.png" width="644" height="135" />
          </a>
        </p>
        <p>
ContactsManager – middle man between presentation and data layer… so can put in another
provicer eg for xml instead of database
</p>
        <p>
ContactProvider – abstract class.. sort of interface
</p>
        <p>
DAL.Contact.dbclass – nolics definition
</p>
        <p>
DAL.DefaultProvider – inherts the ContactsPRovider abstract class.  where stuff
gets saved to orm.
</p>
        <p>
front end.web.config
</p>
        <blockquote>
          <p>
put in a custom module
</p>
          <p>
register module with SF
</p>
          <p>
declare a module section and declare the providers we will be using in that module.
</p>
        </blockquote>
        <p>
 
</p>
        <h3>Intra Site Module Contacts – LINQ Provider (pre 3.6)
</h3>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_72.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_34.png" width="327" height="484" />
          </a>
        </p>
        <p>
highly recommended to use the new style of architecture.
</p>
        <h3>Contacts Intrasite (3.6) – ie not a pluggable module
</h3>
        <p>
this doesn’t have the 3 projects..just simple code!
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_74.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_35.png" width="552" height="113" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_76.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_36.png" width="446" height="390" />
          </a>
        </p>
        <p>
create new SF website – yellow
</p>
        <p>
move virtual directory to c:\code\sitefinity\yellow
</p>
        <p>
load in a new solution in VS
</p>
        <p>
add into git.
</p>
        <p>
add in contacts module.
</p>
        <blockquote>
          <p>
create 2 new tables in the database… smpl_Contacts and smpl_Departments
</p>
          <p>
            <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_66.png">
              <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_31.png" width="177" height="211" />
            </a>
          </p>
          <p>
App_Code
</p>
          <p>
            <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_78.png">
              <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_37.png" width="511" height="271" />
            </a>
          </p>
          <p>
ContactsModule is the central class which inherits from SecuredModule.
</p>
          <p>
ContactsManager – middle man between presentation and data layer… so can put in another
provicer eg for xml instead of database
</p>
          <p>
 
</p>
          <p>
            <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_80.png">
              <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_38.png" width="468" height="146" />
            </a>
          </p>
          <p>
            <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_82.png">
              <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_39.png" width="493" height="197" />
            </a>
          </p>
          <p>
            <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_84.png">
              <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_40.png" width="495" height="183" />
            </a>
          </p>
          <p>
            <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_86.png">
              <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_41.png" width="398" height="249" />
            </a>
          </p>
          <p>
then in the web.config search for toolboxControls and add in after the &lt;clear /&gt;
</p>
          <p>
&lt;add name="Contacts List" section="Contacts" url="~/Modules/Contacts/Views/Frontend/ContactsListView.ascx"
/&gt; 
<br />
&lt;add name="Single Contact" section="Contacts" url="~/Modules/Contacts/Views/Frontend/SingleContactView.ascx"
/&gt;  
</p>
        </blockquote>
        <p>
Figure out how it works – front end first
</p>
        <p>
the user view simply has a SqlDataSource in it with SQL embedded in the page.
</p>
        <p>
 
</p>
        <h3>Books Module (3.6)
</h3>
        <p>
Also there is a books example based of the 3.6 new architecture:
</p>
        <p>
          <a title="http://www.sitefinity.com/blogs/ivan/posts/09-01-25/sitefinity_3_6_beta_-_sample_bare_bones_module_on_the_new_backend_architecture.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-01-25/sitefinity_3_6_beta_-_sample_bare_bones_module_on_the_new_backend_architecture.aspx">http://www.sitefinity.com/blogs/ivan/posts/09-01-25/sitefinity_3_6_beta_-_sample_bare_bones_module_on_the_new_backend_architecture.aspx</a>
        </p>
        <p>
hmm – not quite the same format as contacts.
</p>
        <h3>Contacts Module LINQ (pre 3.6)
</h3>
        <p>
**also need to look at the LINQ provider example in downloads – loos like same contacts
example but using linq.
</p>
        <h3>Products Module (looks like 3.6) – pluggable module?
</h3>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_88.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_42.png" width="399" height="258" />
          </a>
        </p>
        <p>
asdf
</p>
        <h3>RSS Service Module – 17th July 2009
</h3>
        <p>
          <a title="http://www.sitefinity.com/blogs/dilyanrusev/dilyanposts/09-07-17/implementing_rss_a_simple_rss_bare-bones_rss_module.aspx" href="http://www.sitefinity.com/blogs/dilyanrusev/dilyanposts/09-07-17/implementing_rss_a_simple_rss_bare-bones_rss_module.aspx">http://www.sitefinity.com/blogs/dilyanrusev/dilyanposts/09-07-17/implementing_rss_a_simple_rss_bare-bones_rss_module.aspx</a>
        </p>
        <p>
 
</p>
        <h3>Video on Intra Site Module Creation _451
</h3>
        <p>
Notes here: <a title="http://sitefinitywatch.com/notes/09-04-16/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx" href="http://sitefinitywatch.com/notes/09-04-16/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx">http://sitefinitywatch.com/notes/09-04-16/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx</a></p>
        <p>
April 16th 2009
</p>
        <p>
Intra-Site module – code is stored in App_Code
</p>
        <p>
Uses LINQ
</p>
        <p>
To Create a new module all we need is: in App_Code\Contacts\ContactsModule.cs
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_94.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_45.png" width="410" height="560" />
          </a>
        </p>
        <p>
Command panel – left
</p>
        <p>
Control panel – right
</p>
        <p>
Wired Up control panel to an ascx
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_96.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_46.png" width="644" height="121" />
          </a>
        </p>
        <p>
sw_contacts
</p>
        <p>
sw_departments
</p>
        <p>
Problem with Linq not recognising the FK Relationship.  Went into the diagram
explorer in Sql server and it worked fine.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_104.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_50.png" width="244" height="135" />
          </a>
        </p>
        <p>
Changed names to Department and Contact.  Set ID’s to be Auto Generated.
</p>
        <p>
          <strong>Generic content</strong> - can take care of persisting the data for you in
SF
</p>
        <p>
Here we are handing our data manually.
</p>
        <h5>problem referencing RAD Grid from telerik
</h5>
        <p>
: 16min into video
</p>
        <p>
          <a title="http://www.telerik.com/community/forums/aspnet/general-discussions/error-creating-template-groups-for-all-controls.aspx" href="http://www.telerik.com/community/forums/aspnet/general-discussions/error-creating-template-groups-for-all-controls.aspx">http://www.telerik.com/community/forums/aspnet/general-discussions/error-creating-template-groups-for-all-controls.aspx</a>
        </p>
        <p>
My toolbox is referencing 2010.1.309.35
</p>
        <p>
          <a title="http://blogs.telerik.com/kevinbabcock/posts/08-12-23/visual_studio_ldquo_error_creating_control_rdquo.aspx" href="http://blogs.telerik.com/kevinbabcock/posts/08-12-23/visual_studio_ldquo_error_creating_control_rdquo.aspx">http://blogs.telerik.com/kevinbabcock/posts/08-12-23/visual_studio_ldquo_error_creating_control_rdquo.aspx</a>
        </p>
        <p>
tried deleting the project assemblies:
</p>
        <p>
          <em>C:\Documents and Settings\[username]\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies </em>(Windows
XP)
</p>
        <p>
trying to delete C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files 
</p>
        <p>
This worked!!!
</p>
        <p>
          <a title="http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-2-9-q2-release-giving-me-gray-hair.aspx" href="http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-2-9-q2-release-giving-me-gray-hair.aspx">http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-2-9-q2-release-giving-me-gray-hair.aspx</a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_98.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_47.png" width="98" height="244" />
          </a>
        </p>
        <p>
Using RADGrid.  2 LINQ Data Sources.  The first which is bound is to Contacts
(which has crud working).  The second is to departments which is read only.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_100.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_48.png" width="644" height="272" />
          </a>
        </p>
        <p>
putting in a DridDropDownColumn:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_102.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_49.png" width="511" height="367" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_106.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_51.png" width="746" height="219" />
          </a>
        </p>
        <p>
The crowd goes wild.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_110.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_53.png" width="244" height="184" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_108.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_52.png" width="244" height="59" />
          </a>
        </p>
        <p>
Doing the insert:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_114.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_55.png" width="799" height="529" />
          </a>
        </p>
        <p>
So we can now create read update and delete to the contacts table via the backend
of SF..we can read from another linked table too (department).  Using Linq to
SQL so have written no SQL.  SF includes authentication.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_116.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_56.png" width="644" height="129" />
          </a>
        </p>
        <h5>How to Manage Departments?
</h5>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_118.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_57.png" width="179" height="222" />
          </a>
        </p>
        <p>
Here we are using an asp:MultiView, a link button and 
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_120.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_58.png" width="448" height="164" />
          </a>
        </p>
        <p>
However this method can get complex really quickly.. so going to look at 3.6 features:
</p>
        <h5>3.6 Views
</h5>
        <p>
We have deleted the user control which was in Contacts called ControlPanel.ascx 
and made 4 more granular ones.
</p>
        <p>
changed the ContactsModule from 
</p>
        <p>
return parent.LoadControl("~/Custom/Modules/Contacts/ControlPanel.ascx");
</p>
        <p>
to
</p>
        <p>
return new ContactsControlPanel();
</p>
        <p>
which is a new class which loads up the more granular ones
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_126.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_61.png" width="644" height="146" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_124.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_60.png" width="353" height="504" />
          </a>
        </p>
        <p>
The user controls need to inherit from:  ViewModeUserControl&lt;ContactsControlPanel&gt;
</p>
        <p>
This is a new concept in 3.6
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_122.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_59.png" width="206" height="244" />
          </a>
        </p>
        <p>
However we want slightly different views so:
</p>
        <p>
Create ContactsView and DepartmentsView which hold 2 children each.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_134.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_65.png" width="644" height="102" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_130.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_63.png" width="587" height="484" />
          </a>
        </p>
        <p>
Make it look nicer:
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_136.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_66.png" width="644" height="391" />
          </a>
        </p>
        <p>
&lt;MasterTableView CommandItemDisplay="Top" DataKeyNames="Id"
CssClass="listItems" width="98%"
</p>
        <p>
added some divs:
</p>
        <p>
&lt;div class="workArea"&gt; 
<br />
    &lt;div id="gridPlaceholder"&gt;
</p>
        <p>
Wiring up Add Button which is just an asp hyperlink.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_140.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_68.png" width="244" height="220" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_138.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_67.png" width="644" height="104" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_142.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_69.png" width="644" height="340" />
          </a>
        </p>
        <p>
Added in  Linq code for add and edit.
</p>
        <p>
Added in a new view so when go to Add new Contact, it displays a nice breadcrumb. 
Even though it actually goes to the edit view!
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_144.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_70.png" width="571" height="258" />
          </a>
        </p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_146.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_71.png" width="639" height="491" />
          </a>
        </p>
        <p>
Front end displaying the data.
</p>
        <p>
 
</p>
        <h3>Controls
</h3>
        <p>
User Controls – Simplest way to bring in business logic.   inherit from
System.Web.UI.UserControl.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_90.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_43.png" width="644" height="335" />
          </a>
        </p>
        <p>
making the Control Title property editable by the back end.
</p>
        <p>
          <a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_92.png">
            <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_44.png" width="492" height="188" />
          </a>
        </p>
        <p>
making the bulleted list editable (how it looks)
</p>
        <p>
Towards the end of the examples in the docs, it does persist data.
</p>
        <p>
**Ivans blogs on Control Designers?
</p>
        <p>
 
</p>
        <h3>LinqCommere and Free Templates
</h3>
        <p>
          <a title="http://www.josephmanderson.com/technology/OpenSourceCommunity/templates.aspx" href="http://www.josephmanderson.com/technology/OpenSourceCommunity/templates.aspx">http://www.josephmanderson.com/technology/OpenSourceCommunity/templates.aspx</a>
        </p>
        <p>
**review rest of flv videos
</p>
        <h3>How To Deploy Easily?
</h3>
        <p>
This is a ‘Web Site’ and not a ‘Web Application Project’
</p>
        <p>
          <a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en</a>
        </p>
        <p>
I usually do the pre build events in Projects to change my db connection stri9ng.
</p>
        <p>
**Look in the forums on SF site 
</p>
        <p>
** keep watching videos.
</p>
        <p>
**look on youtube for sitefinity
</p>
        <p>
**how to develop in SF – environemtn.. change to Web Application Project?
</p>
        <p>
read this sometime: <a title="http://logisolve.blogspot.com/2009/02/aspnet-and-content-management-teleriks.html" href="http://logisolve.blogspot.com/2009/02/aspnet-and-content-management-teleriks.html">http://logisolve.blogspot.com/2009/02/aspnet-and-content-management-teleriks.html</a></p>
        <p>
### It is fairly easy to develop a back end intra site module that does admin stuff. 
Custom.  I went on to look at Telerik RAD Controls before writing this up. 
There should be a good example sln.  There was a video which was excellent on
intra site stuff.
</p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=51337c82-3baa-429a-94c8-3338799e0e43" />
      </body>
      <title>SiteFinity</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,51337c82-3baa-429a-94c8-3338799e0e43.aspx</guid>
      <link>http://www.programgood.net/2010/05/22/SiteFinity.aspx</link>
      <pubDate>Sat, 22 May 2010 02:06:31 GMT</pubDate>
      <description>&lt;p&gt;
Rough notes for Sitefinity. And how to develop easily custom modules (see end of post).
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx" href="http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx"&gt;http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Installing on Windows XP.. Had to use internet explorer to gefFt integrated authentication
passing through properly: 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://localhost/telerik/sitefinity3.7/"&gt;http://localhost/telerik/sitefinity3.7/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_1.png" width="644" height="332" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
getting the correct user for the database.. tried to add the aspnet user into the
database as an admin.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_2.png" width="581" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
this was a UI bug, just ran again F5 and it worked!
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_4.png" width="644" height="390" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_3.png" width="583" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The crowd goes wild :-)
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.sitefinitywatch.com"&gt;http://www.sitefinitywatch.com&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/" href="http://www.sitefinity.com/"&gt;http://www.sitefinity.com/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Deploying
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/support/kb/sitefinity-3-x/discount-asp-net-hosting-provider.aspx" href="http://www.sitefinity.com/support/kb/sitefinity-3-x/discount-asp-net-hosting-provider.aspx"&gt;http://www.sitefinity.com/support/kb/sitefinity-3-x/discount-asp-net-hosting-provider.aspx&lt;/a&gt; for
shared hosting plan.
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/support/kb/sitefinity-3-x/godaddy-asp-net-hosting-provider.aspx" href="http://www.sitefinity.com/support/kb/sitefinity-3-x/godaddy-asp-net-hosting-provider.aspx"&gt;http://www.sitefinity.com/support/kb/sitefinity-3-x/godaddy-asp-net-hosting-provider.aspx&lt;/a&gt;&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/documents/InstallationGuide_3_7.pdf" href="http://www.sitefinity.com/documents/InstallationGuide_3_7.pdf"&gt;http://www.sitefinity.com/documents/InstallationGuide_3_7.pdf&lt;/a&gt; –
install guide
&lt;/p&gt;
&lt;p&gt;
cmstest.mateerit.co.nz
&lt;/p&gt;
&lt;p&gt;
backed up database on live server
&lt;/p&gt;
&lt;p&gt;
used SQL2008 Management Studio to do Create to Script and uploaded the database tables
that way.
&lt;/p&gt;
&lt;p&gt;
Live site worked with just changing the connection string in web.config
&lt;/p&gt;
&lt;p&gt;
however the admin site won’t let me login.hmm if I changed the URL to:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://cmstest.mateerit.co.nz/Sitefinity/Admin/Default.aspx" href="http://cmstest.mateerit.co.nz/Sitefinity/Admin/Default.aspx"&gt;http://cmstest.mateerit.co.nz/Sitefinity/Admin/Default.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I then got a 404 error on editing a page, 
&lt;/p&gt;
&lt;p&gt;
Second, you need to turn off &lt;strong&gt;healthMonitoring&lt;/strong&gt;: 
&lt;br /&gt;
&lt;em&gt;&amp;lt;healthMonitoring enabled=&amp;quot;false&amp;quot; heartbeatInterval=&amp;quot;0&amp;quot;&amp;gt;&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
I then got a 404 again.. hmmm
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_6.png" width="644" height="363" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_5.png" width="644" height="250" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
[done]Licensing
&lt;/p&gt;
&lt;p&gt;
They have just turned off the Community Edition. 
&lt;/p&gt;
&lt;p&gt;
Get going in visual studio – see support and live documentation.
&lt;/p&gt;
&lt;p&gt;
get going live on openhost – have sent an email.
&lt;/p&gt;
&lt;p&gt;
look at documents on the web showing how to do stuff in Sitefinity and case studies.
&lt;/p&gt;
&lt;p&gt;
how to embed controls and pages in SF – tutorial webcast?
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Changing the order of menu items
&lt;/p&gt;
&lt;p&gt;
properties of pages (ie whether they are listed in the menus)
&lt;/p&gt;
&lt;p&gt;
adding in images into pages
&lt;/p&gt;
&lt;p&gt;
permissions on pages
&lt;/p&gt;
&lt;h5&gt;Services
&lt;/h5&gt;
&lt;p&gt;
eg RSS, Search…These are applications that other modules can use
&lt;/p&gt;
&lt;h5&gt;Modules
&lt;/h5&gt;
&lt;p&gt;
Generic Content – text and images
&lt;/p&gt;
&lt;p&gt;
News 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
publishing news
&lt;/p&gt;
&lt;/blockquote&gt; &lt;blockquote&gt; 
&lt;p&gt;
pub date, expiration
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Blogs
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
category, comments (shared with news and generic too)
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Lists
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
FAQ’s
&lt;/p&gt;
&lt;p&gt;
List of people in a company
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Polls
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
Polls, surverys – multi
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Forums
&lt;/p&gt;
&lt;p&gt;
Images and Documents
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
Files?
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Events
&lt;/p&gt;
&lt;p&gt;
Newsletter 
&lt;/p&gt;
&lt;h5&gt;Wikis
&lt;/h5&gt;
&lt;p&gt;
Added in 3.7
&lt;/p&gt;
&lt;p&gt;
strange renderiing issue.
&lt;/p&gt;
&lt;h5&gt;Generic Content
&lt;/h5&gt;
&lt;p&gt;
can share content across the site.
&lt;/p&gt;
&lt;h5&gt;News
&lt;/h5&gt;
&lt;p&gt;
Categories – these are hierarchial.. these are different categories to other modules.
&lt;/p&gt;
&lt;p&gt;
Tags – these are flat level
&lt;/p&gt;
&lt;p&gt;
Permissions – who can do what.
&lt;/p&gt;
&lt;p&gt;
6:00 in and video died
&lt;/p&gt;
&lt;p&gt;
CntCatID ** didn’t work well
&lt;/p&gt;
&lt;h5&gt;Polls
&lt;/h5&gt;
&lt;p&gt;
Works fine.
&lt;/p&gt;
&lt;h3&gt;Master Page and Theming Video
&lt;/h3&gt;
&lt;p&gt;
making a new master page and theme
&lt;/p&gt;
&lt;h3&gt;User Controls
&lt;/h3&gt;
&lt;p&gt;
made an ascx using the Telerik RadTextBox
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb.png" width="644" height="78" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
created it in MyControls, then uploaded, which SF put in UserControls:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_7.png" width="242" height="371" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Upload was at the bottom here, and it was put into Misc:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_8.png" width="181" height="591" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h3&gt;Creating Custom Modules - Contacts
&lt;/h3&gt;
&lt;p&gt;
Video here:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx" href="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx"&gt;http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
code here&amp;quot;:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx"&gt;http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
nolics.Engine.v4.2&amp;#160; dal
&lt;/p&gt;
&lt;p&gt;
references to Telerik.Cms.Web.UI – has exclamation mark
&lt;/p&gt;
&lt;p&gt;
also Telerik.Web.UI.. versioning?&amp;#160; Deleted the reference, and added in the new
one, and it seems to work.
&lt;/p&gt;
&lt;p&gt;
Here is the management interface for the new contacts module:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_9.png" width="644" height="267" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
and the front end:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_10.png" width="644" height="284" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
and the full page:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_11.png" width="644" height="434" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h3&gt;Working With SiteFinity API
&lt;/h3&gt;
&lt;p&gt;
Simple User Control – blog form.
&lt;/p&gt;
&lt;p&gt;
News, Pages
&lt;/p&gt;
&lt;p&gt;
A custom page which programatically calls
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_12.png" width="644" height="382" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
so we created a demo blog programatically through the SF API.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_32.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_14.png" width="509" height="359" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_13.png" width="644" height="275" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h3&gt;User Management, Permissions and Workflow
&lt;/h3&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_15.png" width="427" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
setting permissions for the news module for John (who is in the role News Role Special)
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_16.png" width="427" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
And for Pages:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_17.png" width="351" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Turning on Workflow:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_18.png" width="705" height="340" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Made a page and now it is for approval by an admin:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_19.png" width="644" height="276" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h3&gt;Adding Custom Fields
&lt;/h3&gt;
&lt;p&gt;
Here he added in a price to an event, then hooked it up to a Google Checkout link.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Other videos
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://vimeo.com/channels/sitefinity#9986165" href="http://vimeo.com/channels/sitefinity#9986165"&gt;http://vimeo.com/channels/sitefinity#9986165&lt;/a&gt; –
Falafel
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://stackoverflow.com/questions/213719/how-do-you-create-a-visual-studio-solution-file-sln-in-the-same-directory-as-t" href="http://stackoverflow.com/questions/213719/how-do-you-create-a-visual-studio-solution-file-sln-in-the-same-directory-as-t"&gt;http://stackoverflow.com/questions/213719/how-do-you-create-a-visual-studio-solution-file-sln-in-the-same-directory-as-t&lt;/a&gt; –
solution file
&lt;/p&gt;
&lt;p&gt;
** am here &lt;a title="http://cdn-static.viddler.com/flash/simple_publisher.swf?key=a83a6fef" href="http://cdn-static.viddler.com/flash/simple_publisher.swf?key=a83a6fef"&gt;http://cdn-static.viddler.com/flash/simple_publisher.swf?key=a83a6fef&lt;/a&gt;
&lt;/p&gt;
&lt;h3&gt;Tricks with the SF API Video
&lt;/h3&gt;
&lt;p&gt;
how to get solution coming up in explorer window?
&lt;/p&gt;
&lt;p&gt;
ICMSPage
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_20.png" width="644" height="374" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_48.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_22.png" width="244" height="193" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx" href="http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx"&gt;http://www.falafel.com/training/Sitefinity/sitefinityfaq.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
try dragging in Telerik.Web.UII.dll into VS to use the controls.
&lt;/p&gt;
&lt;p&gt;
Look at Linq contacts example.
&lt;/p&gt;
&lt;p&gt;
Modules – if need front end and back end
&lt;/p&gt;
&lt;p&gt;
User Control or Custom Control – if only need front end
&lt;/p&gt;
&lt;p&gt;
Tool – if only need back end.
&lt;/p&gt;
&lt;h3&gt;Custom Modules – Contacts
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx"&gt;http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx&lt;/a&gt; –
26th Feb 2009.&amp;#160; 3.6 Arch.
&lt;/p&gt;
&lt;p&gt;
this has 2projects in it:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_62.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_29.png" width="215" height="217" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
intra site module if don’t need the module across many implementations of SF
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_21.png" width="449" height="548" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Installed an older version of Contacts from 2007:&amp;#160; &lt;a title="http://www.sitefinity.com/blogs/ivan/posts/07-12-20/sitefinity_intra-site_modules_the_unbearable_lightness_of_development.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/07-12-20/sitefinity_intra-site_modules_the_unbearable_lightness_of_development.aspx"&gt;http://www.sitefinity.com/blogs/ivan/posts/07-12-20/sitefinity_intra-site_modules_the_unbearable_lightness_of_development.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
no**how it accesses data?
&lt;/p&gt;
&lt;p&gt;
created 2 new tables in the db – smplt_Contacts and smpl_Departments
&lt;/p&gt;
&lt;p&gt;
added in some files:
&lt;/p&gt;
&lt;p&gt;
App_Code\Contacts
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_52.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_24.png" width="617" height="426" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_23.png" width="644" height="69" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
So now have:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_54.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_25.png" width="644" height="311" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
and can add/edit/delete from here:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_58.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_27.png" width="644" height="269" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
and data is going where we expect it:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_56.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_26.png" width="644" height="249" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
and wired up on the front end:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_60.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_28.png" width="602" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
and how to link to a details page:
&lt;/p&gt;
&lt;h3&gt;Intra Site Module 3.6 Version of Contacts using Nolics
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx"&gt;http://www.sitefinity.com/blogs/ivan/posts/09-02-26/sample_pluggable_module_contacts_pluggable_module.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_64.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_30.png" width="219" height="477" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx" href="http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx"&gt;http://www.sitefinity.com/support/video-tutorials/extending-sitefinity/adding-complex-functionality-through-custom-modules.aspx&lt;/a&gt; –
see telerik video_551pro.flv
&lt;/p&gt;
&lt;p&gt;
This is the easier and faster way to develop modules.
&lt;/p&gt;
&lt;p&gt;
ContactsModule is the central class which inherits from SecuredModule.
&lt;/p&gt;
&lt;p&gt;
Admin / ContactsCommandPanel (smaller panel on left 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_68.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_32.png" width="93" height="244" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Admin / ContactsControlPanel (larger control on the right)
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_70.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_33.png" width="644" height="135" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
ContactsManager – middle man between presentation and data layer… so can put in another
provicer eg for xml instead of database
&lt;/p&gt;
&lt;p&gt;
ContactProvider – abstract class.. sort of interface
&lt;/p&gt;
&lt;p&gt;
DAL.Contact.dbclass – nolics definition
&lt;/p&gt;
&lt;p&gt;
DAL.DefaultProvider – inherts the ContactsPRovider abstract class.&amp;#160; where stuff
gets saved to orm.
&lt;/p&gt;
&lt;p&gt;
front end.web.config
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
put in a custom module
&lt;/p&gt;
&lt;p&gt;
register module with SF
&lt;/p&gt;
&lt;p&gt;
declare a module section and declare the providers we will be using in that module.
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Intra Site Module Contacts – LINQ Provider (pre 3.6)
&lt;/h3&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_72.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_34.png" width="327" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
highly recommended to use the new style of architecture.
&lt;/p&gt;
&lt;h3&gt;Contacts Intrasite (3.6) – ie not a pluggable module
&lt;/h3&gt;
&lt;p&gt;
this doesn’t have the 3 projects..just simple code!
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_74.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_35.png" width="552" height="113" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_76.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_36.png" width="446" height="390" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
create new SF website – yellow
&lt;/p&gt;
&lt;p&gt;
move virtual directory to c:\code\sitefinity\yellow
&lt;/p&gt;
&lt;p&gt;
load in a new solution in VS
&lt;/p&gt;
&lt;p&gt;
add into git.
&lt;/p&gt;
&lt;p&gt;
add in contacts module.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
create 2 new tables in the database… smpl_Contacts and smpl_Departments
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_66.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_31.png" width="177" height="211" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
App_Code
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_78.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_37.png" width="511" height="271" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
ContactsModule is the central class which inherits from SecuredModule.
&lt;/p&gt;
&lt;p&gt;
ContactsManager – middle man between presentation and data layer… so can put in another
provicer eg for xml instead of database
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_80.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_38.png" width="468" height="146" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_82.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_39.png" width="493" height="197" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_84.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_40.png" width="495" height="183" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_86.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_41.png" width="398" height="249" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
then in the web.config search for toolboxControls and add in after the &amp;lt;clear /&amp;gt;
&lt;/p&gt;
&lt;p&gt;
&amp;lt;add name=&amp;quot;Contacts List&amp;quot; section=&amp;quot;Contacts&amp;quot; url=&amp;quot;~/Modules/Contacts/Views/Frontend/ContactsListView.ascx&amp;quot;
/&amp;gt; 
&lt;br /&gt;
&amp;lt;add name=&amp;quot;Single Contact&amp;quot; section=&amp;quot;Contacts&amp;quot; url=&amp;quot;~/Modules/Contacts/Views/Frontend/SingleContactView.ascx&amp;quot;
/&amp;gt;&amp;#160; 
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Figure out how it works – front end first
&lt;/p&gt;
&lt;p&gt;
the user view simply has a SqlDataSource in it with SQL embedded in the page.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Books Module (3.6)
&lt;/h3&gt;
&lt;p&gt;
Also there is a books example based of the 3.6 new architecture:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/ivan/posts/09-01-25/sitefinity_3_6_beta_-_sample_bare_bones_module_on_the_new_backend_architecture.aspx" href="http://www.sitefinity.com/blogs/ivan/posts/09-01-25/sitefinity_3_6_beta_-_sample_bare_bones_module_on_the_new_backend_architecture.aspx"&gt;http://www.sitefinity.com/blogs/ivan/posts/09-01-25/sitefinity_3_6_beta_-_sample_bare_bones_module_on_the_new_backend_architecture.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
hmm – not quite the same format as contacts.
&lt;/p&gt;
&lt;h3&gt;Contacts Module LINQ (pre 3.6)
&lt;/h3&gt;
&lt;p&gt;
**also need to look at the LINQ provider example in downloads – loos like same contacts
example but using linq.
&lt;/p&gt;
&lt;h3&gt;Products Module (looks like 3.6) – pluggable module?
&lt;/h3&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_88.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_42.png" width="399" height="258" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
asdf
&lt;/p&gt;
&lt;h3&gt;RSS Service Module – 17th July 2009
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://www.sitefinity.com/blogs/dilyanrusev/dilyanposts/09-07-17/implementing_rss_a_simple_rss_bare-bones_rss_module.aspx" href="http://www.sitefinity.com/blogs/dilyanrusev/dilyanposts/09-07-17/implementing_rss_a_simple_rss_bare-bones_rss_module.aspx"&gt;http://www.sitefinity.com/blogs/dilyanrusev/dilyanposts/09-07-17/implementing_rss_a_simple_rss_bare-bones_rss_module.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Video on Intra Site Module Creation _451
&lt;/h3&gt;
&lt;p&gt;
Notes here: &lt;a title="http://sitefinitywatch.com/notes/09-04-16/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx" href="http://sitefinitywatch.com/notes/09-04-16/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx"&gt;http://sitefinitywatch.com/notes/09-04-16/Introduction_to_Sitefinity_Intra-Site_Module_Creation.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
April 16th 2009
&lt;/p&gt;
&lt;p&gt;
Intra-Site module – code is stored in App_Code
&lt;/p&gt;
&lt;p&gt;
Uses LINQ
&lt;/p&gt;
&lt;p&gt;
To Create a new module all we need is: in App_Code\Contacts\ContactsModule.cs
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_94.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_45.png" width="410" height="560" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Command panel – left
&lt;/p&gt;
&lt;p&gt;
Control panel – right
&lt;/p&gt;
&lt;p&gt;
Wired Up control panel to an ascx
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_96.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_46.png" width="644" height="121" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
sw_contacts
&lt;/p&gt;
&lt;p&gt;
sw_departments
&lt;/p&gt;
&lt;p&gt;
Problem with Linq not recognising the FK Relationship.&amp;#160; Went into the diagram
explorer in Sql server and it worked fine.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_104.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_50.png" width="244" height="135" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Changed names to Department and Contact.&amp;#160; Set ID’s to be Auto Generated.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Generic content&lt;/strong&gt; - can take care of persisting the data for you in
SF
&lt;/p&gt;
&lt;p&gt;
Here we are handing our data manually.
&lt;/p&gt;
&lt;h5&gt;problem referencing RAD Grid from telerik
&lt;/h5&gt;
&lt;p&gt;
: 16min into video
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.telerik.com/community/forums/aspnet/general-discussions/error-creating-template-groups-for-all-controls.aspx" href="http://www.telerik.com/community/forums/aspnet/general-discussions/error-creating-template-groups-for-all-controls.aspx"&gt;http://www.telerik.com/community/forums/aspnet/general-discussions/error-creating-template-groups-for-all-controls.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
My toolbox is referencing 2010.1.309.35
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://blogs.telerik.com/kevinbabcock/posts/08-12-23/visual_studio_ldquo_error_creating_control_rdquo.aspx" href="http://blogs.telerik.com/kevinbabcock/posts/08-12-23/visual_studio_ldquo_error_creating_control_rdquo.aspx"&gt;http://blogs.telerik.com/kevinbabcock/posts/08-12-23/visual_studio_ldquo_error_creating_control_rdquo.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
tried deleting the project assemblies:
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;C:\Documents and Settings\[username]\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies &lt;/em&gt;(Windows
XP)
&lt;/p&gt;
&lt;p&gt;
trying to delete C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files 
&lt;/p&gt;
&lt;p&gt;
This worked!!!
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-2-9-q2-release-giving-me-gray-hair.aspx" href="http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-2-9-q2-release-giving-me-gray-hair.aspx"&gt;http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-2-9-q2-release-giving-me-gray-hair.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_98.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_47.png" width="98" height="244" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Using RADGrid.&amp;#160; 2 LINQ Data Sources.&amp;#160; The first which is bound is to Contacts
(which has crud working).&amp;#160; The second is to departments which is read only.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_100.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_48.png" width="644" height="272" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
putting in a DridDropDownColumn:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_102.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_49.png" width="511" height="367" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_106.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_51.png" width="746" height="219" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The crowd goes wild.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_110.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_53.png" width="244" height="184" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_108.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_52.png" width="244" height="59" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Doing the insert:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_114.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_55.png" width="799" height="529" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
So we can now create read update and delete to the contacts table via the backend
of SF..we can read from another linked table too (department).&amp;#160; Using Linq to
SQL so have written no SQL.&amp;#160; SF includes authentication.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_116.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_56.png" width="644" height="129" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h5&gt;How to Manage Departments?
&lt;/h5&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_118.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_57.png" width="179" height="222" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Here we are using an asp:MultiView, a link button and 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_120.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_58.png" width="448" height="164" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
However this method can get complex really quickly.. so going to look at 3.6 features:
&lt;/p&gt;
&lt;h5&gt;3.6 Views
&lt;/h5&gt;
&lt;p&gt;
We have deleted the user control which was in Contacts called ControlPanel.ascx&amp;#160;
and made 4 more granular ones.
&lt;/p&gt;
&lt;p&gt;
changed the ContactsModule from 
&lt;/p&gt;
&lt;p&gt;
return parent.LoadControl(&amp;quot;~/Custom/Modules/Contacts/ControlPanel.ascx&amp;quot;);
&lt;/p&gt;
&lt;p&gt;
to
&lt;/p&gt;
&lt;p&gt;
return new ContactsControlPanel();
&lt;/p&gt;
&lt;p&gt;
which is a new class which loads up the more granular ones
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_126.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_61.png" width="644" height="146" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_124.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_60.png" width="353" height="504" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
The user controls need to inherit from:&amp;#160; ViewModeUserControl&amp;lt;ContactsControlPanel&amp;gt;
&lt;/p&gt;
&lt;p&gt;
This is a new concept in 3.6
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_122.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_59.png" width="206" height="244" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
However we want slightly different views so:
&lt;/p&gt;
&lt;p&gt;
Create ContactsView and DepartmentsView which hold 2 children each.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_134.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_65.png" width="644" height="102" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_130.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_63.png" width="587" height="484" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Make it look nicer:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_136.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_66.png" width="644" height="391" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;MasterTableView CommandItemDisplay=&amp;quot;Top&amp;quot; DataKeyNames=&amp;quot;Id&amp;quot;
CssClass=&amp;quot;listItems&amp;quot; width=&amp;quot;98%&amp;quot;
&lt;/p&gt;
&lt;p&gt;
added some divs:
&lt;/p&gt;
&lt;p&gt;
&amp;lt;div class=&amp;quot;workArea&amp;quot;&amp;gt; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &amp;lt;div id=&amp;quot;gridPlaceholder&amp;quot;&amp;gt;
&lt;/p&gt;
&lt;p&gt;
Wiring up Add Button which is just an asp hyperlink.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_140.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_68.png" width="244" height="220" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_138.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_67.png" width="644" height="104" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_142.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_69.png" width="644" height="340" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Added in&amp;#160; Linq code for add and edit.
&lt;/p&gt;
&lt;p&gt;
Added in a new view so when go to Add new Contact, it displays a nice breadcrumb.&amp;#160;
Even though it actually goes to the edit view!
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_144.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_70.png" width="571" height="258" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_146.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_71.png" width="639" height="491" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Front end displaying the data.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;Controls
&lt;/h3&gt;
&lt;p&gt;
User Controls – Simplest way to bring in business logic.&amp;#160;&amp;#160; inherit from
System.Web.UI.UserControl.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_90.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_43.png" width="644" height="335" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
making the Control Title property editable by the back end.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_92.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.programgood.net/content/binary/WindowsLiveWriter/SiteFinity_8A17/image_thumb_44.png" width="492" height="188" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
making the bulleted list editable (how it looks)
&lt;/p&gt;
&lt;p&gt;
Towards the end of the examples in the docs, it does persist data.
&lt;/p&gt;
&lt;p&gt;
**Ivans blogs on Control Designers?
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;h3&gt;LinqCommere and Free Templates
&lt;/h3&gt;
&lt;p&gt;
&lt;a title="http://www.josephmanderson.com/technology/OpenSourceCommunity/templates.aspx" href="http://www.josephmanderson.com/technology/OpenSourceCommunity/templates.aspx"&gt;http://www.josephmanderson.com/technology/OpenSourceCommunity/templates.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
**review rest of flv videos
&lt;/p&gt;
&lt;h3&gt;How To Deploy Easily?
&lt;/h3&gt;
&lt;p&gt;
This is a ‘Web Site’ and not a ‘Web Application Project’
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;amp;displaylang=en&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I usually do the pre build events in Projects to change my db connection stri9ng.
&lt;/p&gt;
&lt;p&gt;
**Look in the forums on SF site 
&lt;/p&gt;
&lt;p&gt;
** keep watching videos.
&lt;/p&gt;
&lt;p&gt;
**look on youtube for sitefinity
&lt;/p&gt;
&lt;p&gt;
**how to develop in SF – environemtn.. change to Web Application Project?
&lt;/p&gt;
&lt;p&gt;
read this sometime: &lt;a title="http://logisolve.blogspot.com/2009/02/aspnet-and-content-management-teleriks.html" href="http://logisolve.blogspot.com/2009/02/aspnet-and-content-management-teleriks.html"&gt;http://logisolve.blogspot.com/2009/02/aspnet-and-content-management-teleriks.html&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
### It is fairly easy to develop a back end intra site module that does admin stuff.&amp;#160;
Custom.&amp;#160; I went on to look at Telerik RAD Controls before writing this up.&amp;#160;
There should be a good example sln.&amp;#160; There was a video which was excellent on
intra site stuff.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=51337c82-3baa-429a-94c8-3338799e0e43" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,51337c82-3baa-429a-94c8-3338799e0e43.aspx</comments>
      <category>SiteFinity</category>
      <category>Telerik</category>
    </item>
    <item>
      <trackback:ping>http://www.programgood.net/Trackback.aspx?guid=c38dd544-e0b7-490b-9e2e-a6db7714872d</trackback:ping>
      <pingback:server>http://www.programgood.net/pingback.aspx</pingback:server>
      <pingback:target>http://www.programgood.net/PermaLink,guid,c38dd544-e0b7-490b-9e2e-a6db7714872d.aspx</pingback:target>
      <dc:creator>Dave Mateer</dc:creator>
      <wfw:comment>http://www.programgood.net/CommentView,guid,c38dd544-e0b7-490b-9e2e-a6db7714872d.aspx</wfw:comment>
      <wfw:commentRss>http://www.programgood.net/SyndicationService.asmx/GetEntryCommentsRss?guid=c38dd544-e0b7-490b-9e2e-a6db7714872d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I’m using a Windows2008 shared server there.
</p>
        <p>
When I go
</p>
        <p>
          <a title="http://cmstest.mateerit.co.nz/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25&amp;action=saved" href="http://cmstest.mateerit.co.nz/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25&amp;action=saved">http://cmstest.mateerit.co.nz/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25&amp;action=saved</a>
        </p>
        <p>
2010-04-25 02:28:11 W3SVC3267 WINPLESK8 119.47.118.16 GET /Rejected-By-UrlScan ~/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25
80 - 118.90.119.91 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.2.3)+Gecko/20100401+Firefox/3.6.3
.ASPNET=1AFB9766977A21A55E7B9BAF3F27FCCD8DAF9A049A7845DD4405823A6777D6E80FE4233EF6C403BEAAEA4E0E981AAD087B225606D56470A932DD82D59DDDD76DD0AF4C5BCB1A3ACCAD31BB26B8541EB84B1602F1834AC23A72327049A436D1C2;+ASP.NET_SessionId=mbucdi45fpa5ee55bddc5qy0;+.ASPXROLES=ipJFW4T_cJvPAYLQ5ZPJt3W3ZvEDmRcZaR65fdIMjQk4lclLmuzIb0-8SdEZtVinSUlefJlWwobKC3KhexUfFinsek_a-SavHnIQ2LZneONdBBZFDAxeSURWQiBvbIDY1WVktLDKeaYMpC5q1i36pGdXFoWZRAe_jSDPSPDqvCVLPma-BCUAq5dYtyFnHdgIYhKIg39XxHJvRao8sseVFm5DJLi0GSSGoEp4vgMh5EeK1KmgR0-pXiYTB5j4Rcap18QBjA2d8Bexcwr_Iugw41jm-ph9SCspbunO0ws1X6IC9ejiCCB5AydiKsKsYYQhcnLcXIOzFSspfOOYmm3RF1v6TnVv9xytzJzn14NP5Dh-h_wRYnWXbpM_hyfDTiVBEEvu1yFC6HMMD-PQ2BH_FzJ0SmWxKIoikslK6EG41KrFfwrcaRWyBDxkWoddsgVF0
http://cmstest.mateerit.co.nz/sitefinity/admin/Pages.aspx cmstest.mateerit.co.nz 404
0 2 1218 1231 468
</p>
        <p>
So it looks like a Rejected-By-UrlScan issue
</p>
        <p>
URLScan is configured to reject certain requests. URLScan.ini
</p>
        <p>
Another email to my providers openhost.co.nz who turned off URLScan for me.
</p>
        <img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=c38dd544-e0b7-490b-9e2e-a6db7714872d" />
      </body>
      <title>Installing SiteFinity on a Shared Host</title>
      <guid isPermaLink="false">http://www.programgood.net/PermaLink,guid,c38dd544-e0b7-490b-9e2e-a6db7714872d.aspx</guid>
      <link>http://www.programgood.net/2010/04/29/InstallingSiteFinityOnASharedHost.aspx</link>
      <pubDate>Thu, 29 Apr 2010 23:18:49 GMT</pubDate>
      <description>&lt;p&gt;
I’m using a Windows2008 shared server there.
&lt;/p&gt;
&lt;p&gt;
When I go
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://cmstest.mateerit.co.nz/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25&amp;amp;action=saved" href="http://cmstest.mateerit.co.nz/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25&amp;amp;action=saved"&gt;http://cmstest.mateerit.co.nz/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25&amp;amp;action=saved&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
2010-04-25 02:28:11 W3SVC3267 WINPLESK8 119.47.118.16 GET /Rejected-By-UrlScan ~/sitefinity/admin/pages.aspx?select=6bfb28b5-8858-40e0-b41c-c4de7377dc25
80 - 118.90.119.91 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.2.3)+Gecko/20100401+Firefox/3.6.3
.ASPNET=1AFB9766977A21A55E7B9BAF3F27FCCD8DAF9A049A7845DD4405823A6777D6E80FE4233EF6C403BEAAEA4E0E981AAD087B225606D56470A932DD82D59DDDD76DD0AF4C5BCB1A3ACCAD31BB26B8541EB84B1602F1834AC23A72327049A436D1C2;+ASP.NET_SessionId=mbucdi45fpa5ee55bddc5qy0;+.ASPXROLES=ipJFW4T_cJvPAYLQ5ZPJt3W3ZvEDmRcZaR65fdIMjQk4lclLmuzIb0-8SdEZtVinSUlefJlWwobKC3KhexUfFinsek_a-SavHnIQ2LZneONdBBZFDAxeSURWQiBvbIDY1WVktLDKeaYMpC5q1i36pGdXFoWZRAe_jSDPSPDqvCVLPma-BCUAq5dYtyFnHdgIYhKIg39XxHJvRao8sseVFm5DJLi0GSSGoEp4vgMh5EeK1KmgR0-pXiYTB5j4Rcap18QBjA2d8Bexcwr_Iugw41jm-ph9SCspbunO0ws1X6IC9ejiCCB5AydiKsKsYYQhcnLcXIOzFSspfOOYmm3RF1v6TnVv9xytzJzn14NP5Dh-h_wRYnWXbpM_hyfDTiVBEEvu1yFC6HMMD-PQ2BH_FzJ0SmWxKIoikslK6EG41KrFfwrcaRWyBDxkWoddsgVF0
http://cmstest.mateerit.co.nz/sitefinity/admin/Pages.aspx cmstest.mateerit.co.nz 404
0 2 1218 1231 468
&lt;/p&gt;
&lt;p&gt;
So it looks like a Rejected-By-UrlScan issue
&lt;/p&gt;
&lt;p&gt;
URLScan is configured to reject certain requests. URLScan.ini
&lt;/p&gt;
&lt;p&gt;
Another email to my providers openhost.co.nz who turned off URLScan for me.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.programgood.net/aggbug.ashx?id=c38dd544-e0b7-490b-9e2e-a6db7714872d" /&gt;</description>
      <comments>http://www.programgood.net/CommentView,guid,c38dd544-e0b7-490b-9e2e-a6db7714872d.aspx</comments>
      <category>SiteFinity</category>
    </item>
  </channel>
</rss>