<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1533114200083833064</id><updated>2012-01-16T13:14:38.487-08:00</updated><category term='jQuery'/><category term='MVC'/><category term='nzpost api'/><category term='PureChat'/><category term='Umbraco NodeId'/><category term='nop commerce'/><category term='IIS'/><category term='ReportServer'/><category term='Web Hosting'/><category term='nopCommerce'/><category term='Host Names'/><category term='Gridview'/><category term='Yet Another Forum'/><category term='RDLC'/><category term='Validation'/><category term='VPS'/><category term='Umbraco Post-Build-Event User-Control'/><category term='softsyshosting'/><category term='User Control'/><category term='Facebook OHbaby Pregnancy'/><category term='dashCommerce'/><category term='Umbraco'/><category term='Addons for Umbraco'/><category term='ASP.net'/><category term='Bulk Import'/><category term='web.config'/><title type='text'>Skiltz on .NET</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-2351798008058992847</id><published>2011-10-06T16:00:00.000-07:00</published><updated>2012-01-16T13:12:38.873-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Facebook OHbaby Pregnancy'/><title type='text'>My First Facebook Application</title><content type='html'>Recently I have been exploring the Facebook Graph and API and was asked to create a &lt;a href="http://apps.facebook.com/pregnancyweekbyweek/"&gt;Week By Week Pregnancy&lt;/a&gt; application for OHbaby!.  &lt;br /&gt;&lt;br /&gt;It basically does the following&lt;br /&gt;- You enter your babies date of birth (&lt;a href="http://www.ohbaby.co.nz/pregnancy/due-date-calculator"&gt;Due date calculator&lt;/a&gt;) found here.&lt;br /&gt;- OHbaby! sends you a week by week account of what your baby is up to.&lt;br /&gt;&lt;br /&gt;We are using Quartz.net to schedule the job which seems to be working pretty well so far (When we get 1000's of user we'll see how it goes)&lt;br /&gt;&lt;br /&gt;So far I am pretty happy with how its going.  Posting messages to Facebook seem to be working pretty well thanks to the &lt;a href="http://facebooksdk.codeplex.com/"&gt;Facebook C# SDK&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Check out the application at &lt;a href="http://apps.facebook.com/pregnancyweekbyweek/"&gt;http://apps.facebook.com/pregnancyweekbyweek/&lt;/a&gt; to see the flow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-2351798008058992847?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/2351798008058992847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=2351798008058992847' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2351798008058992847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2351798008058992847'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2011/10/my-first-facebook-application.html' title='My First Facebook Application'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-1769887650532986532</id><published>2011-09-11T19:15:00.001-07:00</published><updated>2011-09-11T19:15:06.777-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='Validation'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Jquery Validate Form Submit Before Opening Popup Window</title><content type='html'>&lt;p&gt;Sometimes you want to open a form submit in a new window.&amp;nbsp; Think facebook extended permissions popup window.&amp;nbsp; To achieve this you would do something like the following. &lt;br&gt;&lt;br&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).ready(function () {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($('#myform').valid()) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.open('', 'formpopup', 'width=800,height=600,resizeable,scrollbars');&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.target = 'formpopup';&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &lt;br&gt;&amp;lt;/script&amp;gt;&lt;/p&gt; &lt;p&gt;However you wouldn’t want to open the popup window unless the form being submitted in valid. &lt;p&gt;If you are using jquery.validate then its pretty easy to update the above javascript to this:&lt;br&gt; &lt;p&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(document).ready(function () {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#myform').submit(function () {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($('#myform').valid()) {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.open('', 'formpopup', 'width=800,height=600,resizeable,scrollbars');&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.target = 'formpopup';&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &lt;br&gt;&amp;lt;/script&amp;gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Hope this helps someone.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-1769887650532986532?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/1769887650532986532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=1769887650532986532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1769887650532986532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1769887650532986532'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2011/09/jquery-validate-form-submit-before.html' title='Jquery Validate Form Submit Before Opening Popup Window'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6022841011891353715</id><published>2011-09-08T03:31:00.000-07:00</published><updated>2011-09-08T03:31:45.230-07:00</updated><title type='text'>Go All Blacks | OHbaby! New Zealand</title><content type='html'>Here is a Mosaic I put together for OHbaby! in support of the Allblacks in the upcoming Rugby World Cup 2011.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ohbaby.co.nz/community/mosaics/go-all-blacks"&gt;Go All Blacks | OHbaby! New Zealand&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6022841011891353715?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6022841011891353715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6022841011891353715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6022841011891353715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6022841011891353715'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2011/09/go-all-blacks-ohbaby-new-zealand.html' title='Go All Blacks | OHbaby! New Zealand'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-4858130683008772909</id><published>2010-04-08T18:38:00.000-07:00</published><updated>2010-04-08T18:49:44.672-07:00</updated><title type='text'>Only allow approved members to Login + Umbraco</title><content type='html'>This is how I go about not allowing Umbraco members to login whn they haven't been approved.&lt;br /&gt;&lt;br /&gt;In my MemberType I have a True/False datatype called Active.&lt;br /&gt;&lt;br /&gt;On my MemberLogin user control page my asp.net member login control looks like&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&amp;lt;asp:Login ID=&lt;span class="str"&gt;"lgMember"&lt;/span&gt; &lt;strong&gt;OnLoggingIn=&lt;span class="str"&gt;"Login1_LoggedIn"&lt;/span&gt;&lt;/strong&gt; CssClass=&lt;span class="str"&gt;"login"&lt;/span&gt; VisibleWhenLoggedIn=&lt;span class="str"&gt;"false"&lt;/span&gt; DestinationPageUrl=&lt;span class="str"&gt;"/Members.aspx"&lt;/span&gt;&lt;br /&gt; LabelStyle-VerticalAlign=&lt;span class="str"&gt;"middle"&lt;/span&gt; LabelStyle-CssClass=&lt;span class="str"&gt;"LoginLabel"&lt;/span&gt;  TextBoxStyle-Width=&lt;span class="str"&gt;"100px"&lt;/span&gt; UserNameLabelText=&lt;span class="str"&gt;"Login"&lt;/span&gt;&lt;br /&gt;PasswordLabelText=&lt;span class="str"&gt;"Password"&lt;/span&gt; TitleText=&lt;span class="str"&gt;""&lt;/span&gt; DisplayRememberMe=&lt;span class="str"&gt;"false"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;br /&gt;In the codebehind my Login1_LoggedIn &lt;span class="kwrd"&gt;event&lt;/span&gt; looks like.&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; Login1_LoggedIn(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;            &lt;span class="rem"&gt;//get member&lt;/span&gt;&lt;br /&gt;            Member m = Member.GetMemberByName(((Login)sender).UserName.ToString(), &lt;span class="kwrd"&gt;false&lt;/span&gt;).First();&lt;br /&gt;&lt;br /&gt;            &lt;span class="kwrd"&gt;if&lt;/span&gt; (m.getProperty(&lt;span class="str"&gt;"Active"&lt;/span&gt;).Value.ToString() != &lt;span class="str"&gt;"1"&lt;/span&gt;)&lt;br /&gt;            {&lt;br /&gt;                FormsAuthentication.SignOut();&lt;br /&gt;                HttpContext.Current.Response.Redirect(umbraco.library.NiceUrl(1091));&lt;br /&gt;            }&lt;br /&gt;                       &lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This will redirect the user to a page explaining their membership hasn't been enabled yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-4858130683008772909?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/4858130683008772909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=4858130683008772909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/4858130683008772909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/4858130683008772909'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2010/04/only-allow-approved-members-to-login.html' title='Only allow approved members to Login + Umbraco'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6166304071892328313</id><published>2010-04-02T18:35:00.001-07:00</published><updated>2010-04-02T18:35:29.754-07:00</updated><title type='text'>nopCommerce and Umbraco</title><content type='html'>&lt;p&gt;I have two major passions when it comes to .net open source projects and they are &lt;a href="http://umbraco.org"&gt;Umbraco&lt;/a&gt; and &lt;a href="http://nopcommerce.com/"&gt;nopCommerce&lt;/a&gt;.&amp;#160; What I am planning on doing is building a nopCommerce package for Umbraco.&amp;#160; There are plenty of good commerce packages already for Umbraco and I have nothing against these packages I just love nopCommerce and would like to be able to use it within the Umbraco framework.&amp;#160; I don’t think is going to be a quick task and will probably need to be spanned over many months.&amp;#160; I’m going to try and blog what I do so other .Net applications might be able to use some of the challenges I encounter and how they might go about resolving them.&amp;#160;&amp;#160; Please check back here regularly to check on my progress.&amp;#160; Will also try and get a package up into codeplex.&amp;#160; Wish me luck!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6166304071892328313?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6166304071892328313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6166304071892328313' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6166304071892328313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6166304071892328313'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2010/04/nopcommerce-and-umbraco.html' title='nopCommerce and Umbraco'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-622967320558192185</id><published>2010-03-12T22:50:00.000-08:00</published><updated>2010-03-12T22:55:41.782-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='softsyshosting'/><category scheme='http://www.blogger.com/atom/ns#' term='nopCommerce'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Hosting'/><category scheme='http://www.blogger.com/atom/ns#' term='nop commerce'/><title type='text'>Free nopcommerce installation</title><content type='html'>Are you looking for someone to install nopCommerce for you?  If you need nopcommerce hosting and join &lt;a href="http://members.softsyshosting.com/aff.php?aff=110"&gt;Softsys Hosting&lt;/a&gt; then please flick me an email and I'll install if free for you.  Softsyshosting is a fantasic hosting company and is a perfect fit for nopCommerce.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-622967320558192185?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/622967320558192185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=622967320558192185' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/622967320558192185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/622967320558192185'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2010/03/free-nopcommerce-installation.html' title='Free nopcommerce installation'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-3214948279682640564</id><published>2010-03-08T01:14:00.000-08:00</published><updated>2010-03-08T01:17:43.845-08:00</updated><title type='text'>skiltz.FontPickerDataType</title><content type='html'>&lt;object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,28;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1275" height="893"&gt;&lt;param name="_cx" value="33734"&gt;&lt;param name="_cy" value="23627"&gt;&lt;param name="FlashVars" value=""&gt;&lt;param name="Movie" value="http://agentx.info/skiltzdropdownpicker.swf"&gt;&lt;param name="Src" value="http://agentx.info/skiltzdropdownpicker.swf"&gt;&lt;param name="WMode" value="Window"&gt;&lt;param name="Play" value="-1"&gt;&lt;param name="Loop" value="-1"&gt;&lt;param name="Quality" value="High"&gt;&lt;param name="SAlign" value=""&gt;&lt;param name="Menu" value="-1"&gt;&lt;param name="Base" value=""&gt;&lt;param name="AllowScriptAccess" value=""&gt;&lt;param name="Scale" value="ShowAll"&gt;&lt;param name="DeviceFont" value="0"&gt;&lt;param name="EmbedMovie" value="0"&gt;&lt;param name="BGColor" value="FFFFFF"&gt;&lt;param name="SWRemote" value=""&gt;&lt;param name="MovieData" value=""&gt;&lt;param name="SeamlessTabbing" value="1"&gt;&lt;param name="Profile" value="0"&gt;&lt;param name="ProfileAddress" value=""&gt;&lt;param name="ProfilePort" value="0"&gt;&lt;param name="AllowNetworking" value="all"&gt;&lt;param name="AllowFullScreen" value="true"&gt;&lt;br /&gt;  &lt;embed src="http://agentx.info/skiltzdropdownpicker.swf" allowfullscreen="true" quality="high" bgcolor="#FFFFFF" width="1275" height="893" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-3214948279682640564?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/3214948279682640564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=3214948279682640564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3214948279682640564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3214948279682640564'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2010/03/skiltzfontpickerdatatype.html' title='skiltz.FontPickerDataType'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-205317005014568430</id><published>2009-11-10T12:57:00.000-08:00</published><updated>2009-11-10T13:07:38.134-08:00</updated><title type='text'>Umbraco Hosting</title><content type='html'>Almost every other day I get asked where should I host my Umbraco Site? Or I've just joined XXX hosting company and Umbraco doesn't work. &lt;br /&gt;&lt;br /&gt;There are loads of guides and tutorials on the net about how to get Umbraco working on your host, normally these guides have common traits such as make sure you have the correct permissions set and check the hosting runs their websites in Full Trust. &lt;br /&gt;&lt;br /&gt;If you want to skip all that hassle then I highly recommend &lt;a href="http://members.softsyshosting.com/aff.php?aff=110"&gt;softsyshosting&lt;/a&gt; I currently host over 10 Umbraco sites with them and their support system has always been awesome (along with their prices). &lt;br /&gt;&lt;br /&gt;In New Zealand (where I am from) I highly recommend Net24 (for speed and reliability), I also run a few Umbraco sites here&lt;a href="http://www.net24.co.nz"&gt;&lt;/a&gt; and again there service and systems are pretty good (as long as you don't need weekend support). Net24 runs Plesk so you'll need to search Google for "Plesk and Umbraco installation" and you shouldn't have any issues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-205317005014568430?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/205317005014568430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=205317005014568430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/205317005014568430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/205317005014568430'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/11/umbraco-hosting.html' title='Umbraco Hosting'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-1864471717201750477</id><published>2009-10-23T01:38:00.000-07:00</published><updated>2011-07-26T14:09:19.872-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nzpost api'/><title type='text'>skiltz.nzPost</title><content type='html'>Attached is example of what is to come when the nzpost api is realeased for calculating freight costs. &lt;br /&gt;&lt;br /&gt;This is a c# .NET solution so you will need to have visual studio 2008 to run it.&lt;br /&gt;&lt;br /&gt;Download from &lt;a href="http://agentx.info/skiltz.nzpost.zip"&gt;http://agentx.info/skiltz.nzpost.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Any questions let me know.&lt;br /&gt;&lt;br /&gt;c# Example using the nzpost api&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;     skiltz.nzpost.Package Package = &lt;span class="kwrd"&gt;new&lt;/span&gt; skiltz.nzpost.Package();&lt;br /&gt;                Package.height = 3;&lt;br /&gt;                Package.length = 3;&lt;br /&gt;                Package.thickness = 3;&lt;br /&gt;                Package.weight = 3;&lt;br /&gt;                Package.Qty = 1;&lt;br /&gt;&lt;br /&gt;                &lt;span class="rem"&gt;//Crete new request to NZPOST RateFinder url&lt;/span&gt;&lt;br /&gt;                skiltz.nzpost.Request Request = &lt;span class="kwrd"&gt;new&lt;/span&gt; skiltz.nzpost.Request(&lt;span class="str"&gt;"Wellington"&lt;/span&gt;, &lt;span class="str"&gt;"Auckland"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;                &lt;span class="rem"&gt;//Add our shipment package to the request. &lt;/span&gt;&lt;br /&gt;                &lt;span class="rem"&gt;//Can add as many as you like.&lt;/span&gt;&lt;br /&gt;                Request.PackageCollection.Add(Package);&lt;br /&gt;&lt;br /&gt;                &lt;span class="rem"&gt;//Get the response from NZPost&lt;/span&gt;&lt;br /&gt;                skiltz.nzpost.Response Response = &lt;span class="kwrd"&gt;new&lt;/span&gt; skiltz.nzpost.Response();&lt;br /&gt;                Response = Request.GetRate();&lt;br /&gt;&lt;br /&gt;                &lt;span class="rem"&gt;//TO:DO Error Handling.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                &lt;span class="rem"&gt;//we could loop through each package and spit out whatever we want&lt;/span&gt;&lt;br /&gt;                &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (skiltz.nzpost.Product p &lt;span class="kwrd"&gt;in&lt;/span&gt; Response.PackageCollection)&lt;br /&gt;                {&lt;br /&gt;                    &lt;span class="kwrd"&gt;decimal&lt;/span&gt; cost = &lt;span class="kwrd"&gt;default&lt;/span&gt;(&lt;span class="kwrd"&gt;decimal&lt;/span&gt;);&lt;br /&gt;                    cost = p.Cost;&lt;br /&gt;                }&lt;br /&gt;&lt;br /&gt;                gv1.DataSource = Response.PackageCollection;&lt;br /&gt;                gv1.DataBind();&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Result:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://agentx.info/result.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;vb.net Example&lt;br /&gt;&lt;br /&gt;    &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'Create new package for shipment&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;Dim&lt;/span&gt; Package &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; skiltz.nzpost.Package()&lt;br /&gt;        Package.height = txtHeight.Text&lt;br /&gt;        Package.length = txtLength.Text&lt;br /&gt;        Package.thickness = txtThickness.Text&lt;br /&gt;        Package.weight = txtWeight.Text&lt;br /&gt;        Package.Qty = 1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'Crete new request to NZPOST RateFinder url&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;Dim&lt;/span&gt; Request &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; skiltz.nzpost.Request(txtSrc.Text, txtDestination.Text)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'Add our shipment package to the request. &lt;/span&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'Can add as many as you like.&lt;/span&gt;&lt;br /&gt;        Request.PackageCollection.Add(Package)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'Get the response from NZPost&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;Dim&lt;/span&gt; Response &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; skiltz.nzpost.Response()&lt;br /&gt;        Response = Request.GetRate()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'TO:DO Error Handling.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="rem"&gt;'we could loop through each package and spit out whatever we want&lt;/span&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;For&lt;/span&gt; &lt;span class="kwrd"&gt;Each&lt;/span&gt; p &lt;span class="kwrd"&gt;As&lt;/span&gt; skiltz.nzpost.Product &lt;span class="kwrd"&gt;In&lt;/span&gt; Response.PackageCollection&lt;br /&gt;            &lt;span class="kwrd"&gt;Dim&lt;/span&gt; cost &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Decimal&lt;/span&gt;&lt;br /&gt;            cost = p.Cost&lt;br /&gt;        Next&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If you're looking to implement the nzpost api into your application today and need a developer to make it work please send me an email.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-1864471717201750477?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/1864471717201750477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=1864471717201750477' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1864471717201750477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1864471717201750477'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/10/skiltznzpost.html' title='skiltz.nzPost'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-9096603473231565523</id><published>2009-10-23T01:36:00.000-07:00</published><updated>2009-10-23T01:37:40.682-07:00</updated><title type='text'>skiltz.DateTimePicker</title><content type='html'>This projects wraps Martin Milesich's (http://milesich.com/timepicker/) date time picker an extention to jquery ui components into an Umbraco Datatype.&lt;br /&gt;&lt;br /&gt;Both of these controls are licensed under the MIT and GPL licenses.&lt;br /&gt;&lt;br /&gt;Installing this package will Install the following items:&lt;br /&gt;&lt;br /&gt;-  Files insalled/umbraco_client/skiltz.DateTimePicker directory&lt;br /&gt;- .dll file installed to your bin directory called skiltz.DateTimePicker.&lt;br /&gt;- Two datatypes called skiltz.DatePicker and skiltz.DateTimePicker&lt;br /&gt;&lt;br /&gt;The datatype has 6 properties which can be set.&lt;br /&gt;&lt;br /&gt; showTime | true/false &lt;br /&gt; constrainInput | true/false allow user to input text into textbox&lt;br /&gt; stepMinutes | int 1 to 60&lt;br /&gt; stepHours | int 1 to 24&lt;br /&gt; time24h | true/false&lt;br /&gt; dateFormat  | dd/mm/yy (javascript format) &lt;br /&gt;&lt;br /&gt;Furthur information about these properties should be looked up at Martin's blog as mentioed above.&lt;br /&gt;&lt;br /&gt;-Known bugs:&lt;br /&gt;Having two of these datatypes on one page with showTime property set to true caused the time dialog box not to show.  This is because the script tags are being rendered to the Master page multiple times.&lt;br /&gt;&lt;br /&gt;Any questions feel free to ask.&lt;br /&gt;&lt;br /&gt;Download from: &lt;a href="http://our.umbraco.org/projects/skiltzdatetimepicker"&gt;http://our.umbraco.org/projects/skiltzdatetimepicker&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-9096603473231565523?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/9096603473231565523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=9096603473231565523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/9096603473231565523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/9096603473231565523'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/10/skiltzdatetimepicker.html' title='skiltz.DateTimePicker'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-383030493959707271</id><published>2009-09-09T20:20:00.000-07:00</published><updated>2009-09-09T20:27:50.435-07:00</updated><title type='text'>Import data into nopCommerce</title><content type='html'>&lt;strong&gt;skiltz.nopImport &lt;/strong&gt; &lt;br /&gt;Current Version - Alpha 0.1 *****NOT for Production Systems******&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;What does skiltz.nopImport do?&lt;/strong&gt;&lt;br /&gt;skiltz.nopImport will import data from a data source into the nopCommerce database.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What assumptions are made?&lt;/strong&gt;- Each product has 1 product variant and zero attributes.&lt;br /&gt;- Only products with SKU's that don't exist in nopCommerce will be imported.&lt;br /&gt;- That you have a ProductTypeID that = 1&lt;br /&gt;- That you have a TemplateID that  = 4&lt;br /&gt;- That your product images are stored in the database(nop Default) not on the file system.&lt;br /&gt;- That you can remotely connect to your nopCommerce database.&lt;br /&gt;- That your product images are on the file system.&lt;br /&gt;- .net 3.5 framework is installed on PC&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What data sources can I Import from?&lt;/strong&gt;&lt;br /&gt;Currently you can import from Excel or Microsoft Sql Server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Where can I get help?&lt;/strong&gt;&lt;br /&gt;Please post all bugs on the nopCommerce forums or email mskilton@gmail.com&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Install guide.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Where can I download the installation from?&lt;/strong&gt;&lt;br /&gt;It can be downloaded from http://skiltzonnet.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Double click on the install file and follow the prompts.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;To open the program go to "Program Files"/skiltz/skiltz.nopimport&lt;br /&gt;&lt;br /&gt;Steps to complete a import.&lt;br /&gt;&lt;strong&gt;Step 1: &lt;/strong&gt;&lt;br /&gt; Right Mouse Click on NopSqlConnection and click "Update Connection String"&lt;br /&gt;• Type in your server name i.e /home/sqlexpress&lt;br /&gt;• Choose if using Windows Authentication or username and password&lt;br /&gt;• Type in your database name&lt;br /&gt;• Click test connection&lt;br /&gt;• If successful then click ok&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;br /&gt; Right Mouse Click on Database (under External Data Sources) and click "Add Connection"&lt;br /&gt;• Click "change" on right and choose your data source type (Excel or Sql Server)&lt;br /&gt;• Type in your server name i.e /home/sqlexpress&lt;br /&gt;• Choose if using Windows Authentication or username and password&lt;br /&gt;• Type in your database name&lt;br /&gt;• Click test connection&lt;br /&gt;• If successful then click ok&lt;br /&gt;• Type name of connection&lt;br /&gt;• Click Save&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 3: &lt;/strong&gt;&lt;br /&gt; Right mouse click on the connection you made and click "Database Mapping"&lt;br /&gt;• Choose the table you want to import from&lt;br /&gt;• Choose the column that contains your SKU code.&lt;br /&gt;• Match your columns with the columns in nop using the dropdown boxes.&lt;br /&gt;• click save to save you database mapping.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; &lt;br /&gt; Right mouse click on the connection you made and click "Analyze data" this should some  details about the file you are importing and information about nopCommerce.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step 5: &lt;/strong&gt;&lt;br /&gt; Right mouse click on the connection you made and click "Import New Products".  This should  import products.  Go to your website and see if it worked.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;File can be downloaded from &lt;br /&gt;&lt;a href="http://www.agentx.info/setup.msi"&gt;http://www.agentx.info/setup.msi&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-383030493959707271?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/383030493959707271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=383030493959707271' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/383030493959707271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/383030493959707271'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/09/import-data-into-nopcommerce.html' title='Import data into nopCommerce'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7179129441328368524</id><published>2009-07-05T14:53:00.000-07:00</published><updated>2009-07-05T14:57:15.661-07:00</updated><title type='text'>Change ValidationGroup on Wizard Buttons</title><content type='html'>To change the validation group programatically on the Wizard Control button you can loop through find all buttons and assign the validation group property.  See below.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; AssignValidationGroup(Control ctrl)&lt;br /&gt;        {&lt;br /&gt;            &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (Control c &lt;span class="kwrd"&gt;in&lt;/span&gt; ctrl.Controls)&lt;br /&gt;            {&lt;br /&gt;                &lt;span class="kwrd"&gt;string&lt;/span&gt; i = c.GetType().ToString();&lt;br /&gt;                &lt;span class="kwrd"&gt;if&lt;/span&gt; (c.GetType().ToString() == &lt;span class="str"&gt;"System.Web.UI.WebControls.Button"&lt;/span&gt;)&lt;br /&gt;                {&lt;br /&gt;                    ((Button)c).ValidationGroup = &lt;span class="str"&gt;"osMemberControlsValidate"&lt;/span&gt;;&lt;br /&gt;                }&lt;br /&gt;                &lt;span class="kwrd"&gt;if&lt;/span&gt; (c.Controls.Count &amp;gt; 0)&lt;br /&gt;                {&lt;br /&gt;                    &lt;span class="kwrd"&gt;foreach&lt;/span&gt; (Control cc &lt;span class="kwrd"&gt;in&lt;/span&gt; c.Controls)&lt;br /&gt;                    {&lt;br /&gt;                        AssignValidationGroup(cc);&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        }&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7179129441328368524?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7179129441328368524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7179129441328368524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7179129441328368524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7179129441328368524'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/07/change-validationgroup-on-wizard.html' title='Change ValidationGroup on Wizard Buttons'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8917173560403774401</id><published>2009-06-30T21:28:00.000-07:00</published><updated>2009-06-30T21:37:13.275-07:00</updated><title type='text'>Umbraco Member CanEdit == False?</title><content type='html'>How do you deal with this situation?  In the members section of Umbraco there is a property called MemberCanEdit which then allows in theory a member to edit or not edit the property.&lt;br /&gt;&lt;br /&gt;Each property renders a System.Web.UI.Control from the IDataEdtior interface.  With System.Web.UI.Control there is no property which can disable the control as opposed to the System.Web.UI.WebControls.WebControl which you are normally use to which has  the enabled property.&lt;br /&gt;&lt;br /&gt;For controls which are infact webcontrols you can cast the control to a System.Web.UI.WebControl.WebControl control and you will then get the benefit of an enabled property.  Not sure what do to do if this fails...Show a label instead?&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;                        &lt;span class="kwrd"&gt;if&lt;/span&gt; (mt.MemberCanEdit(pt))&lt;br /&gt;                        {&lt;br /&gt;                            _dataFields.Add(dt);&lt;br /&gt;                        }&lt;br /&gt;                        &lt;span class="kwrd"&gt;else&lt;/span&gt;&lt;br /&gt;                        {&lt;br /&gt;                            &lt;span class="kwrd"&gt;try&lt;/span&gt;&lt;br /&gt;                            {&lt;br /&gt;                                ((System.Web.UI.WebControls.WebControl)dt.DataEditor.Editor).Enabled = &lt;span class="kwrd"&gt;false&lt;/span&gt;;&lt;br /&gt;                            }&lt;br /&gt;                            &lt;span class="kwrd"&gt;catch&lt;/span&gt;&lt;br /&gt;                            {&lt;br /&gt;&lt;br /&gt;                            }&lt;br /&gt;                        }&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8917173560403774401?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8917173560403774401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8917173560403774401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8917173560403774401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8917173560403774401'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/umbraco-member-canedit-false.html' title='Umbraco Member CanEdit == False?'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6941698280054443905</id><published>2009-06-29T20:26:00.000-07:00</published><updated>2009-06-29T20:42:41.278-07:00</updated><title type='text'>Member Action Handlers</title><content type='html'>Sometimes you need do stuff with members once you've created, delete, changed something.  The code below adds two new action handlers 1 when a member is created and one when a members is saved.  In version 4 of Umbraco create a new class project and do something like so:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt; &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; MemberAction : ApplicationBase&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;    {&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; MemberAction() {&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;        Member.New += &lt;span class="kwrd"&gt;new&lt;/span&gt; Member.NewEventHandler(Member_BeforeSave);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;        Member.AfterSave += &lt;span class="kwrd"&gt;new&lt;/span&gt; Member.SaveEventHandler(Member_Save);&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;        &lt;span class="kwrd"&gt;void&lt;/span&gt; Member_BeforeSave(Member sender, NewEventArgs e)&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;        {&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;            &lt;span class="rem"&gt;//do something here&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;        &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;        &lt;span class="kwrd"&gt;void&lt;/span&gt; Member_Save(Member sender, SaveEventArgs e)&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;         {&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;            &lt;span class="rem"&gt;//do something here&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;           &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;            &lt;span class="rem"&gt;//get new member details&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;             Member m = Member.GetMemberFromEmail(sender.Email);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;         }&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;        &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;    }&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6941698280054443905?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6941698280054443905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6941698280054443905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6941698280054443905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6941698280054443905'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/member-action-handlers.html' title='Member Action Handlers'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8393508595719508205</id><published>2009-06-23T22:05:00.000-07:00</published><updated>2009-06-23T22:11:16.935-07:00</updated><title type='text'>Gravatar Package for Umbraco</title><content type='html'>To learn more about Gravatar please visit http://en.gravatar.com/.&lt;br /&gt;&lt;br /&gt;This is a very simple asp.net C# user control which will spit out a gravatar image.  All gravatar options are included in this package.&lt;br /&gt;&lt;br /&gt;You can choose to use a default image if no email is fond (silhouette, blank image etc) or use a generated one from Gravatar (identicon, monsterid, wavatar)&lt;br /&gt;&lt;br /&gt;Happy to fix any issues you encounter or download the source and alter.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Matthew&lt;br /&gt;&lt;br /&gt;&lt;a href="http://agentx.info/umbraco/Gravatar4Umbraco.zip"&gt;DOWNLOAD SOURCE&lt;/a&gt;  &lt;a href="http://agentx.info/umbraco/Gravatar4Umbraco_1.2.zip"&gt;DOWNLOAD PACKAGE&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8393508595719508205?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8393508595719508205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8393508595719508205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8393508595719508205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8393508595719508205'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/gravatar-package-for-umbraco.html' title='Gravatar Package for Umbraco'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-4704923694353088992</id><published>2009-06-22T14:48:00.000-07:00</published><updated>2009-06-24T13:41:04.855-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco Post-Build-Event User-Control'/><title type='text'>Umbraco Tip #3</title><content type='html'>&lt;b&gt;Save time by using post build events&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Whenever I am building Umbraco user controls there is a of development time and one way to save some time is to use Visual Studio post build events, this saves time by not having to manually copy over the .dll and ascx files from from user control solution to your umbraco solution.&lt;br /&gt;&lt;br /&gt;To Add post build events right mouse click on your project &gt; properties &gt; build events.  Click on the Edit- Post-build event button.&lt;br /&gt;&lt;br /&gt;Here are what my post build events look like. Remeber if your path inludes spaces you will need to surround you copy statments with ""&lt;br /&gt;&lt;br /&gt;copy "$(TargetPath)" "E:\Projects\Test Projects\ApplicationForm\bin"&lt;br /&gt;copy "$(SolutionDir)\ApplicationFormUserControls\*.ascx" "$(SolutionDir)\UserControls\ApplicationFormControls\"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-4704923694353088992?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/4704923694353088992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=4704923694353088992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/4704923694353088992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/4704923694353088992'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/umbraco-tip-3.html' title='Umbraco Tip #3'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7409482458964895225</id><published>2009-06-22T14:44:00.000-07:00</published><updated>2009-06-23T15:55:51.562-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco'/><title type='text'>Umbraco Tip #2</title><content type='html'>How to redirect to a nodeid.&lt;br /&gt;&lt;br /&gt;Response.Redirect(umbraco.library.NiceUrl(&lt;nodeid&gt;));&lt;br /&gt;&lt;br /&gt;Example: - Redirect to the same page currently on.&lt;br /&gt;&lt;br /&gt;Response.Redirect(umbraco.library.NiceUrl( umbraco.presentation.nodeFactory.Node.GetCurrent().Id));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7409482458964895225?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7409482458964895225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7409482458964895225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7409482458964895225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7409482458964895225'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/umbraco-tip-2.html' title='Umbraco Tip #2'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8970011866640052294</id><published>2009-06-22T14:41:00.000-07:00</published><updated>2009-06-22T14:44:30.145-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco NodeId'/><title type='text'>Umbraco Tip #1</title><content type='html'>Over the next few weeks I'll be posting a daily tips about the Umbraco library and how to use them in your code behind when building Umbraco user controls.  This tips are targeted towards beginners of Umbraco user controls.&lt;br /&gt;&lt;br /&gt;Tip #1&lt;br /&gt;&lt;br /&gt;How to get the current nodeid from code behind?&lt;br /&gt;&lt;br /&gt;umbraco.presentation.nodeFactory.Node.GetCurrent().Id&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8970011866640052294?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8970011866640052294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8970011866640052294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8970011866640052294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8970011866640052294'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/umbraco-tip-1.html' title='Umbraco Tip #1'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8518578548692631661</id><published>2009-06-14T14:22:00.000-07:00</published><updated>2009-06-14T14:36:41.877-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nopCommerce'/><category scheme='http://www.blogger.com/atom/ns#' term='dashCommerce'/><category scheme='http://www.blogger.com/atom/ns#' term='nop commerce'/><title type='text'>nopCommerce vs dashCommerce?</title><content type='html'>Anyone have any thoughts? I have been a big fan of dashCommerce in the past and I have many websites still running dashCommerce with a lot of success, however recently I've become less favourable towards dashCommerce and I'm not exactly sure why. When dashCommerce use to be the CommerceStarterKit there use to be a huge community/help each other out feel to the software and to the community. However dashComemrce now doesn't seem quite this way and with the introduction of having to pay for certain provider I would suggest this has gone a long to making the software seem less from open source. I've just started a new e-commerce store (still in development) and I had a search around for other open source asp.net shopping carts. I stumbled upon nopCommerce (how did I not know about this before!) and all I can say is WOW so far, the architecture seems very similar to dashCommerce there are plenty of free providers and most importantly there seems to be a great feel to the nopCommerce community. I look forward to working with this software and will let you know how it goes. If you have some thoughts on dashCommerce or nopCommerce then I would love to hear them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8518578548692631661?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8518578548692631661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8518578548692631661' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8518578548692631661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8518578548692631661'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/06/nopcommerce-vs-dashcommerce.html' title='nopCommerce vs dashCommerce?'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-495880486077143343</id><published>2009-05-03T03:59:00.000-07:00</published><updated>2009-05-03T04:02:37.153-07:00</updated><title type='text'>Agentx.co.nz</title><content type='html'>Finding your next real estate agent in New Zealand just got a whole lot easier with a website I've been working on.  Its built using an early version of MVC.  To view the website please vist &lt;a href="http://www.agentx.co.nz"&gt;www.agentx.co.nz.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-495880486077143343?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/495880486077143343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=495880486077143343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/495880486077143343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/495880486077143343'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/05/agentxconz.html' title='Agentx.co.nz'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6703787188001047083</id><published>2009-03-25T01:28:00.000-07:00</published><updated>2009-04-20T13:55:31.333-07:00</updated><title type='text'>MVC Live Application Take 2</title><content type='html'>I've just released my second asp.net mvc application based on mvc 1.0!&lt;br /&gt;&lt;br /&gt;Feel free to check it out at &lt;a href="http://www.soccer.co.nz"&gt;http://www.soccer.co.nz&lt;/a&gt;, feel free to check it out and let me know your thoughts.&lt;br /&gt;&lt;br /&gt;UPDATE: SOCCER.CO.NZ has been sold. &lt;br /&gt;&lt;br /&gt;If you want to see the website please visit &lt;a href="http://soccer.co.nz.serv6.temphostspace.com"&gt;http://soccer.co.nz.serv6.temphostspace.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6703787188001047083?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6703787188001047083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6703787188001047083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6703787188001047083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6703787188001047083'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/03/mvc-live-application-take-2.html' title='MVC Live Application Take 2'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6867835418104442027</id><published>2009-03-12T18:11:00.000-07:00</published><updated>2009-03-12T18:34:08.354-07:00</updated><title type='text'>Create a MVC Helper to Display a Microsoft Chart Control</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_sMZAvxWhtQ0/Sbm3EHxoQmI/AAAAAAAAADQ/-vwd15q1Vzs/s1600-h/chart-helper.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 243px;" src="http://4.bp.blogspot.com/_sMZAvxWhtQ0/Sbm3EHxoQmI/AAAAAAAAADQ/-vwd15q1Vzs/s400/chart-helper.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5312478516894777954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Add a reference to C:\Program Files\Microsoft Chart Controls\Assemblies\System.Web.DataVisualization.dll and C:\Program Files\Microsoft Chart Controls\Assemblies\System.Web.DataVisualization.Design.dll &lt;br /&gt;&lt;br /&gt;---Helper Class -- &lt;br /&gt;&lt;br /&gt;2. using System.Web.UI.DataVisualization.Charting;&lt;br /&gt;&lt;br /&gt;3. Add static method.&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt; &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; Chart(&lt;span class="kwrd"&gt;this&lt;/span&gt; HtmlHelper helper, &lt;span class="kwrd"&gt;string&lt;/span&gt; polltitle, List&amp;lt;&lt;span class="kwrd"&gt;int&lt;/span&gt;&amp;gt; values, List&amp;lt;&lt;span class="kwrd"&gt;string&lt;/span&gt;&amp;gt; labels, &lt;span class="kwrd"&gt;int&lt;/span&gt; width, &lt;span class="kwrd"&gt;int&lt;/span&gt; height, SeriesChartType ChartType, System.Web.UI.Page page)&lt;br /&gt;        {&lt;br /&gt;            System.Web.UI.DataVisualization.Charting.Chart Chart1 = &lt;span class="kwrd"&gt;new&lt;/span&gt; System.Web.UI.DataVisualization.Charting.Chart();&lt;br /&gt;            Chart1 = &lt;span class="kwrd"&gt;new&lt;/span&gt; System.Web.UI.DataVisualization.Charting.Chart();&lt;br /&gt;            Chart1.Width = width;&lt;br /&gt;            Chart1.Height = height;&lt;br /&gt;            Chart1.RenderType = RenderType.ImageTag;&lt;br /&gt;            &lt;span class="rem"&gt;// Populate series data&lt;/span&gt;&lt;br /&gt;            Chart1.Series.Add(&lt;span class="str"&gt;"Default"&lt;/span&gt;);&lt;br /&gt;            Chart1.ChartAreas.Add(&lt;span class="str"&gt;"ChartArea1"&lt;/span&gt;);&lt;br /&gt;            Chart1.Series[&lt;span class="str"&gt;"Default"&lt;/span&gt;].Points.DataBindXY(labels, values);&lt;br /&gt;&lt;br /&gt;            &lt;span class="rem"&gt;// Set Doughnut chart type&lt;/span&gt;&lt;br /&gt;            Chart1.Series[&lt;span class="str"&gt;"Default"&lt;/span&gt;].ChartType = ChartType;&lt;br /&gt;&lt;br /&gt;            &lt;span class="rem"&gt;// Set labels style&lt;/span&gt;&lt;br /&gt;            Chart1.Series[&lt;span class="str"&gt;"Default"&lt;/span&gt;][&lt;span class="str"&gt;"PieLabelStyle"&lt;/span&gt;] = &lt;span class="str"&gt;"outside"&lt;/span&gt;;&lt;br /&gt;                                       &lt;br /&gt;            Chart1.Titles.Add(polltitle);&lt;br /&gt;            &lt;span class="rem"&gt;// Enable 3D&lt;/span&gt;&lt;br /&gt;            Chart1.ChartAreas[&lt;span class="str"&gt;"ChartArea1"&lt;/span&gt;].Area3DStyle.Enable3D = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;            &lt;span class="rem"&gt;// Disable the Legend&lt;/span&gt;&lt;br /&gt;            &lt;span class="rem"&gt;//Chart1.Legends[0].Enabled = false;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            &lt;span class="rem"&gt;// Render chart control&lt;/span&gt;&lt;br /&gt;            Chart1.Page = page;&lt;br /&gt;            HtmlTextWriter writer = &lt;span class="kwrd"&gt;new&lt;/span&gt; HtmlTextWriter(page.Response.Output);&lt;br /&gt;           Chart1.RenderControl(writer);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;4.  In your view page.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt; &amp;lt;%Html.Chart(ViewData[&lt;span class="str"&gt;"charttitle"&lt;/span&gt;].ToString(), (List&amp;lt;&lt;span class="kwrd"&gt;int&lt;/span&gt;&amp;gt;)ViewData[&lt;span class="str"&gt;"chartvalues"&lt;/span&gt;], (List&amp;lt;&lt;span class="kwrd"&gt;string&lt;/span&gt;&amp;gt;)ViewData[&lt;span class="str"&gt;"chartlabels"&lt;/span&gt;], 400, 400, SeriesChartType.Pie, &lt;span class="kwrd"&gt;this&lt;/span&gt;); %&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Obvisouly you could go nuts in your helper method and have all kind of different options like enable 3d, show title, color etc etc.&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6867835418104442027?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6867835418104442027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6867835418104442027' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6867835418104442027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6867835418104442027'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/03/create-mvc-helper-to-display-microsoft.html' title='Create a MVC Helper to Display a Microsoft Chart Control'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_sMZAvxWhtQ0/Sbm3EHxoQmI/AAAAAAAAADQ/-vwd15q1Vzs/s72-c/chart-helper.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-3776956733698321969</id><published>2009-03-10T12:43:00.000-07:00</published><updated>2009-03-10T17:58:50.427-07:00</updated><title type='text'>It's Official I'm addicted to MVC Html Helpers</title><content type='html'>If you've been using MVC recently and haven't been using your own HTML helpers then I suggest you do!&lt;br /&gt;&lt;br /&gt;I started off using HTML helpers very sparingly probably because I didn't understand them enough, however onced I'd started just "doing it" the more and more HTML Helpers I seem to create, they are easy to develop and makes your HTML view pages so much nicer and cleaner.&lt;br /&gt;&lt;br /&gt;On my latest project I've gone absolutely nuts I have so many helpers its not funny (you can never have enough can you?).  I've cut some of my HTML pages from a few hundred lines down to about 50 and because my website is so "modula" in design it makes it easy to plug in modules to different pages. &lt;br /&gt;&lt;br /&gt;For example we have crap loads of google adsense on the site, we need to have different adsense for different pages so they fit within the allocated space etc.  So at the moment we are storing all the adsense code in the database and then just using helpers to pull out the one we need.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_sMZAvxWhtQ0/SbcJIHl5RRI/AAAAAAAAAC4/5LJDHPQhDvk/s1600-h/mvc-helper-adsense.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 53px;" src="http://3.bp.blogspot.com/_sMZAvxWhtQ0/SbcJIHl5RRI/AAAAAAAAAC4/5LJDHPQhDvk/s320/mvc-helper-adsense.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5311724320588383506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And our MVC helper is:&lt;br /&gt;&lt;br /&gt;   public static string GoogleAdsense(this HtmlHelper helper, int AdsenseID)&lt;br /&gt;        {&lt;br /&gt;            SoccerDataContext s = new SoccerDataContext();&lt;br /&gt;            return s.tbl_settings_adsenses.Single(t =&gt; t.tbl_settings_adsense_id ==  AdsenseID).Description;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;Probably my favourite helper at the moment is the "header" helper, basically every item on out website sites in a box with a colour header see below of example page with 4 headers.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_sMZAvxWhtQ0/SbcL52fQN0I/AAAAAAAAADI/rwZ44DaWXp8/s1600-h/headers.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 159px;" src="http://1.bp.blogspot.com/_sMZAvxWhtQ0/SbcL52fQN0I/AAAAAAAAADI/rwZ44DaWXp8/s320/headers.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5311727374013839170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My helpers then look like this, which I can change the colour with ease, saves have to copy and paste html code form one page to another.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%=Html.StartHeader(&lt;span class="str"&gt;"Sponsored Links"&lt;/span&gt;, &lt;span class="str"&gt;"green"&lt;/span&gt;, &lt;span class="str"&gt;""&lt;/span&gt;) %&amp;gt;&lt;br /&gt;    &amp;lt;%=Html.GoogleAdsense(0) %&amp;gt;&lt;br /&gt;&amp;lt;%=Html.EndHeader() %&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;What are some of your favourite html helpers you have produced?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-3776956733698321969?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/3776956733698321969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=3776956733698321969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3776956733698321969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3776956733698321969'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/03/its-official-im-addicted-to-mvc-html.html' title='It&apos;s Official I&apos;m addicted to MVC Html Helpers'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_sMZAvxWhtQ0/SbcJIHl5RRI/AAAAAAAAAC4/5LJDHPQhDvk/s72-c/mvc-helper-adsense.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-2278581115543345845</id><published>2009-02-22T19:23:00.000-08:00</published><updated>2009-02-23T12:30:36.738-08:00</updated><title type='text'>My First Live Production MVC Application</title><content type='html'>I've finally completed (not that a website is ever completed) my first MVC web application using the recently released RC1 ASP.NET MVC project from Microsoft.&lt;br /&gt;&lt;br /&gt;If you want to check it out please visit &lt;a href="http://www.erealestate.co.nz"&gt;www.erealestate.co.nz&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;I absolutely enjoyed the experience, if you look at some of the search URLs you'll notice every page is now is search engine friendly, while this is nothing new it was extremely easy to setup with little fuss.&lt;br /&gt;&lt;br /&gt;Having full control over the markup of the html pages was also a nice change, I got learn a lot more about javascript and jquery which previously was very lacking my skills.&lt;br /&gt;&lt;br /&gt;I hope there will be a lot more MVC project down the track for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-2278581115543345845?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/2278581115543345845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=2278581115543345845' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2278581115543345845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2278581115543345845'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/02/my-first-product-mvc-application.html' title='My First Live Production MVC Application'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7317653328295954919</id><published>2009-02-22T19:19:00.000-08:00</published><updated>2009-10-03T11:41:45.037-07:00</updated><title type='text'>Web Service Generator for Databases</title><content type='html'>Want to generate web services quickly without having to write code?&lt;br /&gt;&lt;br /&gt;Download at the following address.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://agentx.info/webservicegeneratorsetup.msi"&gt;http://agentx.info/webservicegeneratorsetup.msi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Generating web services can sometimes be sometiems be tedious.  I built this little program so I could build web services quickly and easily.&lt;br /&gt;&lt;br /&gt;I use the web service to produce graphs using Xcelsius.&lt;br /&gt;&lt;br /&gt;Any comments suggestions bugs relating to this software please flick me an email.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Matthew&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7317653328295954919?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7317653328295954919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7317653328295954919' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7317653328295954919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7317653328295954919'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2009/02/web-service-generator-for-databases.html' title='Web Service Generator for Databases'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-507272643466445382</id><published>2008-12-05T12:44:00.000-08:00</published><updated>2008-12-05T12:55:55.977-08:00</updated><title type='text'>Telerik RadUpload + IIS 7.0</title><content type='html'>If you've tried upgrading from iis6 to iis7 using an old version of Telerik's upload progress control you've probably experienced an internal server 500 error message.&lt;br /&gt;&lt;br /&gt;I contacted Telerik to ask what could be done or how to adjust the web.config accordingly, however they replied &lt;span style="font-style:italic;"&gt;"The “classic” RadProgressArea does not work in IIS7. Please upgrade to RadUpload for ASP.NET AJAX."&lt;/span&gt; Great!&lt;br /&gt;&lt;br /&gt;However its actually really simple to get it to work. See below.&lt;br /&gt;&lt;br /&gt;Leave&lt;br /&gt;&lt;br /&gt; &amp;lt;httpModules&amp;gt;&lt;br /&gt;      &amp;lt;add name=&lt;span class="str"&gt;"RadUploadModule"&lt;/span&gt; type=&lt;span class="str"&gt;"Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"&lt;/span&gt; /&amp;gt;&lt;br /&gt;    &amp;lt;/httpModules&amp;gt;&lt;br /&gt;    &amp;lt;httpHandlers&amp;gt;&lt;br /&gt;      &amp;lt;add verb=&lt;span class="str"&gt;"*"&lt;/span&gt; path=&lt;span class="str"&gt;"Telerik.RadUploadProgressHandler.aspx"&lt;/span&gt; type=&lt;span class="str"&gt;"Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2"&lt;/span&gt;&amp;gt;&amp;lt;/add&amp;gt;&lt;br /&gt;    &amp;lt;/httpHandlers&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add the following to the Sytem.WebServer element &lt;br /&gt;&lt;br /&gt;&amp;lt;modules&amp;gt;&lt;br /&gt;&amp;lt;add name=&lt;span class="str"&gt;"RadUploadModule"&lt;/span&gt; type=&lt;span class="str"&gt;"Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2"&lt;/span&gt; /&amp;gt;&lt;br /&gt;&amp;lt;/modules&amp;gt;&lt;br /&gt;&amp;lt;handlers&amp;gt;&lt;br /&gt;&amp;lt;add name=&lt;span class="str"&gt;"TelerikRadProgress"&lt;/span&gt; preCondition=&lt;span class="str"&gt;"integratedMode"&lt;/span&gt;  path=&lt;span class="str"&gt;"Telerik.RadUploadProgressHandler.aspx"&lt;/span&gt; verb=&lt;span class="str"&gt;"*"&lt;/span&gt;     type=&lt;span class="str"&gt;"Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2"&lt;/span&gt; /&amp;gt;    &lt;br /&gt;&amp;lt;/handlers&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;validation validateIntegratedModeConfiguration=&lt;span class="str"&gt;"false"&lt;/span&gt; /&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-507272643466445382?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/507272643466445382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=507272643466445382' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/507272643466445382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/507272643466445382'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/12/telerik-radupload-iis-70.html' title='Telerik RadUpload + IIS 7.0'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6083793045490803909</id><published>2008-12-01T11:41:00.000-08:00</published><updated>2008-12-01T11:48:32.678-08:00</updated><title type='text'>New Zealand Google StreetView Launched!</title><content type='html'>Google has after much anticipation launched Google streetview in New Zealand.  Lucky for me my front driveway actually looks mown! Who said I spend too much time on my computer :).  &lt;br /&gt;&lt;br /&gt;My general gist is its looks like the Australian streetview (surprise surprise), zooming in produces imagery which is very low resoltuion which kinda sucks but then you'd have the hassle of preying eyes into peoples windows.&lt;br /&gt;&lt;br /&gt;I've also seen a few peoples faces which i presume will be blurred out in the coming weeks.&lt;br /&gt;&lt;br /&gt;All in all lets thank Google for bring streeview to New Zealand, its certainly going to be another useful tool for searching real estate in New Zealand.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6083793045490803909?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6083793045490803909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6083793045490803909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6083793045490803909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6083793045490803909'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/12/new-zealand-google-streetview-launched.html' title='New Zealand Google StreetView Launched!'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-5373817990661436703</id><published>2008-10-15T17:56:00.000-07:00</published><updated>2008-10-15T18:31:45.347-07:00</updated><title type='text'>USPS Shipping Provider for dashCommerce</title><content type='html'>Download the install files from &lt;a href="http://www.trading.co.nz/media/13033/usps shipping provider.zip"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;===================================&lt;br /&gt;What is the USPS Shipping Provider?&lt;br /&gt;===================================&lt;br /&gt;The USPS Shipping Provider for dashCommerce allows for real time calculation of shipping rates when a user checks out their order. The provider uses the Domestic Rates API (V3). Details of the API can be found &lt;a href="http://www.usps.com/webtools/htm/RateCalculatorsv20.htm"&gt;here&lt;/a&gt;. Currently only domestic (US -&gt; US) calculations are possible, international coming soon.&lt;br /&gt;&lt;br /&gt;=============================&lt;br /&gt;How Do I Install The Provider&lt;br /&gt;=============================&lt;br /&gt;In the Zip file you have downloaded there are three files (SKILTZ.DLL, USPSsetup.aspx and uspsconfiguration.ascx).&lt;br /&gt;&lt;br /&gt;Copy these files to their appropriate location as specified in structure of the zip files.&lt;br /&gt;&lt;br /&gt;Browse to http://yoursite.com/admin/USPSSetup.aspx and press the install button.&lt;br /&gt;&lt;br /&gt;****NO existing pages on dashCommerce are modified so the install should be safe use with any pre-existing pages you have modified*********************&lt;br /&gt;&lt;br /&gt;===============================&lt;br /&gt;How do I configure the Provider&lt;br /&gt;===============================&lt;br /&gt;By going to "Manage Shipping Providers" is dashCommerce you can setup the provider, you will need to obtain a API from USPS, you can get this from &lt;a href="https://secure.shippingapis.com/registration/"&gt;here&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;*****Please note the USPS testing server is not configured to allow testing of the Rate V3 API. I requested access to production environment and advised I only needed access to this API and there more than happy to give me access to the production environment (can't say the same for some other postal companies they won't even give me access to their testing system without a valid customerID).&lt;br /&gt;&lt;br /&gt;==============================&lt;br /&gt;What if I have problems?&lt;br /&gt;==============================&lt;br /&gt;Please email mskiltonATgmail.com I'm more than happy to help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==============================&lt;br /&gt;Got anything else cool?&lt;br /&gt;==============================&lt;br /&gt;You can also use the USPS shipping provider to allow for flat rate shipping. There are 3 flat rate configuration options.&lt;br /&gt;&lt;br /&gt;- Flat Rate Per Order&lt;br /&gt;- Flat Rate Per Unique Item&lt;br /&gt;- Flat Rate Per Item.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-5373817990661436703?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/5373817990661436703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=5373817990661436703' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/5373817990661436703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/5373817990661436703'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/10/usps-shipping-provider-for-dashcommerce.html' title='USPS Shipping Provider for dashCommerce'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-2834164205091004822</id><published>2008-10-08T19:32:00.000-07:00</published><updated>2008-10-09T17:24:16.794-07:00</updated><title type='text'>Zero Payment Provider for dashCommerce</title><content type='html'>Below are some instructions on how to add a ZeroPaymentProvider to your exsisting dashCommerce installaton. This is still in very early stages and I need some people to test it, recommend changes etc. It currently only works with PayPalStandard but will be added to PayPal Express after some people have provided feedback.&lt;br /&gt;&lt;br /&gt;I suggest making all these changes in a TESTING environment first, maybe sure a backup is taken before making any changes.&lt;br /&gt;&lt;br /&gt;SNEAK PEAK.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_sMZAvxWhtQ0/SO6gm9aR0YI/AAAAAAAAABk/pIrtEg-YzIg/s1600-h/PaymentMethod.PNG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_sMZAvxWhtQ0/SO6gm9aR0YI/AAAAAAAAABk/pIrtEg-YzIg/s320/PaymentMethod.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5255314406368203138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Copy ZeroPaymenyProvider.cs to &gt; store &gt; services &gt; Payment Service&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This class does basically nothing other than allows to hold a description which we will use after this initial release.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Overwrite checkout.aspx.cs, paypalcheckout.aspx, paypalcheckout.aspx.cs and paypalcheck.aspx.designer.cs&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;With any luck hopefully you haven't made any previous changes to these files. checkout.aspx.cs basically is just adding another line of code and all 3 PayPalChekout file have been extensively modified to allow for the new accordion pane.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. Copy the 3 ZeroPaymentConfiguration files to Web &gt; Admin &gt; Controls &gt; Configuration &gt; Payment Providers&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.Add these resources to Labels.resx&lt;/strong&gt; or if made no previsous modification just copy the one over in the zip file&lt;br /&gt;&lt;br /&gt;hlZeroPaymentHelp - This will be a description that is displayed to the customer.&lt;br /&gt;lblZeroPayment - Description for Customer: &lt;br /&gt;lblZeroPaymentDescriptionTitle -  Zero Payment &lt;br /&gt;pnlZeroPaymentConfiguration - Zero Payment Conifguration &lt;br /&gt;rfvZeroPayment - This field is required. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5. Overwrite Store/ Enumerations.cs with one in zip file.  Adds 1 more enumeration&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6. Add a single entry to database &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;INSERT INTO dashCommerce_Store_OrderStatusDescriptor&lt;br /&gt;                      (OrderStatusId, Name, CreatedBy, ModifiedBy)&lt;br /&gt;VALUES     (700,'Pay On Pickup','SYSTEM','SYSTEM')&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7. Build Project and Deploy/Publish Website.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8. Login to admin control panel&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Go to Configuration &gt; Payment Providers &gt; Manage Payment Providers&lt;br /&gt;&lt;br /&gt;Fill in fields:&lt;br /&gt; Name: ZeroPaymentProvider&lt;br /&gt; Description: Whatever you want&lt;br /&gt; Configuration Control Path: ~/admin/controls/configuration/paymentproviders/zeropaymentconfiguration.ascx&lt;br /&gt;&lt;br /&gt;Go to Configuration &gt; Payment Providers &gt; Configure Payment Providers&lt;br /&gt;&lt;br /&gt;Fill in the appropaite fields.  If you only configure 1 provider then the accordion pane "Payment Method" will not be showne when making an order. Therefore if you want to see the accordion pane then make sure you configure both the Zero Payment Provider and the PayPal Standard Provider.&lt;br /&gt;&lt;br /&gt;We will need to do something about the names but this just fixed after some testing and feedback has been completed.&lt;br /&gt;&lt;br /&gt;The files you need can be downloaded from:&lt;br /&gt;http://www.trading.co.nz/media/482/zeropaymentprovider.zip&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Matthew&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-2834164205091004822?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/2834164205091004822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=2834164205091004822' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2834164205091004822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2834164205091004822'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/10/zero-payment-provider-for-dashcommerce.html' title='Zero Payment Provider for dashCommerce'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_sMZAvxWhtQ0/SO6gm9aR0YI/AAAAAAAAABk/pIrtEg-YzIg/s72-c/PaymentMethod.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-2577058576750341470</id><published>2008-09-30T00:15:00.000-07:00</published><updated>2008-09-30T00:32:34.962-07:00</updated><title type='text'>Paymate Payment Provider for Dash Commerce</title><content type='html'>Paymate (&lt;a href="http://www.paymate.com"&gt;http://www.paymate.com&lt;/a&gt;) is a popular payment gateway in New Zealand and Australia and therefore have create a Payment Provider for Dash Commerce (&lt;a href="http://www.dashcommerce.org"&gt;http://www.dashcommerce.org&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Paymate is very similar to Pay Pay Express i.e uses HTTP Post to make payments and there for a lot of the code is based off the Pay Pal Standard Payment Provider in some situations we have just added to the file already in Dash Commerce in order to not duplication content.  For example the checkout page uses the PayPalCheckOut.aspx page.&lt;br /&gt;&lt;br /&gt;You can obviously switch backwards and forwards to which ever payment provider you wish to use, we have not altered the PayPal Standard provider in way in which it will now not work.&lt;br /&gt;&lt;br /&gt;Below are some installation instructions, you will also find these then installation zip folder.  You will require Visual Studio in order to complete installation.&lt;br /&gt;&lt;br /&gt;================================&lt;br /&gt;INSTALL INSTRUCTIONS&lt;br /&gt;================================&lt;br /&gt;&lt;br /&gt;1. Copy the 3 files in the paymatestandardconfiguration folder to Web\admin\controls\configuration\paymentproviders and include them in your project&lt;br /&gt;&lt;br /&gt;2. Copy the 3 files in the PaymateHandler directory to web\paypal&lt;br /&gt;&lt;br /&gt;3. Add a reference in your Web project to PayMateStandardPaymentProvider.dll&lt;br /&gt;&lt;br /&gt;4. Add the following resource strings in Labels.resx in the Localization project&lt;br /&gt;&lt;br /&gt; pnlPayMateStandardConfiguration&lt;br /&gt; lblPayMateStandardDescriptionTitle&lt;br /&gt; lblUserID&lt;br /&gt; hluserid&lt;br /&gt;&lt;br /&gt;5.  Change checkout.aspx.cs - Line 124&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FROM:&lt;br /&gt; if(paymentService.PaymentServiceSettings.DefaultProvider == "PayPalStandardPaymentProvider") {&lt;br /&gt;        Response.Redirect("~/paypalcheckout.aspx", true);&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;TO:&lt;br /&gt;&lt;br /&gt;  if (paymentService.PaymentServiceSettings.DefaultProvider == "PayPalStandardPaymentProvider" || paymentService.PaymentServiceSettings.DefaultProvider == "PayMateProvider")&lt;br /&gt;      {&lt;br /&gt;        Response.Redirect("~/paypalcheckout.aspx", true);&lt;br /&gt;      }&lt;br /&gt;&lt;br /&gt;6. Change the following in paypalcheckout.aspx.cs - &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;add this at the top of page line 90 or so.&lt;br /&gt;using MettleSystems.dashCommerce.Store.Services.PaymentService;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;line 423 and 424 change the following&lt;br /&gt;&lt;br /&gt;FROM:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;string returnUrl = Utility.GetSiteRoot() + "/paypal/pdthandler.aspx";&lt;br /&gt;string cancelUrl = Utility.GetSiteRoot() + "/paypalcheckout.aspx";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TO:&lt;br /&gt;&lt;br /&gt;        string returnUrl = "";&lt;br /&gt;        string cancelUrl = "";&lt;br /&gt;&lt;br /&gt;        PaymentService paymentService = new PaymentService();&lt;br /&gt;        if (paymentService.PaymentServiceSettings.DefaultProvider == "PayPalStandardPaymentProvider" )&lt;br /&gt;        {&lt;br /&gt;            returnUrl = Utility.GetSiteRoot() + "/paypal/pdthandler.aspx";&lt;br /&gt;            cancelUrl = Utility.GetSiteRoot() + "/paypalcheckout.aspx";&lt;br /&gt;        }&lt;br /&gt;        else if (paymentService.PaymentServiceSettings.DefaultProvider == "PayMateProvider")&lt;br /&gt;        {&lt;br /&gt;            returnUrl = Utility.GetSiteRoot() + "/paypal/paymateHandler.aspx";&lt;br /&gt;        }&lt;br /&gt; &lt;br /&gt;7. Build Project&lt;br /&gt;&lt;br /&gt;8. Login to the control panel and go to manage payment providers &lt;br /&gt;   -add new provider with the following details &lt;br /&gt;&lt;br /&gt; -name: PaymateStandardProvider&lt;br /&gt; -description: A description&lt;br /&gt; -Configuration Control Path: ~/admin/controls/configuration/paymentproviders/PaymateStandardConfiguration.ascx &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. Goto configure Payment provider  and fill in the appropriate text boxes.&lt;br /&gt;tick live to use live Url untick to use sandBox url.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. TEST!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.trading.co.nz/media/447/paymateprovider.zip"&gt;Install Files&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-2577058576750341470?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/2577058576750341470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=2577058576750341470' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2577058576750341470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2577058576750341470'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/09/paymate-payment-provider-for-dash.html' title='Paymate Payment Provider for Dash Commerce'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-3054863988832431809</id><published>2008-06-22T14:42:00.001-07:00</published><updated>2008-06-26T13:50:29.797-07:00</updated><title type='text'>My First Facebook Application</title><content type='html'>Today I published my first facebook application using the asp.net &lt;a href="http://www.codeplex.com/FacebookToolkit"&gt;Facebook Developer Toolkit&lt;/a&gt;.  You can check out my application &lt;a href="http://www.friendsonearth.com"&gt;here&lt;/a&gt;.  Basically the application plots all of your friends on a &lt;a href="http://code.google.com/apis/maps/"&gt;google map&lt;/a&gt;, either using their homelocation or current location which is pulled from your friends facebook profile.  Have a look and let me know any improvments that could be made.  I'm now off to look for a  new facebook application idea.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-3054863988832431809?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/3054863988832431809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=3054863988832431809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3054863988832431809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3054863988832431809'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/06/my-first-facebook-application.html' title='My First Facebook Application'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-1883141638209483876</id><published>2008-06-12T20:57:00.001-07:00</published><updated>2009-10-03T11:43:04.654-07:00</updated><title type='text'>Web Service Code Generator + Help Needed!</title><content type='html'>Wanting to return datasets or datatables from webservice to Crystal Xcelsius??  I have the solution.&lt;br /&gt;&lt;br /&gt;I am currently looking for some people to test my Web Service code generator, if anyone has a spare 15 minutes you can download it from &lt;a href="http://agentx.info/webservicegeneratorsetup.msi"&gt;http://agentx.info/webservicegeneratorsetup.msi&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;btw I built trading.co.nz in about 30 minutes with Umbraco, including adding a contact form and dynamically generating the top navigation bar.  Man I love Umbraco!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;UPDATE - DOWNLOAD SETUP FILE FROM&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://agentx.info/webservicegeneratorsetup.msi"&gt;http://agentx.info/webservicegeneratorsetup.msi&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-1883141638209483876?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/1883141638209483876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=1883141638209483876' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1883141638209483876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1883141638209483876'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/06/web-service-code-generator-help-needed.html' title='Web Service Code Generator + Help Needed!'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7064447077252324787</id><published>2008-04-27T21:47:00.001-07:00</published><updated>2008-04-28T18:02:06.527-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Hosting'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='VPS'/><title type='text'>Moving from Shared Hosting to a VPS Solutions</title><content type='html'>I've finally taken and plunge and moved away from a shared hosting environment to a VPS solution. To be honest I've been thinking about doing this for about the last 4 - 5 months and was really concerned that I didn't have a the skills to a) get the server running and b) keeping it running. &lt;br /&gt;&lt;br /&gt;To give you some background on my situation I'm a web developer by trade and was basically paying about $100 a month to run all my 15 websites, I wanted to cut costs and have more control, I was sick of emailing my web hosting company asking for changes to my site, also .net web hosting in New Zealand is very expensive. By going to a VPS I had no choice but to move it to an overseas server, I think there were 2 .net vps solutions in New Zealand when I went looking and the specs went something like so $70 for 384mb ram and 3gb of ram. Obviously running a few website on these specs was going to be very limited. One good thing about hosting in New Zealand, obviously websites load faster and support help desks and generally fantastic, I use to have all my websites with &lt;a href="http://www.webdrive.co.nz"&gt;Web Drive&lt;/a&gt; and they were really awesome.&lt;br /&gt;&lt;br /&gt;So taking all these things into account I finally found a company i wanted to list with, basically they has 1gb ram 10gb for $50US a month which I thought was pretty damn good, I proceeded through the checkout and the next day the VPS was up and running. &lt;br /&gt;&lt;br /&gt;I now had to start planning moving all my sites (something I wasn't looking forward to, other than it was a good learning experience), first couple of things I did on the server (windows 2003 sp2) was run any upgrades that Microsoft suggested to be installed on a web server, then needed to install the .net 2.0 framework and the 3.5 run time.&lt;br /&gt;&lt;br /&gt;One thing that got me really confused to begin with was to install my own DNS or not, I'm still pretty ignorant on this fact, i decided it was too hard and fortunately the registrar where all my domains are registered allows DNS control so one thing less to worry about, I did NOT install active directory even though I also thought I needed it, however it turned out I didn't either. I also installed Microsoft SQL Server Express, I know this is probably pretty bad practice, but my websites don't get huge amount of traffic and so I thought this should be fine, I didn't want to pay for a SQL Server database as well if it wasn't really needed, if I need this later then so be it but at the moment it should be fine.&lt;br /&gt;&lt;br /&gt;The only thing really to think about was email (i thought I would have to install active directory to handle multiple domains), i spent hours and hours playing around withe SMTP server built into IIS and the pop3 service, basically it was just to hard or actually now looking back on it, its not that hard it just doesn't have anywhere near the functionality that I needed. I didn't know what to do with email, at one point in time I considered buying a second linux vps with cpanel to handle the email but again another expense I didn't want to have. Eventually i discovered &lt;a href="http://www.hmailserver.com/"&gt;hMailServer&lt;/a&gt; I had no idea this open source windows based email server even existed, its absolutely fab I suggest you install it and have a play, read as much as you can and follow instructions, I now have it on my VPS running about 10 different domain emails, it can check for viruses, spam, can forward email, can SMTP into it, just awesome! So that was email taken care of.&lt;br /&gt;&lt;br /&gt;Right so I started with &lt;a href="http://www.erealestate.co.nz"&gt;www.erealestate.co.nz&lt;/a&gt; and this is pretty much how it went.&lt;br /&gt;&lt;br /&gt;-FTP files from existing host to new host (installed filezilla server on VPS as well)&lt;br /&gt;-Backup existing database and restore on new VPS&lt;br /&gt;-Create new website in IIS6&lt;br /&gt;- Change website to 2.0&lt;br /&gt;- Add erealestate.co.nz and www.erealestate.co.nz to host headers&lt;br /&gt;-Create email accounts in hMailServer&lt;br /&gt;-Change a records and mx records at registrar to point to the IP address of my VPS&lt;br /&gt;-Cross Fingers&lt;br /&gt;&lt;br /&gt;This worked fine and repeated the process for my other domains. So far all is going well, VPS has been stable and i'm saving money, I guess the website aren't quite as fast as they use to be but that it to be expected as they now hosting outside New Zealand.&lt;br /&gt;&lt;br /&gt;One last thing I did was write a script that backuped my SQL database and my websites and FTPed them to me each night, they are then restored on my local PC. In terms of backup this is probably all I need right.&lt;br /&gt;&lt;br /&gt;If you are thinking about moving to VPS then it's really not as hard as you think, its great fun remote desktoping into your own server, installing programs, looking at logs, just remeber don't install to many program :) not like me! Good luck with you VPSing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7064447077252324787?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7064447077252324787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7064447077252324787' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7064447077252324787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7064447077252324787'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/04/moving-from-shared-hosting-to-vps.html' title='Moving from Shared Hosting to a VPS Solutions'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7083983225324980541</id><published>2008-04-20T13:47:00.000-07:00</published><updated>2008-04-21T14:46:25.138-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Host Names'/><category scheme='http://www.blogger.com/atom/ns#' term='Addons for Umbraco'/><title type='text'>Mutiple Websites + Umbraco</title><content type='html'>In this short tutorial we are going to learn how to run multiple websites on one instance of Umbraco, this is fantastic if you have common features that you want share between many sites.&lt;br /&gt;&lt;br /&gt;I've you followed my GST user control samples (&lt;a href="&lt;br /&gt;http://skiltzonnet.blogspot.com/2008/01/creating-you-first-umbraco-user-control.html"&gt;Part 1&lt;/a&gt; | &lt;a href="http://skiltzonnet.blogspot.com/2008/04/creating-your-first-umbraco-user.html"&gt;Part 2&lt;/a&gt;)&lt;br /&gt;then you will know I have an unusual obsession with GST and VAT calculators and this tutorial is not going to be any different.&lt;br /&gt;&lt;br /&gt;In my quest for value added tax calculator dominance i registered two domain names &lt;a href="http://www.GSTcalculator.info"&gt;GSTcalculator.info&lt;/a&gt; and &lt;a href="http://www.VATcalculator.info"&gt;VATcalculator.info&lt;/a&gt; (mainly cos they were only .99c) and what I plan to do is run the calculator we developed in the User Control sample on both websites but only running 1 instance of Umbraco. &lt;br /&gt;&lt;br /&gt;The first thing we needed to do was obviously point both domain names to our web server, I'll take it for granted you know how to do this.&lt;br /&gt;&lt;br /&gt;Next we can either add both websites to an existing IIS website or create a new one in this case I've created a new website in IIS called Umbraco, pointed the "home directory" to my Umbraco installation and added host header in IIS as per screen shot below.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp1.blogger.com/_sMZAvxWhtQ0/SAuy7gHe7jI/AAAAAAAAAA8/lEU7s6l6kl8/s1600-h/hostheaders.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_sMZAvxWhtQ0/SAuy7gHe7jI/AAAAAAAAAA8/lEU7s6l6kl8/s320/hostheaders.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5191439730777976370" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Because we are going to have a GST calculator(New Zealand) and a VAT Calculator (United Kingdom) we are going to want to have different regional settings eg $ instead of &amp;pound;.  For this reason we need to make sure we have two languages defined.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp1.blogger.com/_sMZAvxWhtQ0/SAu2zgHe7kI/AAAAAAAAABE/pgBhi-N-R5k/s1600-h/language.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_sMZAvxWhtQ0/SAu2zgHe7kI/AAAAAAAAABE/pgBhi-N-R5k/s320/language.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5191443991385534018" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next we'ved added two new content pages, you can call these whatever you want, if you going to be running many websites then obvisouly it makes sense to name these something you are going to remeber, probably the easiest thing thing to do is call them their domain name.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_sMZAvxWhtQ0/SAvA3AHe7lI/AAAAAAAAABM/kEVhuRtYIa4/s1600-h/content.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_sMZAvxWhtQ0/SAvA3AHe7lI/AAAAAAAAABM/kEVhuRtYIa4/s320/content.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5191455046631353938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now we need add new hostnames to each of the pages we've just created - right mouse click and select host names&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp1.blogger.com/_sMZAvxWhtQ0/SAvBNgHe7mI/AAAAAAAAABU/eB6ju64-IZQ/s1600-h/manage.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_sMZAvxWhtQ0/SAvBNgHe7mI/AAAAAAAAABU/eB6ju64-IZQ/s320/manage.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5191455433178410594" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enter the corresponding hostname make sure you add the www version as well.&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_sMZAvxWhtQ0/SAvBZwHe7nI/AAAAAAAAABc/ZSFyjN6vSg8/s1600-h/manage-hosts.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_sMZAvxWhtQ0/SAvBZwHe7nI/AAAAAAAAABc/ZSFyjN6vSg8/s320/manage-hosts.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5191455643631808114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We should all be set now - if you browse to each website you should see a different version (if you added some content to each page).&lt;br /&gt;&lt;br /&gt;While writing this tutorial once i added the host names, Umbraco was still showing me the default homepage of another website higher in the tree, I tounched the web.config so the application would restart and this fixed the issue.&lt;br /&gt;&lt;br /&gt;Hope you all enjoyed this tutorial!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7083983225324980541?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7083983225324980541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7083983225324980541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7083983225324980541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7083983225324980541'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/04/mutiple-websites-umbraco.html' title='Mutiple Websites + Umbraco'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_sMZAvxWhtQ0/SAuy7gHe7jI/AAAAAAAAAA8/lEU7s6l6kl8/s72-c/hostheaders.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6775483769804050176</id><published>2008-04-17T14:17:00.000-07:00</published><updated>2008-04-18T16:57:05.195-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='User Control'/><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco'/><title type='text'>Creating your first Umbraco User Control - PART 2</title><content type='html'>In the previous article of this series we learnt how to create a user control in visual studio, upload it to our Umbraco site and then how to display it on our site. &lt;br /&gt;&lt;br /&gt;In part 2 we are going to learn how to pass variables from Umbraco back to our User Control.&lt;br /&gt;&lt;br /&gt;If you followed &lt;a href="http://skiltzonnet.blogspot.com/2008/01/creating-you-first-umbraco-user-control.html"&gt;part one &lt;/a&gt;then great we are going to use the same source code and modify the bits we need to.  &lt;br /&gt;&lt;br /&gt;Because the New Zealand econonmy has turned to crap and the government is constantly changing the GST rate we'd like to update the GST rate in Umbraco and not in our source code.&lt;br /&gt;&lt;br /&gt;1. Open your Umbraco user control in Visual Studio.&lt;br /&gt;&lt;br /&gt;2. Last time we had some code like such&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;  &lt;span class="kwrd"&gt;double&lt;/span&gt; GST = 1.125;&lt;br /&gt;           &lt;span class="kwrd"&gt;double&lt;/span&gt; Result;&lt;br /&gt;           Result = &lt;span class="kwrd"&gt;double&lt;/span&gt;.Parse(txtAmount.Text) * GST;&lt;br /&gt;           lblResult.Text = Result.ToString(&lt;span class="str"&gt;"0.00"&lt;/span&gt;); &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This time want to replace this line  (double GST = 1.125;) with a dynamic value from Umbraco.&lt;br /&gt;&lt;br /&gt;We need create a variable to hold the GST amount eg&lt;br /&gt;private Double gstRate; &lt;br /&gt;&lt;br /&gt;3.  Next create a public property so we can access it from Umbraco and assign it to the variable we created above.  eg&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt; &lt;span class="kwrd"&gt;public&lt;/span&gt; Double _gstRate&lt;br /&gt;        {&lt;br /&gt;            get { &lt;span class="kwrd"&gt;return&lt;/span&gt; gstRate; }&lt;br /&gt;            set { gstRate = &lt;span class="kwrd"&gt;value&lt;/span&gt;; }&lt;br /&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;4.  Replace double GST = 1.125; with so:&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;  Double mutipler;&lt;br /&gt;        mutipler = gstRate / 100 + 1;&lt;br /&gt;        Double Result;&lt;br /&gt;        Result = &lt;span class="kwrd"&gt;double&lt;/span&gt;.Parse(txtAmount.Text) * mutipler;&lt;br /&gt;        lblResult.Text = Result.ToString(&lt;span class="str"&gt;"0.00"&lt;/span&gt;); &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;5. Build the soluion and upload to to your Umbraco Bin directory and move to the Umbraco control panel.&lt;br /&gt;&lt;br /&gt;6. Go to your developer --&gt; macros and select the Macro you created last time or if you want you can create a new macro.&lt;br /&gt;&lt;br /&gt;7. Select the "browse properties" button&lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbracofiles/click_properties.png" /&gt;&lt;br /&gt;&lt;br /&gt;8. The public properties in you usercontrol should be displayed in this page&lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbracofiles/choose-properties.png" /&gt;&lt;br /&gt;&lt;br /&gt;9. Click the parameter tab at the top of the screen and make sure the type selected is text.  &lt;br /&gt;&lt;br /&gt;10. Save your macro and return to the content page where you are going to place GST Calculator.&lt;br /&gt;&lt;br /&gt;11. Insert the macro and you should see the option to input your GST rate.&lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbracofiles/choose-rate.png" /&gt;&lt;br /&gt;&lt;br /&gt;12. Publish your page and you should be away laughing&lt;br /&gt;&lt;br /&gt;13.  To edit the rate you can either delete the macro within the page and reinsert it or view the HTML using the html button on the rich text editor and changing the rate manually in their.  &lt;br /&gt;&lt;br /&gt;Hope you enjoyed this little tutorial - please make any suggestions of tutortial you would like to see!  The GST calculator is running live my umbraco site  &lt;a href="http://www.kiwiwebdesign.co.nz/gst-calculator.aspx"&gt;here &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can download a copy of the Visual Studio 2005 version &lt;a href="http://www.kiwiwebdesign.co.nz/umbracofiles/UmbracoModulesV2.zip"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6775483769804050176?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6775483769804050176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6775483769804050176' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6775483769804050176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6775483769804050176'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/04/creating-your-first-umbraco-user.html' title='Creating your first Umbraco User Control - PART 2'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7964138701000631281</id><published>2008-03-31T19:09:00.000-07:00</published><updated>2008-10-14T13:32:31.570-07:00</updated><title type='text'>Gridview + Click anywhere on row to Edit + vb.net</title><content type='html'>If you want to be able to click anywhere on a gridview row and put it into edit mode then you can use this piece of code on the RowDataBound event:&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;e.Row.Attributes.Add(&lt;span class="str"&gt;"onclick"&lt;/span&gt;, Page.ClientScript.GetPostBackEventReference(&lt;span class="kwrd"&gt;DirectCast&lt;/span&gt;(sender, System.Web.UI.Control), &lt;span class="str"&gt;"Select$"&lt;/span&gt; + e.Row.RowIndex.ToString()))&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then on the RowCommand Event:&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;If&lt;/span&gt; e.CommandName = &lt;span class="str"&gt;"Select"&lt;/span&gt; &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;br /&gt;            GridView1.EditIndex = e.CommandArgument&lt;br /&gt;&lt;span class="kwrd"&gt;End&lt;/span&gt; If&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can download a sample Visual Studio 2005 solution &lt;a href="http://www.kiwiwebdesign.co.nz/umbracofiles/gridviewedit.zip"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Update&lt;br /&gt;---------------------------&lt;br /&gt;Getting this error message?&lt;br /&gt;&lt;br /&gt;Invalid postback or callback argument.  Event validation is enabled using &lt;pages enableEventValidation="true"/&gt; in configuration or &lt;%@ Page EnableEventValidation="true" %&gt; in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. &lt;br /&gt;&lt;br /&gt;If you don't want to set enable event validation to false then you can try the following:&lt;br /&gt;&lt;br /&gt;    Protected Overloads Overrides Sub Render(ByVal writer As HtmlTextWriter)&lt;br /&gt;        For i As Integer = 0 To Me.gv1.Rows.Count - 1&lt;br /&gt;            Page.ClientScript.RegisterForEventValidation(Me.gv1.UniqueID, "Select$" &amp; i)&lt;br /&gt;        Next&lt;br /&gt;        MyBase.Render(writer)&lt;br /&gt;    End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7964138701000631281?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7964138701000631281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7964138701000631281' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7964138701000631281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7964138701000631281'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/03/gridview-click-anywhere-on-row-to-edit.html' title='Gridview + Click anywhere on row to Edit + vb.net'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-1222345092720693435</id><published>2008-03-31T00:04:00.000-07:00</published><updated>2008-03-31T00:09:10.771-07:00</updated><title type='text'>Dynamically Adding Items Between ListView Items</title><content type='html'>On my new wedding website directory I wanted to add Google adsense between certain listings on each page.  This can be achieved in the following manner.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;    &lt;span class="kwrd"&gt;Protected&lt;/span&gt; &lt;span class="kwrd"&gt;Sub&lt;/span&gt; ListView1_ItemCreated(&lt;span class="kwrd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Object&lt;/span&gt;, &lt;span class="kwrd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwrd"&gt;As&lt;/span&gt; System.Web.UI.WebControls.ListViewItemEventArgs) &lt;span class="kwrd"&gt;Handles&lt;/span&gt; ListView1.ItemCreated&lt;br /&gt;        &lt;span class="kwrd"&gt;Dim&lt;/span&gt; lblGoogle &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; Literal&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;If&lt;/span&gt; e.Item.ID = &lt;span class="str"&gt;"ctrl2"&lt;/span&gt; &lt;span class="kwrd"&gt;Or&lt;/span&gt; e.Item.ID = &lt;span class="str"&gt;"ctrl5"&lt;/span&gt; &lt;span class="kwrd"&gt;Or&lt;/span&gt; e.Item.ID = &lt;span class="str"&gt;"ctrl7"&lt;/span&gt; &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;br /&gt;            lblGoogle.Text = &lt;span class="str"&gt;"&amp;lt;script type="&lt;/span&gt;&lt;span class="str"&gt;"text/javascript"&lt;/span&gt;&lt;span class="str"&gt;"&amp;gt;&amp;lt;!--"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"google_ad_client = "&lt;/span&gt;&lt;span class="str"&gt;"pub-6774188899700328"&lt;/span&gt;&lt;span class="str"&gt;";"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"//300x250, created 11/20/07"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"google_ad_slot = "&lt;/span&gt;&lt;span class="str"&gt;"6463796932"&lt;/span&gt;&lt;span class="str"&gt;";"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"google_ad_width = 728;"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"google_ad_height = 90;"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"//--&amp;gt;&amp;lt;/script&amp;gt;"&lt;/span&gt; &amp;amp; vbCrLf &amp;amp; &lt;span class="str"&gt;"&amp;lt;script type="&lt;/span&gt;&lt;span class="str"&gt;"text/javascript"&lt;/span&gt;&lt;span class="str"&gt;" src="&lt;/span&gt;&lt;span class="str"&gt;"http://pagead2.googlesyndication.com/pagead/show_ads.js"&lt;/span&gt;&lt;span class="str"&gt;"&amp;gt;&amp;lt;/script&amp;gt;"&lt;/span&gt;&lt;br /&gt;            e.Item.Controls.Add(lblGoogle)&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;&lt;br /&gt;    &lt;span class="kwrd"&gt;End&lt;/span&gt; Sub&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-1222345092720693435?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/1222345092720693435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=1222345092720693435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1222345092720693435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1222345092720693435'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/03/dynamically-adding-items-between.html' title='Dynamically Adding Items Between ListView Items'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-3742149315046565763</id><published>2008-03-17T20:50:00.000-07:00</published><updated>2008-03-17T20:53:33.919-07:00</updated><title type='text'>Umbraco turns to YetAnotherForum.NET</title><content type='html'>Today &lt;a href="http://www.umbraco.org"&gt;Umbraco&lt;/a&gt; "upgraded" its &lt;a href="http://forum.umbraco.org/"&gt;forum&lt;/a&gt; software to &lt;a href="http://www.yetanotherforum.net"&gt;Yetanotherforum.NET &lt;/a&gt;this is great for the Umbraco community and will hopefully help the community grow.  As you all know I have had a go at installing YAF into umbraco so this brings a happy smile to my face!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-3742149315046565763?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/3742149315046565763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=3742149315046565763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3742149315046565763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3742149315046565763'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/03/umbraco-turns-to-yetanotherforumnet.html' title='Umbraco turns to YetAnotherForum.NET'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8002114081489877951</id><published>2008-02-18T01:11:00.000-08:00</published><updated>2009-10-26T22:37:53.433-07:00</updated><title type='text'>Avaliable for ASP.net, VB.net, C#, SQL, Umbraco freelance work</title><content type='html'>If you after some web development and am looking for a freelancer please contact my self.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8002114081489877951?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8002114081489877951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8002114081489877951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8002114081489877951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8002114081489877951'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/02/avaliable-for-aspnet-vbnet-umbraco-work.html' title='Avaliable for ASP.net, VB.net, C#, SQL, Umbraco freelance work'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7853493119308814255</id><published>2008-02-07T12:58:00.000-08:00</published><updated>2008-02-07T13:10:16.379-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco'/><category scheme='http://www.blogger.com/atom/ns#' term='Addons for Umbraco'/><category scheme='http://www.blogger.com/atom/ns#' term='PureChat'/><title type='text'>Live Customer Helpdesk for Umbraco</title><content type='html'>This week AxoSoft released its chat client software PureChat, well what can I say this piece of sofware is awesome, took less than a few minutes to get up and running in a project and only about double that time in Umbraco.  PureChat is free for 1 operator and as an opening special $5 for 5 operators.&lt;br /&gt;&lt;br /&gt;To download PureChat go &lt;a href="http://www.axosoft.com/products/purechat.aspx"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installation into Umbraco.&lt;br /&gt;&lt;br /&gt;- Follow Purchat Instruction first and foremost&lt;br /&gt;- In web.config add  value "/PureChat/" to umbracoReservedPaths key&lt;br /&gt;- Move PureChatRequestControl.ascx to the Usercontrol Folder&lt;br /&gt;- I also moved the two image files into the PureChat directory so they were out of the way and keeps things nice and tidy, if you do this then you will need to change values in the PureChat config file.&lt;br /&gt;- Create Umbraco Macro for Chat Client and select UserControl (tick use in editor)&lt;br /&gt;- Add Macro to content page.&lt;br /&gt;&lt;br /&gt;Done logon to operator side eg http://localhost/purechat/operator/PureChatOperator.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7853493119308814255?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7853493119308814255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7853493119308814255' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7853493119308814255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7853493119308814255'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/02/live-customer-helpdesk-for-umbraco.html' title='Live Customer Helpdesk for Umbraco'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8025755330893729073</id><published>2008-02-06T16:37:00.000-08:00</published><updated>2008-02-09T18:03:58.897-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Yet Another Forum'/><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco'/><title type='text'>Integrating YetAnotherForum.net into Umbraco</title><content type='html'>&lt;strong&gt;Tools needed&lt;/strong&gt;&lt;br /&gt;- Installed Umbraco installation&lt;br /&gt;- Installed YetAnotherForum Application&lt;br /&gt;- Download this (&lt;a href="http://www.kiwiwebdesign.co.nz/umbracofiles/yaf.zip"&gt;yaf.dll&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to install YAF&lt;/strong&gt;&lt;br /&gt;- Download latest release version from www.yetanotherforum.net (Version 1.9.1.6 at time of writing)&lt;br /&gt;- Extract files into any directory&lt;br /&gt;- Rename default.config to web.config&lt;br /&gt;- Configure yafnet.config with connection to MSSQL database you want to use (tables use a yaf_ naming connection so should be any problems using Umbraco database, however I put it on a separate database)&lt;br /&gt;- Create an application through IIS pointing to the directory where YAF is located.&lt;br /&gt;- Run application and run through install.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Integrate YAF into existing Umbraco Installation&lt;/strong&gt;&lt;br /&gt;- Copy bits from web.config (YAF directory) to Web.config (Umbraco Installation)&lt;br /&gt;- Copy directories and files from yaf directory to umbraco directory (don’t need default.aspx)  as you can see this can get a bit messy&lt;br /&gt;- Copy yaf.dll downloaded before into Bin directory.&lt;br /&gt;- Create a new UserControl (forum.ascx)&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&amp;lt;%@ Control Language=&lt;span class="str"&gt;"C#"&lt;/span&gt; ClassName=&lt;span class="str"&gt;"WebUserControl1"&lt;/span&gt; %&amp;gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix=&lt;span class="str"&gt;"yaf"&lt;/span&gt; Namespace=&lt;span class="str"&gt;"yaf"&lt;/span&gt; Assembly=&lt;span class="str"&gt;"yaf"&lt;/span&gt; %&amp;gt;&lt;br /&gt;&amp;lt;%@ Register TagPrefix=&lt;span class="str"&gt;"yc"&lt;/span&gt; Namespace=&lt;span class="str"&gt;"yaf.controls"&lt;/span&gt; Assembly=&lt;span class="str"&gt;"yaf"&lt;/span&gt; %&amp;gt;&lt;br /&gt;&amp;lt;form id=&lt;span class="str"&gt;"Form1"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt; enctype=&lt;span class="str"&gt;"multipart/form-data"&lt;/span&gt;&amp;gt;&lt;br /&gt; &amp;lt;yaf:forum runat=&lt;span class="str"&gt;"server"&lt;/span&gt; id=&lt;span class="str"&gt;"forum"&lt;/span&gt; /&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt; &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;- Upload usercontrol to umbraco usercontrol directory&lt;br /&gt;- Create a new Umbraco macro and select the forum.ascx&lt;br /&gt;- Insert into Umbraco template.&lt;br /&gt;- Create a new page called Forum (if you don’t want to call the page Forum you need to download the 1.9.1 YAF source and change the file Classses\UrlBuilder.cs)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8025755330893729073?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8025755330893729073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8025755330893729073' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8025755330893729073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8025755330893729073'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/02/integrating-yetanotherforumnet-into.html' title='Integrating YetAnotherForum.net into Umbraco'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-1390879262986328291</id><published>2008-01-31T12:50:00.000-08:00</published><updated>2008-01-31T13:00:32.193-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='User Control'/><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco'/><title type='text'>Creating your first Umbraco User Control - PART 1</title><content type='html'>1. Start a new asp.net web application in Visual Studio. You can name in whatever you like, in this sample project I have called it UmbracoModules. When creating new modules for my umbraco installation I have in the past tended to create 1 project for all the new user controls, not a single instance for each new control.&lt;br /&gt;&lt;br /&gt;2. Create a new folder in the solution explorer that explains the name of the control.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp0.blogger.com/_sMZAvxWhtQ0/R6I1EIucCXI/AAAAAAAAAAk/C_6hQ6r3S94/s1600-h/uc1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_sMZAvxWhtQ0/R6I1EIucCXI/AAAAAAAAAAk/C_6hQ6r3S94/s320/uc1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5161746468098017650" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Add a new Web User Control to the folder you just created&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_sMZAvxWhtQ0/R6I1XoucCYI/AAAAAAAAAAs/8D1CQ3_Yue4/s1600-h/uc2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_sMZAvxWhtQ0/R6I1XoucCYI/AAAAAAAAAAs/8D1CQ3_Yue4/s320/uc2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5161746803105466754" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Design your .ascx file the same way you normally design a .aspx page, in this example we are going to take 1 input field and the calculate the GST amount, in New Zealand the GST amount is 12.5%&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;Amount &amp;lt;asp:TextBox ID=&lt;span class="str"&gt;"txtAmount"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt; /&amp;gt;&lt;br /&gt;&amp;lt;asp:Button ID=&lt;span class="str"&gt;"btnSubmit"&lt;/span&gt; Text=&lt;span class="str"&gt;"Submit"&lt;/span&gt;  runat=&lt;span class="str"&gt;"server"&lt;/span&gt; /&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;asp:Label ID=&lt;span class="str"&gt;"lblResult"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt; /&amp;gt;&lt;br /&gt;5.    Create a click &lt;span class="kwrd"&gt;event&lt;/span&gt; &lt;span class="kwrd"&gt;for&lt;/span&gt; the Submit button&lt;br /&gt;    &lt;span class="kwrd"&gt;protected&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; btnSubmit_Click(&lt;span class="kwrd"&gt;object&lt;/span&gt; sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;           &lt;span class="kwrd"&gt;double&lt;/span&gt; GST = 1.125;&lt;br /&gt;           &lt;span class="kwrd"&gt;double&lt;/span&gt; Result;&lt;br /&gt;           Result = &lt;span class="kwrd"&gt;double&lt;/span&gt;.Parse(txtAmount.Text) * GST;&lt;br /&gt;           lblResult.Text = Result.ToString(&lt;span class="str"&gt;"0.00"&lt;/span&gt;); &lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Build the project &lt;br /&gt;&lt;br /&gt;7. We now need to copy the files we just created to the Umbraco installation either by copy paste or using FTP.  Copy the calculator.ascx file to usercontrols directory and the UmbracoModules.dll to the bin directory.&lt;br /&gt;   &lt;br /&gt;8. Create a new Marco in the Umbraco control panel.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_sMZAvxWhtQ0/R6I2J4ucCZI/AAAAAAAAAA0/J6s5QD5Pv_w/s1600-h/uc3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_sMZAvxWhtQ0/R6I2J4ucCZI/AAAAAAAAAA0/J6s5QD5Pv_w/s320/uc3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5161747666393893266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You should see your user control in .net user control drop down list, if you select this, also tick Use in Editor and click save.&lt;br /&gt;&lt;br /&gt;9. All left to do is to add the user control to any pages you want it to appear on.  Go to the content tab in Umbraco, select the page you want then hit the insert macro button on the nav bar, you should see you macro appear.&lt;br /&gt;10. YOUR DONE!&lt;br /&gt;&lt;br /&gt;In part 2 we will see how to pass variables from Umbraco back to your user control.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-1390879262986328291?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/1390879262986328291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=1390879262986328291' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1390879262986328291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/1390879262986328291'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/01/creating-you-first-umbraco-user-control.html' title='Creating your first Umbraco User Control - PART 1'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_sMZAvxWhtQ0/R6I1EIucCXI/AAAAAAAAAAk/C_6hQ6r3S94/s72-c/uc1.jpg' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-6048796926244009682</id><published>2008-01-30T15:08:00.001-08:00</published><updated>2008-01-30T15:13:54.763-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportServer'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.net'/><category scheme='http://www.blogger.com/atom/ns#' term='RDLC'/><title type='text'>Adding dynamic text to RDLC in Code Behind + VB.net</title><content type='html'>Sometimes you want to display text in report viewer but you need to be able to populate the value from the code behind.  &lt;br /&gt;&lt;br /&gt;1. Create a parameter in the Report (.rdlc file)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp0.blogger.com/_sMZAvxWhtQ0/R6EECYucCVI/AAAAAAAAAAU/RhV7W74gkes/s1600-h/parameters.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_sMZAvxWhtQ0/R6EECYucCVI/AAAAAAAAAAU/RhV7W74gkes/s320/parameters.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5161411086986774866" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Add a texbox to the report – right click properties.&lt;br /&gt;Click on the first tab “General” click the “formula” button.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_sMZAvxWhtQ0/R6EEQ4ucCWI/AAAAAAAAAAc/P_7jYmjzDbo/s1600-h/parameters1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_sMZAvxWhtQ0/R6EEQ4ucCWI/AAAAAAAAAAc/P_7jYmjzDbo/s320/parameters1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5161411336094878050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Add code to code behind where you have added the RDLC to the page.&lt;br /&gt;       &lt;br /&gt;   &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;       &lt;span class="kwrd"&gt;Dim&lt;/span&gt; p &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; ReportParameter(&lt;span class="str"&gt;"getDate"&lt;/span&gt;, DateTime.Now())&lt;br /&gt;       &lt;span class="kwrd"&gt;Me&lt;/span&gt;.ReportViewer1.LocalReport.SetParameters(&lt;span class="kwrd"&gt;New&lt;/span&gt; ReportParameter() {p})&lt;br /&gt;       &lt;span class="kwrd"&gt;Me&lt;/span&gt;.ReportViewer1.LocalReport.Refresh()&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-6048796926244009682?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/6048796926244009682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=6048796926244009682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6048796926244009682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/6048796926244009682'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2008/01/adding-dynamic-text-to-rdlc-in-code.html' title='Adding dynamic text to RDLC in Code Behind + VB.net'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_sMZAvxWhtQ0/R6EECYucCVI/AAAAAAAAAAU/RhV7W74gkes/s72-c/parameters.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-827132459524231383</id><published>2007-12-09T01:08:00.000-08:00</published><updated>2007-12-09T01:55:04.735-08:00</updated><title type='text'>Umbraco + Member Controls + Image Verification</title><content type='html'>Adding image verification to the already supplied Umbraco Member Controls is pretty straight forward.  Feel free to download the source files here or the complied files &lt;a href="http://www.kiwiwebdesign.co.nz/umbraco/Complied Member Controls.zip"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Example of outcome &lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbraco/ImageVerification.gif" border="0" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Please remember that the members controls are part of the Umrabco repository so any upgrades could results in the following information being overwritten.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Copy the membercontrols.dll into the bin directory of your website.&lt;br /&gt;2. Upload umbRegister.ascx and image.ascx to the usercontrols/umbracoMemberControls/ directory.&lt;br /&gt;3. Create a new macro and assign image.asxc to the .net dropdown&lt;br /&gt;4.  Tick use in editor&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbraco/image_assign_control.gif" /&gt;&lt;br /&gt;&lt;br /&gt;4. Create a new page called Image-Verification &lt;your domain&gt;/image-verification.aspx and then add your macro to the page.&lt;br /&gt;&lt;br /&gt;5. Cross your fingers and hope for the best :)&lt;br /&gt;&lt;br /&gt;Skiltz!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-827132459524231383?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/827132459524231383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=827132459524231383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/827132459524231383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/827132459524231383'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/12/umbraco-member-controls-image.html' title='Umbraco + Member Controls + Image Verification'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-8421627510698305732</id><published>2007-12-06T17:17:00.001-08:00</published><updated>2008-04-21T14:38:48.866-07:00</updated><title type='text'>Umbraco + Display Latest Page Updates</title><content type='html'>Here is a little code snippet showing how to displayed the latest &lt;em&gt;n&lt;/em&gt; updated pages on your Umbraco site. It shows all updated pages in the same tree structure.&lt;br /&gt;&lt;br /&gt;First of all create a new XSLT file and create a matching macro. Copy the following code into the XSLT file and save.&lt;br /&gt;&lt;br /&gt;Okay i just spent the last 10 minutes trying to figure out how to add an XSLT to Blogger and failed miserably so just get the code &lt;a href="http://www.kiwiwebdesign.co.nz/umbracoFiles/LatestUpdates.xslt"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to the Macro you created and create two new parameters called updateCount (number) and showDate(bool). Also in Macro properties click "use in editor" so then you can use the macro in the editor. You should be done, go to the editor and add the macro to any pages you wish.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbracoFiles/parameters-latest-updates.JPG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.kiwiwebdesign.co.nz/umbracoFiles/latest_Updates.JPG" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-8421627510698305732?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/8421627510698305732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=8421627510698305732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8421627510698305732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/8421627510698305732'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/12/umbraco-display-latest-page-updates.html' title='Umbraco + Display Latest Page Updates'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-2384916964095111159</id><published>2007-12-06T01:20:00.000-08:00</published><updated>2007-12-06T12:47:58.234-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Umbraco'/><category scheme='http://www.blogger.com/atom/ns#' term='Bulk Import'/><title type='text'>Umbraco + Bulk Adding New Pages</title><content type='html'>Recently I have been working on a new website for a Kennel Club organisation.&lt;br /&gt;&lt;br /&gt;Our choice of CMS was &lt;a href="http://www.umbraco.org/"&gt;Umbraco&lt;/a&gt;, i had personally never used Umbraco, but a few hours into the install and everything was going pretty well.&lt;br /&gt;&lt;br /&gt;After doing some searches on the Umbraco forums and Google i didn't seem to find any facility to bulk load pages. Its quite possible one already exists and I just haven't found it. Anyway I thought this might be a good idea so I could gain a better understanding of how the Umbraco structure works. By trade I am very junior asp.net(vb.net) programmer, have little knowledge of XML and no previous experience with C#. So there's the disclaimer continue on at your own risk.&lt;br /&gt;&lt;br /&gt;Click &lt;a href="http://www.kiwiwebdesign.co.nz/bulkimport.zip"&gt;here&lt;/a&gt; to download the files you are going to need.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Bukimport.aspx needs to be saved into your umbraco directory (the same one that has create.aspx in it)&lt;/li&gt;&lt;li&gt;Bulkimport.dll needs to be saved to the BIN folder.&lt;/li&gt;&lt;li&gt;Book1.xls is a example of excel file of your new pages&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;What the Bulk Import will do:&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It will create new nodes for the pages you specify&lt;/li&gt;&lt;li&gt;It can publish your new documents (can be turned off)&lt;/li&gt;&lt;li&gt;You can choose which node the pages will be created into&lt;/li&gt;&lt;li&gt;You can choose the document type&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;What the Bulk Import won't do (yet)&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It will not assign any macro properties to the new document (eg Hide from nav)&lt;/li&gt;&lt;li&gt;It will not add any content to the new document (its all about creating structure at the moment)&lt;/li&gt;&lt;li&gt;It will not restrict your document types (eg if you have a master document type which doesn't allow children nodes then you will still be able to add child pages)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Right given that some interest is shown then if you want these above options implemented please let me know. The content for my Dog Breed pages have not yet been constructed  so I have no need to bulk import content.&lt;/p&gt;&lt;p&gt;The screens are very ugly and confusing at the moment but that's not that point at the moment i just need some people to test this!&lt;/p&gt;&lt;p&gt;Obviously at the top of the page is import which you can import a new excel file its put into the same directory as bulkImport.xls hopefully you have rights I probably should change this to usercontrols or something anyhow that's where it is for now.&lt;/p&gt;&lt;p&gt;&lt;u&gt;Controls on the page&lt;/u&gt;&lt;/p&gt;&lt;p&gt;Parent node is obviously the parent node of the new page you are going to create, you can also select any node which is higher on the grid (because it will be inserted first and we will therefore then know the Node ID)&lt;/p&gt;&lt;p&gt;The dropdownlist below the Grid allows you to change the parent Nodes for all pages &lt;strong&gt;in&lt;/strong&gt; the grid.&lt;/p&gt;&lt;p&gt;Import obviously imports the new pages. May take some time depending on how many nodes you create. I imported 200 took about 30second from memory. You will be able to tell its done when the new nodes ID's are shown&lt;/p&gt;&lt;p&gt;Good luck and feedback would be good.&lt;/p&gt;&lt;p&gt;Skiltz&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;/p&gt;&lt;/u&gt;&lt;p&gt;&lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-2384916964095111159?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/2384916964095111159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=2384916964095111159' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2384916964095111159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/2384916964095111159'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/12/umbraco-bulk-adding-new-pages.html' title='Umbraco + Bulk Adding New Pages'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-3546372552957829215</id><published>2007-11-27T20:11:00.000-08:00</published><updated>2007-11-27T20:15:29.579-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ReportServer'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.net'/><title type='text'>RDLC + Page is blank + Vista</title><content type='html'>Today I ran into an issue with the report viewer control and the rendering of some RDLC reports.  If I ran the application user localhost then the report would render correctly.  As soon as I  change from it from localhost to my computer name (&lt;a href="http://mycomputer/report.aspx"&gt;http://mycomputer/report.aspx&lt;/a&gt;) the report control would show but the report itself would render as blank. &lt;br /&gt;&lt;br /&gt;After hours of playing around with IIS and searching google the answer was to change the application to use the classic.asp Application pool and also set impersonation to true.&lt;br /&gt;&lt;br /&gt;Hope this helps someone out in the future!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-3546372552957829215?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/3546372552957829215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=3546372552957829215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3546372552957829215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/3546372552957829215'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/11/rdlc-page-is-blank-vista.html' title='RDLC + Page is blank + Vista'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-4503645137666956208</id><published>2007-11-26T13:05:00.000-08:00</published><updated>2008-06-15T19:04:25.582-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web.config'/><title type='text'>Update Web.config + Asp.net VB.net</title><content type='html'>Ever needed to update the web.config dynamically? &lt;br /&gt;&lt;br /&gt;Make sure you add a reference at the top of the page to&lt;br /&gt;&lt;br /&gt;Imports System.Web.Configuration&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;  &lt;span class="kwrd"&gt;Dim&lt;/span&gt; value &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;String&lt;/span&gt; = &lt;span class="str"&gt;"mskilton@gmail.com"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span class="kwrd"&gt;Dim&lt;/span&gt; config &lt;span class="kwrd"&gt;As&lt;/span&gt; Configuration = &lt;br/ &gt; webConfigurationManager.OpenWebConfiguration(&lt;span class="str"&gt;"~"&lt;/span&gt;)&lt;br /&gt;        &lt;span class="kwrd"&gt;Dim&lt;/span&gt; appsetting &lt;span class="kwrd"&gt;As&lt;/span&gt; AppSettingsSection = &lt;br/ &gt;  config.GetSection(&lt;span class="str"&gt;"appSettings"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;        appsetting.Settings(&lt;span class="str"&gt;"emailaddress"&lt;/span&gt;).Value = value&lt;br /&gt;&lt;br /&gt;        config.Save()&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Have fun updating your web.config programmatically!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-4503645137666956208?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/4503645137666956208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=4503645137666956208' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/4503645137666956208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/4503645137666956208'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/11/update-webconfig-aspnet-vbet.html' title='Update Web.config + Asp.net VB.net'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7167938582959099762</id><published>2007-11-24T13:16:00.000-08:00</published><updated>2007-11-24T13:18:46.244-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.net'/><title type='text'>Blogger + ASP.net Code</title><content type='html'>Okay two posts in one day you guys are pretty lucky.  After writing my first post I couldn't seem to get my asp.net code to post correctly.  Using this tool &lt;a href="http://www.manoli.net/csharpformat/"&gt;http://www.manoli.net/csharpformat/&lt;/a&gt;&lt;br /&gt;was just the ticket!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7167938582959099762?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7167938582959099762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7167938582959099762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7167938582959099762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7167938582959099762'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/11/blogger-aspnet-code.html' title='Blogger + ASP.net Code'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1533114200083833064.post-7188225206011550340</id><published>2007-11-24T12:56:00.000-08:00</published><updated>2007-11-24T13:40:25.006-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Gridview'/><title type='text'>Exporting Gridview to Excel - With Checkbox</title><content type='html'>I often get the same questions asked of my while working with asp.net.  If these examples seem to simplistic then please move along :)&lt;br /&gt;&lt;br /&gt;Exporting a gridview to excel is pretty simple, there are plently of examples on the net, however not to many when it comes to only selecting certain rows to export.&lt;br /&gt;&lt;br /&gt;an example Gridview and button&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&amp;lt;asp:GridView ID=&lt;span class="str"&gt;"dg_disp"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt;  AutoGenerateColumns=&lt;span class="str"&gt;"False"&lt;/span&gt; DataKeyNames=&lt;span class="str"&gt;"id"&lt;/span&gt; DataSourceID=&lt;span class="str"&gt;"SqlDataSource1"&lt;/span&gt; &amp;gt;&lt;br /&gt;     &amp;lt;Columns&amp;gt;&lt;br /&gt;     &amp;lt;asp:TemplateField&amp;gt;&amp;lt;ItemTemplate&amp;gt;&amp;lt;asp:CheckBox ID=&lt;span class="str"&gt;"cbSelect"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt; /&amp;gt;&amp;lt;/ItemTemplate&amp;gt;&amp;lt;/asp:TemplateField&amp;gt;&lt;br /&gt;     &amp;lt;asp:BoundField DataField=&lt;span class="str"&gt;"id"&lt;/span&gt; /&amp;gt;&lt;br /&gt;     &amp;lt;asp:BoundField DataField=&lt;span class="str"&gt;"member"&lt;/span&gt; /&amp;gt;&lt;br /&gt;     &amp;lt;/Columns&amp;gt;&lt;br /&gt;     &amp;lt;/asp:GridView&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:button id=&lt;span class="str"&gt;"Button1"&lt;/span&gt; runat=&lt;span class="str"&gt;"server"&lt;/span&gt; /&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;asp:gridview id="dg_disp" runat="server" autogeneratecolumns="False" datakeynames="id" datasourceid="SqlDataSource1"&gt;&lt;columns&gt;&lt;asp:templatefield&gt;&lt;asp:boundfield datafield="id"&gt;&lt;asp:boundfield datafield="member"&gt;&lt;/asp:boundfield&gt;&lt;/asp:boundfield&gt;&lt;asp:button id="Button1" runat="server"&gt;&lt;asp:gridview id="dg_disp" runat="server" autogeneratecolumns="False" datakeynames="id" datasourceid="SqlDataSource1"&gt;&lt;columns&gt;&lt;asp:templatefield&gt;&lt;asp:button id="Button1" runat="server"&gt;&lt;asp:gridview id="dg_disp" runat="server" autogeneratecolumns="False" datakeynames="id" datasourceid="SqlDataSource1"&gt;&lt;columns&gt;&lt;asp:templatefield&gt;&lt;asp:button id="Button1" runat="server"&gt;---Code Behind---&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;Private&lt;/span&gt; &lt;span class="kwrd"&gt;Sub&lt;/span&gt; button1_Click(&lt;span class="kwrd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Object&lt;/span&gt;, &lt;span class="kwrd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwrd"&gt;As&lt;/span&gt; System.EventArgs) &lt;span class="kwrd"&gt;Handles&lt;/span&gt; button1.Click&lt;br /&gt;&lt;br /&gt;   &lt;span class="rem"&gt;' Set the content type to Excel&lt;/span&gt;&lt;br /&gt;   Response.ContentType = &lt;span class="str"&gt;"application/vnd.ms-excel"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   &lt;span class="rem"&gt;'Turn off the view state&lt;/span&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;Me&lt;/span&gt;.EnableViewState = &lt;span class="kwrd"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   &lt;span class="rem"&gt;'Remove the charset from the Content-Type header&lt;/span&gt;&lt;br /&gt;   Response.Charset = &lt;span class="kwrd"&gt;String&lt;/span&gt;.Empty&lt;br /&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;Dim&lt;/span&gt; myTextWriter &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; System.IO.StringWriter()&lt;br /&gt;   &lt;span class="kwrd"&gt;Dim&lt;/span&gt; myHtmlTextWriter &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;New&lt;/span&gt; System.Web.UI.HtmlTextWriter(myTextWriter)&lt;br /&gt;   &lt;span class="kwrd"&gt;Dim&lt;/span&gt; colCount &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Integer&lt;/span&gt; = dg_disp.Columns.Count&lt;br /&gt;   &lt;span class="kwrd"&gt;Dim&lt;/span&gt; counter &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Integer&lt;/span&gt; = 0&lt;br /&gt;&lt;br /&gt;&lt;span class="rem"&gt;'loop through all rows in the gridview&lt;/span&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;For&lt;/span&gt; &lt;span class="kwrd"&gt;Each&lt;/span&gt; row &lt;span class="kwrd"&gt;As&lt;/span&gt; GridViewRow &lt;span class="kwrd"&gt;In&lt;/span&gt; dg_disp.Rows&lt;br /&gt;&lt;br /&gt;       &lt;span class="rem"&gt;'skip header footers rows etc &lt;/span&gt;&lt;br /&gt;       &lt;span class="kwrd"&gt;If&lt;/span&gt; row.RowType = DataControlRowType.DataRow &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;           &lt;span class="rem"&gt;'find the checkbox in the template field&lt;/span&gt;&lt;br /&gt;           &lt;span class="kwrd"&gt;Dim&lt;/span&gt; i &lt;span class="kwrd"&gt;As&lt;/span&gt; CheckBox = row.FindControl(&lt;span class="str"&gt;"cbSelect"&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;           &lt;span class="kwrd"&gt;If&lt;/span&gt; i.Checked = &lt;span class="kwrd"&gt;True&lt;/span&gt; &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;br /&gt;               &lt;span class="kwrd"&gt;While&lt;/span&gt; counter &amp;lt;&amp;gt; colCount&lt;br /&gt;&lt;br /&gt;                   &lt;span class="rem"&gt;'don't output checkbox field change if checkbox is in different place&lt;/span&gt;&lt;br /&gt;                   &lt;span class="kwrd"&gt;If&lt;/span&gt; counter &amp;lt;&amp;gt; 0 &lt;span class="kwrd"&gt;Then&lt;/span&gt;&lt;br /&gt;                       Response.Write(row.Cells(counter).Text &amp;amp; vbTab)&lt;br /&gt;                   &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;&lt;br /&gt;              &lt;br /&gt;counter = counter + 1&lt;br /&gt;               &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;While&lt;/span&gt;&lt;br /&gt;               Response.Write(vbCr)&lt;br /&gt;               counter = 0&lt;br /&gt;           &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;&lt;br /&gt;       &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   &lt;span class="kwrd"&gt;Next&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   &lt;span class="rem"&gt;'Write the HTML to the browser&lt;/span&gt;&lt;br /&gt;   Response.Write(myTextWriter.ToString())&lt;br /&gt;&lt;br /&gt;   &lt;span class="rem"&gt;'End the response&lt;/span&gt;&lt;br /&gt;   Response.&lt;span class="kwrd"&gt;End&lt;/span&gt;()&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;End&lt;/span&gt; Sub&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/asp:button&gt;&lt;/asp:templatefield&gt;&lt;/columns&gt;&lt;/asp:gridview&gt;&lt;/asp:button&gt;&lt;/asp:templatefield&gt;&lt;/columns&gt;&lt;/asp:gridview&gt;&lt;/asp:button&gt;&lt;/asp:templatefield&gt;&lt;/columns&gt;&lt;/asp:gridview&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1533114200083833064-7188225206011550340?l=skiltzonnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://skiltzonnet.blogspot.com/feeds/7188225206011550340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1533114200083833064&amp;postID=7188225206011550340' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7188225206011550340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1533114200083833064/posts/default/7188225206011550340'/><link rel='alternate' type='text/html' href='http://skiltzonnet.blogspot.com/2007/11/exporting-gridview-to-excel-with.html' title='Exporting Gridview to Excel - With Checkbox'/><author><name>Skiltz</name><uri>http://www.blogger.com/profile/15676297409485683774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
