<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fransiscus Setiawan &#187; Javascript</title>
	<atom:link href="http://fransiscuss.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://fransiscuss.com</link>
	<description>My notepad of knowledge and my passion in development</description>
	<lastBuildDate>Tue, 22 May 2012 05:59:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fransiscuss.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Fransiscus Setiawan &#187; Javascript</title>
		<link>http://fransiscuss.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fransiscuss.com/osd.xml" title="Fransiscus Setiawan" />
	<atom:link rel='hub' href='http://fransiscuss.com/?pushpress=hub'/>
		<item>
		<title>Simple Paging using jQuery -Pajinate</title>
		<link>http://fransiscuss.com/2012/05/21/simple-paging-using-jquery-pajinate/</link>
		<comments>http://fransiscuss.com/2012/05/21/simple-paging-using-jquery-pajinate/#comments</comments>
		<pubDate>Mon, 21 May 2012 03:42:11 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=398</guid>
		<description><![CDATA[By using this library, it allows you to do the paging through the HTML DOM from the client side  (Note: this is not about the ideal way or not the ideal way, I know the ideal way is to do paging server side) To implement you just need to do 3 things: 1. Create a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=398&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By using this library, it allows you to do the paging through the HTML DOM from the client side  (Note: this is not about the ideal way or not the ideal way, I know the ideal way is to do paging server side)</p>
<p>To implement you just need to do 3 things:</p>
<p>1. Create a div container that wraps the container of item that you want to repeat and the navigation div, you can call it whatever you want</p>
<p>2. Create a div inside the container with class &#8220;page_navigation&#8221;</p>
<p>3. put class &#8220;content&#8221; on the container of the list item</p>
<p><strong>Sample</strong></p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:400px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;" start="1">
<li><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&#8221;page_container&#8221;&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">=&#8221;page_navigation&#8221;&gt;&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></li>
<li>    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">ul</span> <span style="color:#ff0000;">class</span><span style="color:#0000ff;">=&#8221;content&#8221;&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>One<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Two<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Three<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Four<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Five<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Six<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Seven<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span>Eight<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">p</span><span style="color:#0000ff;">&gt;</span></li>
<li>        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">ul</span><span style="color:#0000ff;">&gt;</span></li>
<li><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></li>
</ol>
</div>
</div>
<p>and I put this code on the document.ready event based on the id set on item 1</p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2em;padding:0 0 0 5px;" start="1">
<li><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">SCRIPT</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;">    jQuery(document).ready(<span style="color:#0000ff;">function</span> () {</li>
<li>        jQuery(<span style="color:#800000;">&#8216;#page_container&#8217;</span>).pajinate({ items_per_page: 2 });</li>
<li style="background:#f3f3f3;">    });</li>
<li><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">SCRIPT</span><span style="color:#0000ff;">&gt;</span></li>
</ol>
</div>
</div>
<p>The source code can be downloaded from <a title="jQuery Pajinate" href="http://dl.dropbox.com/u/4151695/th3silverlining/pajinate.zip" target="_blank">here</a></p>
<p>and you can read the documentation from this <a href="https://github.com/wesnolte/Pajinate/wiki" target="_blank">github </a>page</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/398/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=398&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2012/05/21/simple-paging-using-jquery-pajinate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>Knockout MVVM Javascript</title>
		<link>http://fransiscuss.com/2012/05/20/knockout-mvvm-javascript/</link>
		<comments>http://fransiscuss.com/2012/05/20/knockout-mvvm-javascript/#comments</comments>
		<pubDate>Sun, 20 May 2012 21:23:42 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Knockout]]></category>
		<category><![CDATA[MVVM]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=394</guid>
		<description><![CDATA[Knockout allows you to bind the HTML to your javascript object. It simplifies DOM manipulation and allow the portability of the javascript object and action. It is pretty much the same concept as MVVM in silverlight. You can wire up the function with button click easily, you can have for each against your array (e.g [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=394&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Knockout allows you to bind the HTML to your javascript object. It simplifies DOM manipulation and allow the portability of the javascript object and action. It is pretty much the same concept as MVVM in silverlight. You can wire up the function with button click easily, you can have for each against your array (e.g like repeater). It is so elegant, but debugging sometimes can be challenging as well. I&#8217;ve used Knockout along with JSON that allows me to build rich and interactive website</p>
<p>2 powerful function: ko.observable &#8211; this allow knockout to monitor this object value, ko.observableArray this is the extension of ko.observable against the array. With observable, knockout will keep tracking the value of that property and allow the DOM that has been bind against it to refresh</p>
<p>You can bind initial data from your MVC model to the variable in javascript and bind it, in this sample below, I use ToJson extension function</p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;" start="6">
<li><span style="color:#0000ff;">namespace</span> System.Web.Mvc</li>
<li style="background:#f3f3f3;">{</li>
<li>    <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">class</span> <span style="color:#2b91af;">HtmlHelperExtensions</span></li>
<li style="background:#f3f3f3;">    {</li>
<li>        <span style="color:#808080;">///</span><span style="color:#808080;">&lt;summary&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#808080;">///</span><span style="color:#008000;"> Serializes an object to Javascript Object Notation.</span></li>
<li>        <span style="color:#808080;">///</span><span style="color:#808080;">&lt;/summary&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#808080;">///</span><span style="color:#808080;">&lt;param name=&#8221;item&#8221;&gt;</span><span style="color:#008000;">The item to serialize.</span><span style="color:#808080;">&lt;/param&gt;</span></li>
<li>        <span style="color:#808080;">///</span><span style="color:#808080;">&lt;returns&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#808080;">///</span><span style="color:#008000;"> The item serialized as Json.</span></li>
<li>        <span style="color:#808080;">///</span><span style="color:#808080;">&lt;/returns&gt;</span></li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">string</span> ToJson(<span style="color:#0000ff;">this</span> <span style="color:#0000ff;">object</span> item)</li>
<li>        {</li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">return</span> <span style="color:#0000ff;">new</span> System.Web.Script.Serialization.<span style="color:#2b91af;">JavaScriptSerializer</span>().Serialize(item);</li>
<li>        }</li>
<li style="background:#f3f3f3;">    }</li>
<li>}</li>
</ol>
</div>
</div>
<p><strong>Sample code</strong></p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;" start="5">
<li><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">script</span> <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=&#8221;text/javascript&#8221;&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">var</span> initialData = <span style="background:#ffff00;">@(</span><span style="color:#0000ff;">new</span> <span style="color:#2b91af;">MvcHtmlString</span>(Model.ToJson())<span style="background:#ffff00;">)</span>;</li>
<li></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">function</span> JobResultViewModel()</li>
<li>    {</li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">var</span> self = <span style="color:#0000ff;">this</span>;</li>
<li>        self.Jobs = ko.observableArray(initialData.JobSearchResults);</li>
<li style="background:#f3f3f3;">        self.Search = ko.observable(initialData.JobSearchModel);</li>
<li>        self.Pageno = ko.observable(initialData.PageNo);</li>
<li style="background:#f3f3f3;">        self.TotalPage = ko.observable(initialData.TotalPage);</li>
<li>        self.TotalRecord = initialData.TotalRecord;</li>
<li style="background:#f3f3f3;">        self.ShowNextButton = ko.computed(<span style="color:#0000ff;">function</span>(){</li>
<li>                                            <span style="color:#0000ff;">return</span> self.Pageno() &lt; (self.TotalPage() &#8211; 1);</li>
<li style="background:#f3f3f3;">                                            });</li>
<li>        self.LoadNextPage = <span style="color:#0000ff;">function</span>() {</li>
<li style="background:#f3f3f3;">                               $.getJSON(<span style="color:#800000;">&#8216;</span><span style="background:#ffff00;color:#800000;">@</span>Url.Action(<span style="color:#a31515;">&#8220;ResultJson&#8221;</span>)<span style="color:#800000;">&#8216;</span>, {  Keyword: (self.Search().Keyword == <span style="color:#0000ff;">null</span>) ? <span style="color:#800000;">&#8220;&#8221;</span> : self.Search().Keyword,</li>
<li>                                                                      ProfessionId: self.Search().ProfessionId,</li>
<li style="background:#f3f3f3;">                                                                      RoleIds: self.Search().RoleId,</li>
<li>                                                                      SalaryTypeId: self.Search().SalaryTypeId,</li>
<li style="background:#f3f3f3;">                                                                      SalaryFromId: self.Search().SalaryFromId,</li>
<li>                                                                      SalaryToId: self.Search().SalaryToId,</li>
<li style="background:#f3f3f3;">                                                                      LocationId: self.Search().LocationId,</li>
<li>                                                                      AreaIds: (self.Search().AreaId.length == 0) ? 0 : self.Search().AreaId,</li>
<li style="background:#f3f3f3;">                                                                      WorkTypeId: self.Search().WorkTypeId,</li>
<li>                                                                      Pageno: self.Pageno() + 1</li>
<li style="background:#f3f3f3;">                                                                   }, <span style="color:#0000ff;">function</span> (SearchResult) {</li>
<li>                                                                            $.each(SearchResult, <span style="color:#0000ff;">function</span>(i, item)</li>
<li style="background:#f3f3f3;">                                                                            {</li>
<li>                                                                                self.Jobs.push(item);</li>
<li style="background:#f3f3f3;">                                                                            });</li>
<li></li>
<li style="background:#f3f3f3;">                                                                            self.Pageno(self.Pageno() + 1);</li>
<li></li>
<li style="background:#f3f3f3;">                                                                            <span style="color:#006400;">//we need to refresh the repeater when we use jquery mobile ONLY</span></li>
<li>                                                                            $(<span style="color:#800000;">&#8220;#JobRepeater&#8221;</span>).listview(<span style="color:#800000;">&#8220;refresh&#8221;</span>);</li>
<li style="background:#f3f3f3;">                                                                        });</li>
<li>                                        }</li>
<li style="background:#f3f3f3;"></li>
<li>    }</li>
<li style="background:#f3f3f3;"></li>
<li>    ko.applyBindings(<span style="color:#0000ff;">new</span> JobResultViewModel());</li>
<li style="background:#f3f3f3;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">script</span><span style="color:#0000ff;">&gt;</span></li>
<li><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">h2</span><span style="color:#0000ff;">&gt;</span>Result<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">h2</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;"></li>
<li><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">h1</span><span style="color:#0000ff;">&gt;</span>There are <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">span</span> <span style="color:#ff0000;">data-bind</span><span style="color:#0000ff;">=&#8221;text: TotalRecord&#8221;&gt;&lt;/</span><span style="color:#800000;">span</span><span style="color:#0000ff;">&gt;</span> jobs<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">h1</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">a</span><span style="color:#0000ff;">&gt;</span>Save Search<span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">a</span><span style="color:#0000ff;">&gt;</span></li>
<li><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">ul</span> <span style="color:#ff0000;">name</span><span style="color:#0000ff;">=&#8221;JobRepeater&#8221;</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&#8221;JobRepeater&#8221;</span> <span style="color:#ff0000;">data-role</span><span style="color:#0000ff;">=&#8221;listview&#8221;</span> <span style="color:#ff0000;">data-bind</span><span style="color:#0000ff;">=&#8221;foreach: Jobs&#8221;&gt;</span></li>
<li style="background:#f3f3f3;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;&lt;</span><span style="color:#800000;">a</span> <span style="color:#ff0000;">data-bind</span><span style="color:#0000ff;">=&#8221;attr: { href: UrlAction, title: JobName },text : JobName&#8221;&gt;&lt;/</span><span style="color:#800000;">a</span><span style="color:#0000ff;">&gt;&lt;</span><span style="color:#800000;">span</span> <span style="color:#ff0000;">data-bind</span><span style="color:#0000ff;">=&#8221;text: Description&#8221;&gt;&lt;/</span><span style="color:#800000;">span</span><span style="color:#0000ff;">&gt;&lt;/</span><span style="color:#800000;">li</span><span style="color:#0000ff;">&gt;</span></li>
<li><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">ul</span><span style="color:#0000ff;">&gt;</span></li>
<li style="background:#f3f3f3;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">div</span> <span style="color:#ff0000;">data-bind</span><span style="color:#0000ff;">=&#8221;visible: ShowNextButton&#8221;&gt;</span></li>
<li>    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">input</span> <span style="color:#ff0000;">type</span><span style="color:#0000ff;">=&#8221;button&#8221;</span> <span style="color:#ff0000;">id</span><span style="color:#0000ff;">=&#8221;btn_load_next&#8221;</span> <span style="color:#ff0000;">value</span><span style="color:#0000ff;">=&#8221;Load More&#8221;</span> <span style="color:#ff0000;">data-bind</span><span style="color:#0000ff;">=&#8221;click: LoadNextPage&#8221;/&gt;</span></li>
<li style="background:#f3f3f3;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">div</span><span style="color:#0000ff;">&gt;</span></li>
</ol>
</div>
</div>
<p>Source:</p>
<p><a title="Knockout Tutorial" href="http://learn.knockoutjs.com/" target="_blank">Knockout Tutorial</a></p>
<p><a title="Knockout Tips" href="http://www.knockmeout.net/2011/06/10-things-to-know-about-knockoutjs-on.html" target="_blank">Knockout Tips</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=394&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2012/05/20/knockout-mvvm-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>Pass Model from Javascript to MVC Controller</title>
		<link>http://fransiscuss.com/2012/05/15/pass-model-from-javascript-to-mvc-controller/</link>
		<comments>http://fransiscuss.com/2012/05/15/pass-model-from-javascript-to-mvc-controller/#comments</comments>
		<pubDate>Tue, 15 May 2012 23:34:46 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=362</guid>
		<description><![CDATA[Initially, I always pass individual object properties through JSON and form the model in the controller as I wasn&#8217;t sure how to pass/form a model from Javascript to controller Controller Code Snippet [AllowAnonymous]         public ActionResult JsonRegister(string username, string password, string confirmpassword,                                             string email, string confirmemail)         {             MemberModel.RegistrationModel model = new MemberModel.RegistrationModel() {                                                                                         UserName = username, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=362&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Initially, I always pass individual object properties through JSON and form the model in the controller as I wasn&#8217;t sure how to pass/form a model from Javascript to controller</p>
<p><strong>Controller</strong></p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 3em;padding:0 0 0 5px;" start="121">
<li>[<span style="color:#2b91af;">AllowAnonymous</span>]</li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">public</span> <span style="color:#2b91af;">ActionResult</span> JsonRegister(<span style="color:#0000ff;">string</span> username, <span style="color:#0000ff;">string</span> password, <span style="color:#0000ff;">string</span> confirmpassword,</li>
<li>                                            <span style="color:#0000ff;">string</span> email, <span style="color:#0000ff;">string</span> confirmemail)</li>
<li style="background:#f3f3f3;">        {</li>
<li>            <span style="color:#2b91af;">MemberModel</span>.<span style="color:#2b91af;">RegistrationModel</span> model = <span style="color:#0000ff;">new</span> <span style="color:#2b91af;">MemberModel</span>.<span style="color:#2b91af;">RegistrationModel</span>() {</li>
<li style="background:#f3f3f3;">                                                                                        UserName = username,</li>
<li>                                                                                        Password = password,</li>
<li style="background:#f3f3f3;">                                                                                        ConfirmPassword = confirmpassword,</li>
<li>                                                                                        Email = email,</li>
<li style="background:#f3f3f3;">                                                                                        ConfirmEmail = confirmemail };</li>
</ol>
</div>
</div>
<p><strong>Javascript</strong></p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;" start="11">
<li>$.getJSON(<span style="color:#800000;">&#8216;</span><span style="background:#ffff00;color:#800000;">@</span>Url.Action(<span style="color:#a31515;">&#8220;JsonRegister&#8221;</span>)<span style="color:#800000;">&#8216;</span>, { UserName: $(<span style="color:#800000;">&#8220;#UserName&#8221;</span>).val(),</li>
<li style="background:#f3f3f3;">                                                    Password: $(<span style="color:#800000;">&#8220;#Password&#8221;</span>).val(),</li>
<li>                                                    ConfirmPassword: $(<span style="color:#800000;">&#8220;#ConfirmPassword&#8221;</span>).val(),</li>
<li style="background:#f3f3f3;">                                                    Email: $(<span style="color:#800000;">&#8220;#Email&#8221;</span>).val(),</li>
<li>                                                    ConfirmEmail: $(<span style="color:#800000;">&#8220;#ConfirmEmail&#8221;</span>).val()</li>
<li style="background:#f3f3f3;">                                                }, <span style="color:#0000ff;">function</span> (RegisterResult) {</li>
<li>                                                        <span style="color:#0000ff;">if</span> (RegisterResult.success) {</li>
<li style="background:#f3f3f3;">                                                            $(<span style="color:#800000;">&#8216;#RegistrationFields&#8217;</span>).hide();</li>
<li>                                                            $(<span style="color:#800000;">&#8216;#ErrorMessage&#8217;</span>).text(<span style="color:#800000;">&#8221;</span>);</li>
<li style="background:#f3f3f3;">                                                            $(<span style="color:#800000;">&#8216;#RegistrationMessage&#8217;</span>).css(<span style="color:#800000;">&#8216;display&#8217;</span>, <span style="color:#800000;">&#8221;</span>);</li>
<li>                                                        }</li>
<li style="background:#f3f3f3;">                                                        <span style="color:#0000ff;">else</span> {</li>
<li>                                                            $(<span style="color:#800000;">&#8216;#ErrorMessage&#8217;</span>).css(<span style="color:#800000;">&#8216;display&#8217;</span>, <span style="color:#800000;">&#8221;</span>).text(RegisterResult.errors);</li>
<li style="background:#f3f3f3;">                                                        }</li>
<li>        });</li>
</ol>
</div>
</div>
<p>the code above is working just fine but I still feel that there is room for improvement. Below is the code that shows how you can still have your controller accepting the model instead of expanding the properties in the model as the parameters to the controller.<span style="text-decoration:underline;"><em><strong> The solution is just to have the model being assigned to a variable (in this context called as data) before passing it to the JSON, my previous code was forming the actual object in the JSON code</strong></em></span></p>
<p><strong>Controller</strong></p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 3em;padding:0 0 0 5px;" start="121">
<li>[<span style="color:#2b91af;">AllowAnonymous</span>]</li>
<li style="background:#f3f3f3;">        <span style="color:#0000ff;">public</span> <span style="color:#2b91af;">ActionResult</span> JsonRegister(<span style="color:#2b91af;">MemberModel</span>.<span style="color:#2b91af;">RegistrationModel</span> model)</li>
<li>        {</li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">string</span> error = <span style="color:#0000ff;">string</span>.Empty;</li>
<li></li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">if</span> (ModelState.IsValid)</li>
</ol>
</div>
</div>
<p><strong>Javascript</strong></p>
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;" start="9">
<li><span style="color:#0000ff;">var</span> data = { UserName: $(<span style="color:#800000;">&#8220;#UserName&#8221;</span>).val(),</li>
<li style="background:#f3f3f3;">            Password: $(<span style="color:#800000;">&#8220;#Password&#8221;</span>).val(),</li>
<li>            ConfirmPassword: $(<span style="color:#800000;">&#8220;#ConfirmPassword&#8221;</span>).val(),</li>
<li style="background:#f3f3f3;">            Email: $(<span style="color:#800000;">&#8220;#Email&#8221;</span>).val(),</li>
<li>            ConfirmEmail: $(<span style="color:#800000;">&#8220;#ConfirmEmail&#8221;</span>).val()</li>
<li style="background:#f3f3f3;">        };</li>
<li></li>
<li style="background:#f3f3f3;">        $.getJSON(<span style="color:#800000;">&#8216;</span><span style="background:#ffff00;color:#800000;">@</span>Url.Action(<span style="color:#a31515;">&#8220;JsonRegister&#8221;</span>)<span style="color:#800000;">&#8216;</span>, data, <span style="color:#0000ff;">function</span> (RegisterResult) {</li>
<li>            <span style="color:#0000ff;">if</span> (RegisterResult.success) {</li>
<li style="background:#f3f3f3;">                $(<span style="color:#800000;">&#8216;#RegistrationFields&#8217;</span>).hide();</li>
<li>                $(<span style="color:#800000;">&#8216;#ErrorMessage&#8217;</span>).text(<span style="color:#800000;">&#8221;</span>);</li>
<li style="background:#f3f3f3;">                $(<span style="color:#800000;">&#8216;#RegistrationMessage&#8217;</span>).css(<span style="color:#800000;">&#8216;display&#8217;</span>, <span style="color:#800000;">&#8221;</span>);</li>
<li>            }</li>
<li style="background:#f3f3f3;">            <span style="color:#0000ff;">else</span> {</li>
<li>                $(<span style="color:#800000;">&#8216;#ErrorMessage&#8217;</span>).css(<span style="color:#800000;">&#8216;display&#8217;</span>, <span style="color:#800000;">&#8221;</span>).text(RegisterResult.errors);</li>
<li style="background:#f3f3f3;">            }</li>
<li>        });</li>
</ol>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/362/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=362&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2012/05/15/pass-model-from-javascript-to-mvc-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging Knockout</title>
		<link>http://fransiscuss.com/2012/05/10/debugging-knockout/</link>
		<comments>http://fransiscuss.com/2012/05/10/debugging-knockout/#comments</comments>
		<pubDate>Thu, 10 May 2012 00:03:42 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/2012/05/10/debugging-knockout/</guid>
		<description><![CDATA[I&#8217;ve been learning Knockout recently and I found that sometimes it is hard to find out how your View Model is being formed especially when you create the view from Model in MVC To inspect your view model, you can use firebug console and run below command, this will give you a full navigated View [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=354&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been learning Knockout recently and I found that sometimes it is hard to find out how your View Model is being formed especially when you create the view from Model in MVC</p>
<p>To inspect your view model, you can use firebug console and run below command, this will give you a full navigated View Model and allow you to drill down</p>
<p>console.group(&#8220;Dumping view model&#8221;);<br />
console.dir(ko.toJS(new JobResultViewModel()));<br />
console.groupEnd();</p>
<p>alternatively you can also put this code in your template</p>
<p>&lt;div data-bind=&#8221;text: ko.toJSON($data)&#8221;&gt;&lt;/div&gt;</p>
<p>Feel free to let me know if you have any other way to debug</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=354&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2012/05/10/debugging-knockout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>Delayed Script/Waiting in Javascript</title>
		<link>http://fransiscuss.com/2011/11/30/delayed-scriptwaiting-in-javascript/</link>
		<comments>http://fransiscuss.com/2011/11/30/delayed-scriptwaiting-in-javascript/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 02:55:22 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=346</guid>
		<description><![CDATA[I was struggling in finding out of how to make a simple delegate like in AJAX request through javascript. It takes me a few days to figure this out Basically the problems are: -I need to execute a piece code of javascript after getting the ticket from web service function -The webservice function might not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=346&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was struggling in finding out of how to make a simple delegate like in AJAX request through javascript. It takes me a few days to figure this out</p>
<p><strong>Basically the problems are:</strong></p>
<p>-I need to execute a piece code of javascript after getting the ticket from web service function</p>
<p>-The webservice function might not be responding to the first request because it waits for the state of the other external component</p>
<p>-The webservice will give the response when the external component is ready</p>
<p>-The client does not know when the external component is ready, neither the web service. But it wil be ready within 1-5 minutes which again depending external component</p>
<p><strong>Possible Solution:</strong></p>
<p>-Using the setTimeOut(function(){acquireTicket();}, 300000) will cause the application to wait for 5 mins before calling the web service , this approach will slowing down the user experience and waste of time because the external component can be ready earlier than 5 mins</p>
<p>-Using the while loop is not good because it makes the browser freezing while waiting and it will wasting the processing power because of the looping</p>
<p><strong>Recommended Solution:</strong></p>
<p>-Recall the function by itself using setTimeout Function using parameter to indicate whether it should go out of the loop or not</p>
<p>-The web service will be checked for every 2 seconds to check the response from the external component. Once the external component is ready then it will move on to execute the next line of code</p>
<p>-<a href="http://fransiscuss.files.wordpress.com/2011/11/image0015.png"><img class="alignnone size-full wp-image-347" title="image0015" src="http://fransiscuss.files.wordpress.com/2011/11/image0015.png?w=600&h=755" alt="" width="600" height="755" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=346&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2011/11/30/delayed-scriptwaiting-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>

		<media:content url="http://fransiscuss.files.wordpress.com/2011/11/image0015.png" medium="image">
			<media:title type="html">image0015</media:title>
		</media:content>
	</item>
		<item>
		<title>Access javascript object properties with invalid character</title>
		<link>http://fransiscuss.com/2011/11/17/access-javascript-object-properties-with-invalid-character/</link>
		<comments>http://fransiscuss.com/2011/11/17/access-javascript-object-properties-with-invalid-character/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 00:47:18 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=342</guid>
		<description><![CDATA[ParseJSON returning you an object from your AJAX Call, the problem that I have is my object properties has invalid character (e.g “#”) Assuming jsonData is my variable that contains the following information I’d like to grab the property of “#innerxml” Normally I can do this to get the property of an object but in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=342&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ParseJSON returning you an object from your AJAX Call, the problem that I have is my object properties has invalid character (e.g “#”)</p>
<p>Assuming jsonData is my variable that contains the following information</p>
<p><a href="http://fransiscuss.files.wordpress.com/2011/11/image0014.png"><img class="alignnone size-full wp-image-343" title="image0014" src="http://fransiscuss.files.wordpress.com/2011/11/image0014.png?w=600&h=112" alt="" width="600" height="112" /></a></p>
<p>I’d like to grab the property of “#innerxml”</p>
<p>Normally I can do this to get the property of an object but in this case I can’t due to invalid character</p>
<p>(jQuery.parseJSON(jsonData)[0]).#innerxml</p>
<p><a href="http://fransiscuss.files.wordpress.com/2011/11/image0022.png"><img class="alignnone size-full wp-image-344" title="image0022" src="http://fransiscuss.files.wordpress.com/2011/11/image0022.png?w=600&h=127" alt="" width="600" height="127" /></a></p>
<p>So How do I access an object which has properties where one of the property name is using an invalid character (e.g “#”)</p>
<p>I can access with the following style</p>
<p>(jQuery.parseJSON(jsonData)[0])['#innerxml']</p>
<p><a href="http://fransiscuss.files.wordpress.com/2011/11/image0032.png"><img class="alignnone size-full wp-image-345" title="image0032" src="http://fransiscuss.files.wordpress.com/2011/11/image0032.png?w=600&h=75" alt="" width="600" height="75" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/342/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=342&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2011/11/17/access-javascript-object-properties-with-invalid-character/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>

		<media:content url="http://fransiscuss.files.wordpress.com/2011/11/image0014.png" medium="image">
			<media:title type="html">image0014</media:title>
		</media:content>

		<media:content url="http://fransiscuss.files.wordpress.com/2011/11/image0022.png" medium="image">
			<media:title type="html">image0022</media:title>
		</media:content>

		<media:content url="http://fransiscuss.files.wordpress.com/2011/11/image0032.png" medium="image">
			<media:title type="html">image0032</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Collapsible Panel using JQuery</title>
		<link>http://fransiscuss.com/2011/10/26/simple-collapsible-panel-using-jquery/</link>
		<comments>http://fransiscuss.com/2011/10/26/simple-collapsible-panel-using-jquery/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 08:48:43 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/2011/10/26/simple-collapsible-panel-using-jquery/</guid>
		<description><![CDATA[I found a simple collapsible panel developed by a guy called Darren Ingram and I&#8217;d definitely recommend it to anyone wanted to implement collapsible panel. His Jquery implementation of collapsible panel is very simple. It just need 2 files (diQuery-collapsiblePanel.js and diQuery-collapsiblePanel.css &#8211; where the css classes can even be integrated to your own css [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=300&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found a simple collapsible panel developed by a guy called Darren Ingram and I&#8217;d definitely recommend it to anyone wanted to implement collapsible panel. His Jquery implementation of collapsible panel is very simple. It just need 2 files (<strong>diQuery-collapsiblePanel.js</strong> and <strong>diQuery-collapsiblePanel.css</strong> &#8211; where the css classes can even be integrated to your own css class). I prefer this implementation because it&#8217;s just a div implementation and the JQuery script will be hooked up to the div elements (where the class name is <strong>collapsibleContainer</strong>) upon the page loaded. Simple and lightweight in comparison to the collapsible panel of AJAX toolkit (<a href="http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CollapsiblePanel/CollapsiblePanel.aspx">http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CollapsiblePanel/CollapsiblePanel.aspx</a>)</p>
<p>the source code for the collapsible panel by Darren Ingram can be downloaded from his website <a>(http://www.darreningram.net/pages/examples/jQuery/CollapsiblePanelPlugin.aspx</a>)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=300&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2011/10/26/simple-collapsible-panel-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript Decode/Encode unicode character (IE)</title>
		<link>http://fransiscuss.com/2011/02/15/javascript-decodeencode-unicode-character-ie/</link>
		<comments>http://fransiscuss.com/2011/02/15/javascript-decodeencode-unicode-character-ie/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 00:51:29 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[unicode decode encode]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=293</guid>
		<description><![CDATA[Simple function to encode and decode UTF8 character for unicode (this is for IE) Encode utf8bytes= unescape(encodeURIComponent(unicodecharacters)); Decode unicodecharacters= decodeURIComponent(escape(utf8bytes));<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=293&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Simple function to encode and decode UTF8 character for unicode (this is for IE)</p>
<p>Encode</p>
<p>utf8bytes= unescape(encodeURIComponent(unicodecharacters));</p>
<p>Decode</p>
<p>unicodecharacters= decodeURIComponent(escape(utf8bytes));</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=293&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2011/02/15/javascript-decodeencode-unicode-character-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>Enter button in TextBox ASP.NET</title>
		<link>http://fransiscuss.com/2010/08/17/enter-button-in-textbox-aspnet/</link>
		<comments>http://fransiscuss.com/2010/08/17/enter-button-in-textbox-aspnet/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 05:28:50 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Keypress]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=276</guid>
		<description><![CDATA[This article is demonstrating how to wire up an enter key into a textbox. For example you have a search text box where you press enter then it will click go button and at the same page you have another textbox where you want to do another button click when you press the enter which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=276&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article is demonstrating how to wire up an enter key into a textbox. For example you have a search text box where you press enter then it will click go button and at the same page you have another textbox where you want to do another button click when you press the enter which means it&#8217; is not necessary to post the page. This java script is used to capture the key event of enter and execute the LinkButton and ASP.NET button Click Event on the server side. Please add this javascript to your javascript common library or add this to your master page. This piece of code works in Firefox as well</p>
<pre>

function ButtonKeyPress(evt, thisElementName)
{
    if(evt.which || evt.keyCode)
    {
        if ((evt.which == 13) || (evt.keyCode == 13))
        {
            // alert('post back href: ' +document.getElementById(thisElementName).href);

            if (typeof document.getElementById(thisElementName).href != 'undefined')
            {
                location = document.getElementById(thisElementName).href;
            }
            else
            {
                document.getElementById(thisElementName).click();
            }
            return false;
        }
    }
    else
    {
        return true;
    }
}
</pre>
<p>And add this to your .NET code behind on the page load</p>
<pre>
 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
         If Not Page.IsPostBack Then


            If (User.Identity.IsAuthenticated) Then
                Response.Redirect("frmTimeMain.aspx")
            End If

            txtGUID.Attributes.Add("onkeydown", "ButtonKeyPress(event, '" + lnkSubmit.ClientID + "')")
            txtPassword.Attributes.Add("onkeydown", "ButtonKeyPress(event, '" + lnkSubmit.ClientID + "')")
          End If
    End Sub
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=276&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2010/08/17/enter-button-in-textbox-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET Calendar selected day on click method</title>
		<link>http://fransiscuss.com/2010/08/17/aspnet-calendar-selected-day-on-click-method/</link>
		<comments>http://fransiscuss.com/2010/08/17/aspnet-calendar-selected-day-on-click-method/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 05:17:24 +0000</pubDate>
		<dc:creator>fransiscuss</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Calendar javascript]]></category>
		<category><![CDATA[Calendar Selected Date]]></category>

		<guid isPermaLink="false">http://fransiscuss.com/?p=274</guid>
		<description><![CDATA[I&#8217;ve a case where I have an ASP.NET calendar that has a page load method that automatically select a date when it&#8217;s loaded. I also have an event defined for Selected_Changed which will be triggered only when the user select any other date other than pre-selected date on the load Private Sub ctlCalendar_SelectionChanged(ByVal sender As [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=274&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve a case where I have an ASP.NET calendar that has a page load method that automatically select a date when it&#8217;s loaded. I also have an event defined for Selected_Changed which will be triggered only when the user select any other date other than pre-selected date on the load</p>
<pre>
Private Sub ctlCalendar_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlCalendar.SelectionChanged
        If (Not String.IsNullOrEmpty(CalendarPreviousPage)) Then
            BaseCalendar.SelectedDate = ctlCalendar.SelectedDate
            Response.Redirect(CalendarPreviousPage)
        End If
    End Sub
</pre>
<p>But how do I wire up an event or when the selecteddate being clicked?You can use DayRender event and attach it to a javascript in this case I want to go back to previous page. BaseCalendar.Selected date can be any date where you want to set up/wire up the logic</p>
<pre>
 Private Sub ctlCalendar_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles ctlCalendar.DayRender
        Dim d As CalendarDay
        Dim c As TableCell
        d = e.Day
        c = e.Cell

        If (BaseCalendar.SelectedDate.Value = d.Date) Then
            c.Attributes.Add("OnClick", "history.go(-1)")
        End If

    End Sub
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fransiscuss.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fransiscuss.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fransiscuss.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fransiscuss.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fransiscuss.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fransiscuss.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fransiscuss.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fransiscuss.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fransiscuss.com&#038;blog=26182965&#038;post=274&#038;subd=fransiscuss&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fransiscuss.com/2010/08/17/aspnet-calendar-selected-day-on-click-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70e5c1d49eb30cdc979601f6e85e962a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fransiscuss</media:title>
		</media:content>
	</item>
	</channel>
</rss>
