<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Steven De Waele&#039;s Blog</title>
	<atom:link href="http://www.stevendewaele.be/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.stevendewaele.be</link>
	<description></description>
	<lastBuildDate>Fri, 18 May 2012 10:43:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
		<item>
		<title>Microsoft CRM 2011 Cross browser feature</title>
		<link>http://www.stevendewaele.be/?p=282</link>
		<comments>http://www.stevendewaele.be/?p=282#comments</comments>
		<pubDate>Fri, 18 May 2012 10:36:34 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[CRM 2011]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Cross Browser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=282</guid>
		<description><![CDATA[Finally CRM 2011 is cross browser!! This are the supported browsers: Internet Explorer 7 or above on Windows 7, Vista and XP Safari 5.1.1 or above on Mac OS-X or iOS5 Firefox 6 or above on Windows 7, Vista and XP or Mac OS-X or iOS5 Chrome 13 or above on Windows 7, Vista and [...]]]></description>
			<content:encoded><![CDATA[<p>Finally CRM 2011 is cross browser!!</p>
<p>This are the supported browsers:</p>
<li>Internet Explorer 7 or above on Windows 7, Vista and XP</li>
<li>Safari 5.1.1 or above on Mac OS-X or iOS5</li>
<li>Firefox 6 or above on Windows 7, Vista and XP or Mac OS-X or iOS5</li>
<li>Chrome 13 or above on Windows 7, Vista and XP.But be careful this is still in beta. The feature will be available in Service Update 8, which will be released later this month.</li>
<p><a rel="lightbox-CRMCrossBrowser" title="Chrome" href="http://www.stevendewaele.be/wp-content/uploads/2012/05/chrome.png" target="_blank"><img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="chrome" src="http://www.stevendewaele.be/wp-content/uploads/2012/05/chrome_thumb.png" border="0" alt="chrome" width="244" height="139" /></a><a  rel="lightbox-CRMCrossBrowser"  href="http://www.stevendewaele.be/wp-content/uploads/2012/05/firefox.png" target="_blank"><img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="firefox" src="http://www.stevendewaele.be/wp-content/uploads/2012/05/firefox_thumb.png" border="0" alt="firefox" width="244" height="139" /></a><a  rel="lightbox-CRMCrossBrowser"  href="http://www.stevendewaele.be/wp-content/uploads/2012/05/safari.png" target="_blank"><img style="margin: 0px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="safari" src="http://www.stevendewaele.be/wp-content/uploads/2012/05/safari_thumb.png" border="0" alt="safari" width="244" height="139" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=282</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>THE visual Ribbon editor for Microsoft CRM 2011</title>
		<link>http://www.stevendewaele.be/?p=272</link>
		<comments>http://www.stevendewaele.be/?p=272#comments</comments>
		<pubDate>Sat, 18 Feb 2012 15:12:54 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[CRM 2011]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Ribbon]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=272</guid>
		<description><![CDATA[Tired of digging into xml to add a button in the ribbon? I thought so. Visual Ribbon editor for CRM 2011 is a small tool to adapt the ribbon. It’s downloadable on codeplex. You can add a button or group, hide, unhide or even delete buttons with just one click. The icons you’ve uploaded as [...]]]></description>
			<content:encoded><![CDATA[<p>Tired of digging into xml to add a button in the ribbon?</p>
<p>I thought so. <img class="wlEmoticon wlEmoticon-smile" style="border-style: none;" src="http://www.stevendewaele.be/wp-content/uploads/2012/02/wlEmoticon-smile.png" alt="Glimlach" /><br />
Visual Ribbon editor for CRM 2011 is a small tool to adapt the ribbon.<br />
It’s downloadable on <a title="Visual Ribbon Editor on codeplex" href="http://crmvisualribbonedit.codeplex.com/" target="_blank">codeplex</a>.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2012/02/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2012/02/image_thumb.png" border="0" alt="image" width="542" height="255" /></a></p>
<p>You can add a button or group, hide, unhide or even delete buttons with just one click.<br />
The icons you’ve uploaded as webresources are previewed in the tool and when filling in you have some intellisense as well.<br />
Searching the section to place the button in is history, because the tool can make them visible as well.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2012/02/image1.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2012/02/image_thumb1.png" border="0" alt="image" width="244" height="56" /></a><br />
When adding rules or actions you have a really nice dropdownbox with all the possibilities.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2012/02/image2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="When adding rules or actions you have a really nice dropdownbox with all the possibilities." src="http://www.stevendewaele.be/wp-content/uploads/2012/02/image_thumb2.png" border="0" alt="When adding rules or actions you have a really nice dropdownbox with all the possibilities." width="401" height="247" /></a></p>
<p>So enjoy and play with that ribbon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=272</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a slideshow of images on a form for CRM 2011</title>
		<link>http://www.stevendewaele.be/?p=262</link>
		<comments>http://www.stevendewaele.be/?p=262#comments</comments>
		<pubDate>Sun, 25 Dec 2011 10:55:00 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[CRM 2011]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[CRM2011]]></category>
		<category><![CDATA[Galleria]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Slideshow]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=262</guid>
		<description><![CDATA[Ever wanted a sneak preview of all the images attached on the current record? Nothing easier like a nice slideshow of all screenshots attached to a mail, case, contact, … In this post i will explain how to do it. First of all what am i using to do it: Jquery Jquery templating plugin: a [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted a sneak preview of all the images attached on the current record?<br />
Nothing easier like a nice slideshow of all screenshots attached to a mail, case, contact, …</p>
<p>In this post i will explain how to do it.</p>
<p>First of all what am i using to do it:</p>
<ul>
<li>Jquery</li>
<li>Jquery templating plugin: a plugin with allow you to insert the objects in a template an insert everything into html.</li>
<li>Galleria: a jquery plugin to create the slideshow</li>
</ul>
<p>and this is the result.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/12/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/12/image_thumb.png" border="0" alt="image" width="557" height="395" /></a></p>
<p>Download <a href="https://dbp5za.bay.livefilestore.com/y1pn1DECjGn0oTa2Cm9q07Du-9FVRpwR1yyHjuBQZuqa5XaF72HCxXmEKhnq4-aHywHzyMYa7Oy0tpC4pd_kCl95w/slideshow.zip?download&amp;psid=1" target="_blank">sources</a></p>
<p>WARNING: this is just a proof of concept and can’t be used in productions.</p>
<p><!--.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=262</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New widgets in the jquery ui 1.9 version</title>
		<link>http://www.stevendewaele.be/?p=253</link>
		<comments>http://www.stevendewaele.be/?p=253#comments</comments>
		<pubDate>Sun, 25 Sep 2011 14:43:01 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[WebDevelopment]]></category>
		<category><![CDATA[jQuery UI 1.9]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=253</guid>
		<description><![CDATA[In the current version of jquery ui, you have some basic widget’s like a button, dialog, slider,  datepicker, progressbar and a autocomplete. But also the fancy accordion and tab widgets. But this post isn’t about this widget, but about the cool new widgets coming up in jquery ui 1.9. The Menu This widget will transform [...]]]></description>
			<content:encoded><![CDATA[<p>In the current version of jquery ui, you have some basic widget’s like a button, dialog, slider,  datepicker, progressbar and a autocomplete.</p>
<p>But also the fancy accordion and tab widgets.</p>
<p>But this post isn’t about this widget, but about the cool new widgets coming up in jquery ui 1.9.</p>
<p><span style="text-decoration: underline;"><strong><span style="color: #000000;">The </span><span style="color: #000000;">Menu</span></strong></span></p>
<p><span style="color: #000000;">This widget will transform your (nested) list into a menu that will be adjustable with jquery themeroller. It has some nice mouse and keyboard interactions to.<img src="http://wiki.jqueryui.com/f/1226612587/d_menus.png" alt="" /></span></p>
<p><span style="color: #000000;">The demo page: <a href="http://view.jqueryui.com/master/tests/visual/menu/menu.html">http://view.jqueryui.com/master/tests/visual/menu/menu.html</a></span></p>
<p><strong><span style="text-decoration: underline;"><span style="color: #000000;">The Menubar</span></span></strong></p>
<p><span style="color: #000000;">This widget is a part of the menu widget. It’s the same widget but for horizontal menu’s.</span></p>
<p>The demo page: <a href="http://view.jqueryui.com/master/demos/menubar/default.html">http://view.jqueryui.com/master/demos/menubar/default.html</a></p>
<p><strong><span style="text-decoration: underline;"><span style="color: #000000;">A popup</span></span></strong></p>
<p><span style="color: #000000;">The popup widget is a fancy one. When you click in a menu, there can popup a list of menu items. Well this is the work of this popup widget. You can create a popup with opens when you click the hyperlink “Log In” and when you click somewhere else in the page, it closes itself.</span></p>
<p>The demo page:<a href="http://view.jqueryui.com/master/demos/popup/default.html">http://view.jqueryui.com/master/demos/popup/default.html</a></p>
<p><strong><span style="text-decoration: underline;"><span style="color: #000000;">A tooltip</span></span></strong></p>
<p><span style="color: #000000;">I don’t have to say a lot about this one. It’s a themeable tooltip. With support for icons,frames,borders,background images.<img src="http://wiki.jqueryui.com/f/1241123391/1241123391/1241123391/m_tooltips.png" alt="" /></span></p>
<p><span style="color: #000000;">The demo page:<a href="http://view.jqueryui.com/master/demos/tooltip/default.html">http://view.jqueryui.com/master/demos/tooltip/default.html</a></span></p>
<p><strong><span style="text-decoration: underline;"><span style="color: #000000;">and last but not least, a spinner</span></span></strong></p>
<p>The spinner will allow you to make spinners for numbers, font-sizes and more. There will be a slider in it to. So the user of the page have full control of the spinner.</p>
<p><img src="http://wiki.jqueryui.com/f/1226676032/1226676032/1226676032/1226676032/1226676032/1226676032/1226676032/f5_stepper.png" alt="" /></p>
<p>The demo page: <a href="http://view.jqueryui.com/master/demos/spinner/default.html">http://view.jqueryui.com/master/demos/spinner/default.html</a></p>
<p><strong><span style="text-decoration: underline;">Summary</span></strong></p>
<p>As you can see, there are some great new widgets coming up in the 1.9 version of jquery UI.</p>
<p>A brand new menu, menubar, a popup, a tooltip and a spinner.</p>
<p>All widget’s will be themeable and easy to use. I already used some of them and not all functionalities are implemented yet.</p>
<p>But I’m eager to start working with the final version of this really cool widgets.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=253</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jqGrid in a business application</title>
		<link>http://www.stevendewaele.be/?p=248</link>
		<comments>http://www.stevendewaele.be/?p=248#comments</comments>
		<pubDate>Wed, 07 Sep 2011 18:08:44 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[ASP MVC]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jqGrid]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Javacript]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=248</guid>
		<description><![CDATA[In my previous posts you can see that I love jqgrid. And because I like it that much, this is a small tutorial of how I use it. Describe your data I’ve created an abstract class with the properties Id and Timestamp. When using databases an Id is the minimum requirement for an object. The [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous posts you can see that I love jqgrid.<br />
And because I like it that much, this is a small tutorial of how I use it.</p>
<p><span style="text-decoration: underline;">Describe your data</span></p>
<p>I’ve created an abstract class with the properties Id and Timestamp.<br />
When using databases an Id is the minimum requirement for an object.<br />
The timestamp can be used to see if the object is changed between the read and update.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb.png" border="0" alt="image" width="431" height="146" /></a></p>
<p>The BinaryTimestamp is just serializable wrapper for the byte array.</p>
<p>The dto itself is pretty simple.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb1.png" border="0" alt="image" width="244" height="112" /></a></p>
<p>That’s the dto part. So if we have a grid we want to filter the data right?</p>
<p><span style="text-decoration: underline;">How do we pass the data from grid to repository</span></p>
<p>Ok, First of all.I want to generate javascript code to set the filter on load of the grid.<br />
So I defined a interface with a method GenerateJavascriptFilter with returns a string.<br />
Every filter has to implement this method.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb2.png" border="0" alt="image" width="244" height="55" /></a></p>
<p>In the filter I define the parameters given by the grid.<br />
Some parameters are nullable because we want to filter on a subset of property and not necessarily on all parameters at ones.<br />
And the format of the javascriptfilter for the grid.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb3.png" border="0" alt="image" width="531" height="362" /></a></p>
<p>That’s just enough to filter the data.</p>
<p><span style="text-decoration: underline;">Create pages of data</span></p>
<p>Most of the time we don’t want to give the user al the data at ones. So we implement paging.</p>
<p>There are 2 parts in this one. Giving the paged result to the ui and give paging data back to repository.</p>
<p>This is the class I use for passing the result to ui.<br />
It has 3 integers: the requested pagenumber, the number of rows requested and the total amount of items found.</p>
<p>and off course the last an IEnumerable of items with contains all results of the requested page.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image4.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb4.png" border="0" alt="image" width="396" height="110" /></a></p>
<p>For passing the paging data to the repository, I’m using following object.<br />
very simple, just the requested pagenumber and the amount of rows we want.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image5.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb5.png" border="0" alt="image" width="244" height="61" /></a></p>
<p><span style="text-decoration: underline;">Sorting data</span></p>
<p>Ever seen a business application that can’t sort data?<br />
Me neither <img class="wlEmoticon wlEmoticon-smile" style="border-style: none;" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/wlEmoticon-smile.png" alt="Glimlach" /></p>
<p>So below the sortdescriptor, just the name of the column to sort and the sortorder.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image6.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb6.png" border="0" alt="image" width="244" height="136" /></a></p>
<p><span style="text-decoration: underline;">The fun part: UI</span></p>
<p>Ok, we are almost there.</p>
<p>Let’s convert the pagedresult to a json structure.<br />
I’m using this extension method.<br />
<a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image7.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb7.png" border="0" alt="image" width="615" height="251" /></a></p>
<p>So now is everythin ready for creating the grid itself.<br />
This the HTML part. A div with a height of 200p, a table to fill with data and a div for the pager.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image8.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb8.png" border="0" alt="image" width="266" height="55" /></a></p>
<p>The grid definition.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image9.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb9.png" border="0" alt="image" width="625" height="364" /></a></p>
<p>Defining the custom buttons and the initial search status.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image10.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb10.png" border="0" alt="image" width="625" height="258" /></a></p>
<p>Method to define the initial loaded search.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/09/image11.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/09/image_thumb11.png" border="0" alt="image" width="621" height="76" /></a></p>
<p>The source code is downloadable <a href="https://eouekg.bay.livefilestore.com/y1pq1Kt9aTapoaPnq0YJ5MgdGdaZ23DuoAE5NKhYxhy7SJnya8t8lVDXdXpDcDLyQuSxoqPI0Gf0wWku_bkvs_mNQ/CodegeneratingJqGrid.zip" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=248</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Scaffold Templates</title>
		<link>http://www.stevendewaele.be/?p=214</link>
		<comments>http://www.stevendewaele.be/?p=214#comments</comments>
		<pubDate>Mon, 22 Aug 2011 18:09:54 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[ASP MVC]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Custom Scaffold Templates]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=214</guid>
		<description><![CDATA[While a was looking for a way to generate a basic jqgrid of a specific model. My eye catched this way of working: Scaffold Templates. This is how it works: Install folowing Nuget Package:MVC3CodeTemplatesCsharp(there is a visual basic version also) After accepting the warnings there is a extra folder in your web application with the [...]]]></description>
			<content:encoded><![CDATA[<p>While a was looking for a way to generate a basic jqgrid of a specific model.</p>
<p>My eye catched this way of working: Scaffold Templates.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/08/image1.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/08/image_thumb1.png" border="0" alt="image" width="244" height="241" /></a></p>
<p>This is how it works:</p>
<p>Install folowing Nuget Package:MVC3CodeTemplatesCsharp(there is a visual basic version also)</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/08/image2.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/08/image_thumb2.png" border="0" alt="image" width="244" height="112" /></a></p>
<p>After accepting the warnings there is a extra folder in your web application with the default templates.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/08/image3.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/08/image_thumb3.png" border="0" alt="image" width="244" height="133" /></a></p>
<p>I copied the list template and adapted it for working with a jqgrid.<br />
The code below required the necessary links to all jqgrid files.</p>
<p><a href="http://www.stevendewaele.be/wp-content/uploads/2011/08/List.zip">List-Template</a><br />
Of course this a very basic grid and is just a concept of what is possible with the templates.<br />
Later on I will publish my own extended template when it’s has all features needed for some professional projects.</p>
<div id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:34ce63d9-750c-418c-a157-547509e245d7" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=214</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After post HiddenFor doesn&#8217;t update value in ASP MVC</title>
		<link>http://www.stevendewaele.be/?p=206</link>
		<comments>http://www.stevendewaele.be/?p=206#comments</comments>
		<pubDate>Thu, 18 Aug 2011 05:51:03 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[ASP MVC]]></category>
		<category><![CDATA[hiddenfield]]></category>
		<category><![CDATA[modelstate]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=206</guid>
		<description><![CDATA[This is the situation: You give a model to a view with a HiddenFor Helper in it. For example the Id is 0. You post this data to the server modifies the Id into 1 and send it back to the view. If you look to the html code generated. The hidden field will have [...]]]></description>
			<content:encoded><![CDATA[<p>This is the situation: You give a model to a view with a HiddenFor Helper in it. For example the Id is 0. You post this data to the server modifies the Id into 1 and send it back to the view. If you look to the html code generated. The hidden field will have the value 0.</p>
<p>This is because the value of hidden fields is saved into the ModelState. So to update the view you simply clear the modelState with ModelState.Clear(). Keep in mind that this will remove everything in your modelstate. Also the validation messages will be gone. You can remove only the hidden field also.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=206</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Key changes in jquery mobile 1.0 beta2</title>
		<link>http://www.stevendewaele.be/?p=203</link>
		<comments>http://www.stevendewaele.be/?p=203#comments</comments>
		<pubDate>Sun, 14 Aug 2011 14:04:14 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=203</guid>
		<description><![CDATA[The new version of jquery mobile is a week old now. Time to have a quick summary. New supported platforms The new version is now supporting the new android versions(android honeycomb and 2.1 –2.3) and Nokia symbian 3. Decoupled widgets The widgets have decoupled so you can remove widgets you don’t use in the projects. [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of jquery mobile is a week old now.<br />
Time to have a quick summary.</p>
<p><strong><span style="text-decoration: underline;">New supported platforms</span></strong></p>
<p>The new version is now supporting the new android versions(android honeycomb and 2.1 –2.3) and Nokia symbian 3.</p>
<p><strong><span style="text-decoration: underline;">Decoupled widgets</span></strong></p>
<p>The widgets have decoupled so you can remove widgets you don’t use in the projects. This way your builds are a lot more flexible and you can reduce the amount of traffic.</p>
<p><strong><span style="text-decoration: underline;">The create event</span></strong></p>
<p>In previous versions you hade to create all used widgets when loading content via ajax. Now you can use the create event.<br />
<code>$( ...new markup that contains widgets... ).appendTo( ".ui-page" ).trigger( "create" );</code></p>
<p><code><span style="text-decoration: underline;"><strong><span style="font-family: Verdana;">DOM caching management</span></strong></span></code></p>
<p><code><span style="font-family: Verdana;">In jquery mobile pages are cached and in previous versions all pages stayed in the DOM which causes browsers to slow down or even crash. Now you have the possibility to turn this of by setting the option domCache on your pages.<br />
By default this is turned off and jquery mobile will manage the caching. Be careful if you turn this of you have to manage everything yourself.</span></code></p>
<p><code><strong><span style="text-decoration: underline;"><span style="font-family: Verdana;">Prefetching pages</span></span></strong></code></p>
<p>&lt;a href=&#8221;foo/bar/baz&#8221; data-prefetch&gt;link text&lt;/a&gt;</p>
<p><strong><span style="text-decoration: underline;">New global config option: autoInitializePage</span></strong></p>
<p>You want more control about the creation of widget on your pages. With the new global option autoInitializePage on false. Jquery mobile won’t generate widgets at all.</p>
<p>and last but not least:</p>
<p>a new and simpler design for radio buttons and checkboxes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=203</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix &#8220;invalid argument&#8221; zooming in IE with jquery plugin gzoom</title>
		<link>http://www.stevendewaele.be/?p=199</link>
		<comments>http://www.stevendewaele.be/?p=199#comments</comments>
		<pubDate>Tue, 09 Aug 2011 18:09:13 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[gzoom]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=199</guid>
		<description><![CDATA[If you’ve got a javascript error in IE when zooming in a gzoom control this is nice fix. The error is caused by a divide by zero exception. Change following lines: 107: leftFactor = leftPos/deltaWidth; in 107: leftFactor = ( deltaWidth == 0 ) ? 0 : leftPos/deltaWidth; and 113: topFactor = topPos/deltaHeight; in 113: [...]]]></description>
			<content:encoded><![CDATA[<p>If you’ve got a javascript error in IE when zooming in a gzoom control this is nice fix.</p>
<p>The error is caused by a divide by zero exception.</p>
<p>Change following lines:</p>
<pre>107: leftFactor = leftPos/deltaWidth;</pre>
<pre>in</pre>
<pre>107: leftFactor = ( deltaWidth == 0 ) ? 0 : leftPos/deltaWidth;</pre>
<pre>and</pre>
<pre>113: topFactor = topPos/deltaHeight;</pre>
<pre>in</pre>
<pre>113: topFactor = ( deltaHeight == 0 ) ? 0 : topPos/deltaHeight;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=199</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My favorite jQuery Grid.</title>
		<link>http://www.stevendewaele.be/?p=192</link>
		<comments>http://www.stevendewaele.be/?p=192#comments</comments>
		<pubDate>Sun, 07 Aug 2011 16:14:57 +0000</pubDate>
		<dc:creator>Steven De Waele</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[jqGrid]]></category>

		<guid isPermaLink="false">http://www.stevendewaele.be/?p=192</guid>
		<description><![CDATA[Are you looking for a grid with possible to do everything you want and gives you full control over your data? jqGrid is such a control. The possibilities are endless. XML data, Json Data, subgrids, treenodes, filter toolbar, search window and much, much more. Designing the grid isn’t difficult, because it supports jQuery themeroller. With [...]]]></description>
			<content:encoded><![CDATA[<p>Are you looking for a grid with possible to do everything you want and gives you full control over your data?</p>
<p>jqGrid is such a control. The possibilities are endless. XML data, Json Data, subgrids, treenodes, filter toolbar, search window and much, much more.</p>
<p>Designing the grid isn’t difficult, because it supports jQuery themeroller. With makes it possible to change the layout in a few clicks.</p>
<p>screenshot:</p>
<p><a rel="lightbox-jqgrid07082011" href="http://www.stevendewaele.be/wp-content/uploads/2011/08/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.stevendewaele.be/wp-content/uploads/2011/08/image_thumb.png" border="0" alt="image" width="625" height="224" /></a></p>
<p>The code:</p>
<div id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:ec91df5a-1ff1-4ecf-8664-235c8e8aa8cf" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="brush: jscript; gutter: true; first-line: 1; tab-size: 1;  toolbar: false;  width: 915px; height: 175px;" style="width: 915px; height: 175px; overflow: visible;">jQuery("#list2").jqGrid({
   	url:'server.php?q=2',
	datatype: "json",
   	colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'],
   	colModel:[
   		{name:'id',index:'id', width:55},
   		{name:'invdate',index:'invdate', width:90},
   		{name:'name',index:'name asc, invdate', width:100},
   		{name:'amount',index:'amount', width:80, align:"right"},
   		{name:'tax',index:'tax', width:80, align:"right"},
   		{name:'total',index:'total', width:80,align:"right"},
   		{name:'note',index:'note', width:150, sortable:false}
   	],
   	rowNum:10,
   	rowList:[10,20,30],
   	pager: '#pager2',
   	sortname: 'id',
    viewrecords: true,
    sortorder: "desc",
    caption:"JSON Example"
});
jQuery("#list2").jqGrid('navGrid','#pager2',{edit:false,add:false,del:false});</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></p>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Off course this is very basic grid but the possibilities are endless.</p>
<p>For more stay following my blog. I’ll post some nice features of this grid later on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stevendewaele.be/?feed=rss2&#038;p=192</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

