<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sushantp's Weblog</title>
	<atom:link href="http://sushantp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sushantp.wordpress.com</link>
	<description>Who am I what am I doing?</description>
	<lastBuildDate>Thu, 13 Aug 2009 19:02:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sushantp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/cb02aeef17ba206ff9e03bf990a13302?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Sushantp's Weblog</title>
		<link>http://sushantp.wordpress.com</link>
	</image>
			<item>
		<title>Co-Founding Effect Labs &#8211; bringing dream to reality &#8211; mix of passion, hard work and big Dreams :)</title>
		<link>http://sushantp.wordpress.com/2009/08/14/co-founding-effect-labs-bringing-dream-to-reality-mix-of-passion-hard-work-and-big-dreams/</link>
		<comments>http://sushantp.wordpress.com/2009/08/14/co-founding-effect-labs-bringing-dream-to-reality-mix-of-passion-hard-work-and-big-dreams/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 18:58:56 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Effect Labs]]></category>
		<category><![CDATA[EffectLabs]]></category>
		<category><![CDATA[india startup]]></category>
		<category><![CDATA[start-up]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[startups in delhi]]></category>
		<category><![CDATA[startups in new delhi]]></category>
		<category><![CDATA[startups in Noida]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=177</guid>
		<description><![CDATA[I was out of blogging arena for past few months&#8230; the title should give some hint on what I was busy with. I with my two friends has set up an IT consulting firm called Effect Labs (http://effectlabs.com) which focus on Silverlight and Sharepoint based custom application development.
 
Journey:
Since my Microsoft days, it was there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=177&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was out of blogging arena for past few months&#8230; the title should give some hint on what I was busy with. I with my two friends has set up an IT consulting firm called Effect Labs (<a title="Effect Labs" href="http://effectlabs.com" target="_blank">http://effectlabs.com</a>) which focus on Silverlight and Sharepoint based custom application development.</p>
<p><a rel="attachment wp-att-179" href="http://sushantp.wordpress.com/2009/08/14/co-founding-effect-labs-bringing-dream-to-reality-mix-of-passion-hard-work-and-big-dreams/clip_image001/"><img class="alignnone size-full wp-image-179" title="Effect Labs" src="http://sushantp.files.wordpress.com/2009/08/clip_image001.jpg?w=129&#038;h=42" alt="Effect Labs" width="129" height="42" /></a><strong> </strong></p>
<p><strong>Journey:</strong></p>
<p>Since my Microsoft days, it was there somewhere but due to several things going within and around, it just didn&#8217;t came out then. Though to keep myself ignited I joined a services start-up so that I see the services side of the software industry and explore various opportunities.</p>
<p>That was the time when I and my friends joined together and we were hardcore thinkers of the product development in the area of Tourism, Media Studio, GPS based systems, Controls making company, Silverlight based CMS system, Job portal industry, Online test platform and actually various other options and opportunities. We all had our own thinking for the products and we finally came close on a few. But due to lack of funding and recession hitting at the same time our conversations didn&#8217;t went well with the investors. This left us thinking again.</p>
<p>Since all three of us had really good experience with the services industry and had different expertise with some common technologies to work with. This made us think seriously in the direction of setting up an IT services firm and helping businesses with the custom processes where we are good and some of the cool things we do here. One of us being highly creative with programming <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   and playing with Silverlight it came out really well to be used as one of the pillars, Another being highly experienced with SharePoint custom development and integration with Silverlight it came out as another pillar and ASP.NET\MVC\jQuery\JSON\WCF etc is common across us so this helped us concentrating on Microsoft technologies as well as playing the common work area.</p>
<p>These pillars helped us setting up a plan where we keep out instinct of being on the product side up too but just putting say a small holding time. We planned to start with Services offerings, working parallel in developing customized solutions as these work well in form of packaged services products like Silverlight controls, media kit etc Setting up these two and establishing good process and name among clients would take a bit of time but would help us leveraging out strengths to product development too.</p>
<p>There are many things if I talk about service offerings but I think its already a lot written above about the company so I will write things what I feel like about a company. Just to showcase the offerings in a splash here it goes &#8211; custom process setup using TFS 2008 &#8211; complete project management and collaboration with integration of VS, TFS, Sharepoint, SSRS etc and customizing TFS process templates according to a company or project needs, Custom application development using various Microsoft technologies like ASP.NET 3.5, ASP.NET MVC, C# 3.5, WCF, WPF, Expression Blend, Silverlight (Prism, Caliburn), Sharepoint etc. and various other technologies, platforms and tools like Photoshop, jQuery, Ajax with JSON, javascript, Ext-JS etc. We bring in high quality and great user experience in the works we do and have done. There&#8217;s much to say here but lets put a stop now.</p>
<p>I follow and would suggest one thing &#8211; <em>Think what you do and do what you love</em>.  This is really very important and separates you. If you are reading this I would say to ask yourself a question &#8211; <em>am I happy doing what I do today</em>? (you cant be satisfied since it stops progress) If the answer is YES then you are on the right path but if it NO then this is the right time to think and find out a way to do what interests you because it gives a lot of pleasure and ultimately you progress the best in your interest area.</p>
<p>I hope this journey would be extraordinary and keep me on my toes always. There a long way to go and a lot of patience at this stage is required. We are fortunate to get a good start but still have seen hard time during this last 3 months &#8211; Patience and self motivation are key in this practice.</p>
<p>I have taken up the role of Techno\Business person in the company where I do coding, learn and implement new technologies, come up with working demos and finding process\software optimizations etc as well as looking into business expansion, doing strategic partnerships, maintaining business relationship so that we get recurring business etc There&#8217;s a lot involved actually.</p>
<p>I would now be writing a mix of both technology and business in due course. Hope the experience would be good.</p>
<p>Thanks.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/177/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=177&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/08/14/co-founding-effect-labs-bringing-dream-to-reality-mix-of-passion-hard-work-and-big-dreams/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2009/08/clip_image001.jpg" medium="image">
			<media:title type="html">Effect Labs</media:title>
		</media:content>
	</item>
		<item>
		<title>Using IFrames for multiple file uploads and using jquery to communicate between main document and iframes</title>
		<link>http://sushantp.wordpress.com/2009/05/11/using-iframes-for-multiple-file-uploads-and-using-jquery-to-communicate-between-main-document-and-iframes/</link>
		<comments>http://sushantp.wordpress.com/2009/05/11/using-iframes-for-multiple-file-uploads-and-using-jquery-to-communicate-between-main-document-and-iframes/#comments</comments>
		<pubDate>Mon, 11 May 2009 08:51:33 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[iframe file upload]]></category>
		<category><![CDATA[iframe jquery]]></category>
		<category><![CDATA[iframe multiple file upload]]></category>
		<category><![CDATA[jquery multiple file upload]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=171</guid>
		<description><![CDATA[In this post we will look into how we can use iframes to do multi file upload and also how we can use jQuery to communicate between the main document and a specific iframe (among many iframes).
So, the scenario here is we have a page with multiple file upload depending upon some data. We will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=171&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this post we will look into how we can use iframes to do multi file upload and also how we can use jQuery to communicate between the main document and a specific iframe (among many iframes).</p>
<p>So, the scenario here is we have a page with multiple file upload depending upon some data. We will use a repeater to deal with the data and hence we get &#8216;n&#8217; rows of file upload depending upon the datasource. The iframe elements are kept inside repeater as shown below. Here we will see how we can trigger specific iframe events and then try to do validations and data communication between the main page and an iframe using jQuery. The communication is done with the help of accessing current pages elements and then setting the iframes hidden element with the values we got on the current page. The set values are then used by code behind of the iframe file upload page or the javascript of that page. So, in another way we achieve both file upload and parameter passing in this type of scenario.</p>
<div id="attachment_174" class="wp-caption alignnone" style="width: 460px"><a href="http://sushantp.wordpress.com/2009/05/11/using-iframes-for-multiple-file-uploads-and-using-jquery-to-communicate-between-main-document-and-iframes/upload-creative-for-auction-buy/" rel="attachment wp-att-174"><img src="http://sushantp.files.wordpress.com/2009/05/upload-creative-for-auction-buy.jpg?w=450&#038;h=361" alt="multiple file uploads" title="multiple file uploads" width="450" height="361" class="size-full wp-image-174" /></a><p class="wp-caption-text">multiple file uploads</p></div>
<p>Code Example1: Page = Main.aspx</p>
<pre class="brush: csharp;">
&lt;asp:Repeater runat=&quot;server&quot; ID=&quot;rptAdData&quot; OnItemDataBound=&quot;rptAdData_ItemDataBound&quot;&gt;
    &lt;asp:Label CssClass=&quot;flHeight&quot; ID=&quot;flHeight&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
                                &lt;asp:Label CssClass=&quot;flWidth&quot; ID=&quot;flWidth&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
                                &lt;asp:Label CssClass=&quot;flCrTypeName&quot; ID=&quot;flCrTypeName&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
                                &lt;asp:Label CssClass=&quot;lblAds&quot; ID=&quot;lblAdIDs&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
                                &lt;asp:Label CssClass=&quot;lblSkus&quot; ID=&quot;lblSkuIDs&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
                                &lt;asp:Label CssClass=&quot;lblCrSize&quot; ID=&quot;lblCrSizeID&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
                                &lt;asp:Label CssClass=&quot;lblCrType&quot; ID=&quot;lblCrTypeID&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;
    &lt;div id=&quot;divFrameOuter&quot; style=&quot;margin-top: 5px;&quot;&gt;
                                    &lt;iframe scrolling=&quot;no&quot; frameborder=&quot;0&quot; hidefocus=&quot;true&quot; style=&quot;text-align: center;
                                        vertical-align: top; border-style: none; margin: 0px; width: 100%; height: 90px;&quot;
                                        src=&quot;PhotoUpload.aspx&quot;&gt;&lt;/iframe&gt;
    &lt;/div&gt;
&lt;/asp:Repeater&gt;
</pre>
<p>Code Example 2: Page = Main.aspx, Code = jQuery</p>
<pre class="brush: xml;">
&lt;script type=&quot;text/javascript&quot;&gt;
        $(document).ready(function() {
         $('iframe').load(function() {
                var parent = $(this).parent();
                var lblHeightIframe = $(this).contents().find(&quot;body .lblHeightInner&quot;);  //Finding the height element in iframe page -- the value will be set with this pages label element
                var lblWidthIframe = $(this).contents().find(&quot;body .lblWidthInner&quot;);
                var lblTypeNameIframe = $(this).contents().find(&quot;body .lblTypeNameInner&quot;);
                var lblCampaignIdIframe = $(this).contents().find(&quot;body .lblCampaignIdInner&quot;);

                lblWidthIframe.attr('value', parent.children('.flWidth').text().trim());
                lblHeightIframe.attr('value', parent.children('.flHeight').text().trim());
                lblTypeNameIframe.attr('value', parent.children('.flCrTypeName').text().trim());
                lblCampaignIdIframe.attr('value', campaignId);
            });
 });
&lt;/script&gt;
</pre>
<p>Code Example 3: Page = Photoupload.aspx</p>
<pre class="brush: xml;">
&lt;%@ Page Language=&quot;C#&quot;  AutoEventWireup=&quot;true&quot;  CodeFile=&quot;PhotoUpload.aspx.cs&quot; Inherits=&quot;PhotoUpload&quot; %&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head id=&quot;Head1&quot; runat=&quot;server&quot;&gt;
&lt;/head&gt;
&lt;body style=&quot;margin:0px&quot; onload=&quot;initPhotoUpload()&quot;&gt;
&lt;form id=&quot;photoUpload&quot; enctype=&quot;multipart/form-data&quot; encoding=&quot;multipart/form-data&quot; runat=&quot;server&quot;&gt;
      &lt;div id=&quot;uploadBlock&quot; style=&quot;float: left; width: 30%;&quot;&gt;
          &lt;div id=&quot;divFrame&quot;&gt;
              &lt;div&gt;
                &lt;input id=&quot;filPhoto&quot; type=&quot;file&quot; runat=&quot;server&quot;/&gt;
            &lt;/div&gt;
            &lt;div id=&quot;divUpload&quot; style=&quot;padding-top:4px&quot;&gt;
                &lt;input type=&quot;hidden&quot; id=&quot;lblHeight&quot; class=&quot;lblHeightInner&quot; value=&quot;&quot; runat=&quot;server&quot; /&gt;
                &lt;input type=&quot;hidden&quot; id=&quot;lblWidth&quot; class=&quot;lblWidthInner&quot; value=&quot;&quot; runat=&quot;server&quot; /&gt;
                &lt;input type=&quot;hidden&quot; id=&quot;lblTypeName&quot; class=&quot;lblTypeNameInner&quot; value=&quot;&quot; runat=&quot;server&quot; /&gt;
                &lt;input type=&quot;hidden&quot; id=&quot;lblCampaignId&quot; class=&quot;lblCampaignIdInner&quot; value=&quot;&quot; runat=&quot;server&quot; /&gt;
                &lt;input id=&quot;btnUpload&quot; type=&quot;button&quot; class=&quot;btnSimple&quot; value=&quot;Upload Creative&quot; /&gt;
            &lt;/div&gt;
          &lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>There is some javascript too in the photoupload.aspx and it depends on how you want your particular file uplaod to work or else you can write me for that. In the code behind I have done thumbnailing and also taken care of reuploading new file using the same fileupload button.</p>
<p>So, once we are done with file upload in the Main.aspx I can write an event for &#8216;btnUpload&#8217; button of photoupload.aspx page so that the event is catched at the parent page and some sort of validations like atleast on file is upload or so etc can be done and appropriate error message can be shown.</p>
<p>I hope this will be helpful to you. You can write to me at sushant.pandey@gmail.com in case of any queries or source code.</p>
<p>bye for now.</p>
<p>-Thanks</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=171&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/05/11/using-iframes-for-multiple-file-uploads-and-using-jquery-to-communicate-between-main-document-and-iframes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2009/05/upload-creative-for-auction-buy.jpg" medium="image">
			<media:title type="html">multiple file uploads</media:title>
		</media:content>
	</item>
		<item>
		<title>TFS 2008 Tips and Tricks: Enable Get Latest on Check Out</title>
		<link>http://sushantp.wordpress.com/2009/02/26/tfs-2008-tips-and-tricks-enable-get-latest-on-check-out/</link>
		<comments>http://sushantp.wordpress.com/2009/02/26/tfs-2008-tips-and-tricks-enable-get-latest-on-check-out/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 09:19:41 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[automatic get latest]]></category>
		<category><![CDATA[get latest]]></category>
		<category><![CDATA[get latest option]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[TFS 2008]]></category>
		<category><![CDATA[TFS 2008 tips and tricks]]></category>
		<category><![CDATA[Visual Studio Tips]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=161</guid>
		<description><![CDATA[In this post we will look into how can we enable get latest when doing check-outs while using TFS 2008. In case of a general development team where multiple devs are working on a project and modifying different portion of it we cant have exclusive locks most of the time as it restricts the capabilities of parallel or fast sequential development. So, in this type of general scenario we see the requirement of automatic get latest when somebody checks out a file as it would help in later merging of the file with server version.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=161&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this post we will look into how can we enable get latest when doing check-outs while using TFS 2008. In case of a general development team where multiple devs are working on a project and modifying different portion of it we cant have exclusive locks most of the time as it restricts the capabilities of parallel or fast sequential development. So, in this type of general scenario we see the requirement of automatic get latest when somebody checks out a file as it would help in later merging of the file with server version.</p>
<p>TFS 2008 provides us with this option in team project settings -&gt; souce control -&gt; to select the option of get latest on check out. To find this option go to Team Explorer, if Team Explorer is not visible along with solution explorer then go to visual studio menu and under view you can find team explorer. Click it to open team explorer which will show all the team projects assigned to you. You can find source control link under team project too but this is not what we have to use here instead we have to find the source control by right clicking team project name as shown below:</p>
<p><a href="http://sushantp.wordpress.com/2009/02/26/tfs-2008-tips-and-tricks-enable-get-latest-on-check-out/checkout-1/" rel="attachment wp-att-164"><img src="http://sushantp.files.wordpress.com/2009/02/checkout-1.jpg?w=442&#038;h=436" alt="checkout-1" title="checkout-1" width="442" height="436" class="alignnone size-full wp-image-164" /></a></p>
<p>Now when we click on source control the below window gets opened where we have to click get latest on check out option as outlined in the image too:</p>
<p><a href="http://sushantp.wordpress.com/2009/02/26/tfs-2008-tips-and-tricks-enable-get-latest-on-check-out/checkout-21/" rel="attachment wp-att-168"><img src="http://sushantp.files.wordpress.com/2009/02/checkout-21.jpg?w=450&#038;h=311" alt="checkout-21" title="checkout-21" width="450" height="311" class="alignnone size-full wp-image-168" /></a></p>
<p>Hope this helps in case you are looking for it too.</p>
<p>bye for now.</p>
<p>-Sushant</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=161&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/02/26/tfs-2008-tips-and-tricks-enable-get-latest-on-check-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2009/02/checkout-1.jpg" medium="image">
			<media:title type="html">checkout-1</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2009/02/checkout-21.jpg" medium="image">
			<media:title type="html">checkout-21</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery: Get formatted Date from returned JSON data</title>
		<link>http://sushantp.wordpress.com/2009/02/25/jquery-get-formatted-date-from-returned-json-data/</link>
		<comments>http://sushantp.wordpress.com/2009/02/25/jquery-get-formatted-date-from-returned-json-data/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 13:09:35 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ajax date]]></category>
		<category><![CDATA[ajax date format]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[date formatting]]></category>
		<category><![CDATA[incorrect date jquery]]></category>
		<category><![CDATA[jquery date]]></category>
		<category><![CDATA[jquery date formatting]]></category>
		<category><![CDATA[json date]]></category>
		<category><![CDATA[json date format]]></category>
		<category><![CDATA[returned date]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=158</guid>
		<description><![CDATA[Recently I was working on using client side template to show a tabular data and one of the columns was a date field. The return data was an enumerable type i.e. List of objects containing the System.DateTime (date) field for representing date. When I looked into the date column in my client side grid on browser I was surprised to see the resulted date in form of "/Date(998667000000)/" (the date data might not be exact as I have put how it looks like) which of kind of unexpected and then led to find how to get javascript Date object from the JSON returned date.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=158&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently I was working on using client side template to show a tabular data and one of the columns was a date field. The return data was an enumerable type i.e. List of objects containing the System.DateTime (date) field for representing date. When I looked into the date column in my client side grid on browser I was surprised to see the resulted date in form of &#8220;/Date(998667000000)/&#8221; (the date data might not be exact as I have put how it looks like) which of kind of unexpected and then led to find how to get javascript Date object from the JSON returned date.</p>
<p>So, In the returned data we get JSON serialized date which is in ticks and hence causes problems at the client end as we can&#8217;t treat it as javascript date. Eval() fails in coverting it and returns error saying that the format of date is not correct. Now, to resolve this I liked this approach. Use the reviver function which can be used while doing JSON data parsing with JSON.parse function. You can look at <a href="http://www.json.org/js.html" target="_blank">http://www.json.org/js.html</a> to know more about reviver funciton.</p>
<p>[from json.ord]<br />
var myObject = JSON.parse(myJSONtext, reviver);</p>
<p>The optional reviver parameter is a function that will be called for every key and value at every level of the final result. Each value will be replaced by the result of the reviver function. This can be used to reform generic objects into instances of pseudoclasses, or to transform date strings into Date objects.</p>
<p>[/from json.ord]</p>
<p>So, here is a sample jQuery ajax call implementation which can be used as part of any event in your javascript file and would work for you. The pre-requisite here is to have JSON.js file included so that JSON object is understood by the interpreter and it doesnt break client side code.</p>
<pre class="brush: xml;">

//methodName -&gt; The WebMethod name you want to call from ajax
//paramArray  -&gt; Array of parameters which will be converted as JSON params in this function
//successFunction  -&gt; name of successfunction to be called if ajax call succeeds
//errorFunction-&gt; name of error Function to be called if ajax call fails

function ClientProxyDateFormatted(methodName, paramArray, successFunction, errorFunction) {
    var pagePath = window.location.pathname;
    var paramList = '';

    if (paramArray.length &gt; 0) {
        for (var i = 0; i &lt; paramArray.length; i += 2) {
            if (paramList.length &gt; 0) paramList += ',';
            paramList += '&quot;' + paramArray[i] + '&quot;' + ':' + '&quot;' + paramArray[i + 1] + '&quot;';
        }
    }
    paramList = '{' + paramList + '}';
    $.ajax({
        type: &quot;POST&quot;,
        url: pagePath + &quot;/&quot; + methodName,
        contentType: &quot;application/json; charset=utf-8&quot;,
        data: paramList,
        dataType: &quot;text&quot;,
        processData: false,
        success: function(msgg) {
            var msg = JSON.parse(msgg, function(key, value) {
                var a;
                if (value != null) {
                    if (value.toString().indexOf('Date') &gt;= 0) {
                        //here we will try to extract the ticks from the Date string in the &quot;value&quot; fields of JSON returned data
                        a = /^\/Date\((-?[0-9]+)\)\/$/.exec(value);
                        if (a) {
                            var dt = new Date(parseInt(a[1], 10));
                            //getMonth return months with index 0 so you need to add 1 to get the correct month value.
                            return dt.getMonth() + 1 + &quot;/&quot; + dt.getDate() + &quot;/&quot; + dt.getFullYear();
                        }
                    }
                    return value;
                }
            });
            successFunction(msg);
        },
        error: function() {
            errorFunction();
        }
    });
    return false;
}
</pre>
<p>This seemed to me as a good problem and hence I think it would be useful to you in case you are facing similar issue. Let me know if it helps or doesnt help <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>bye for now.</p>
<p>-Sushant</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=158&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/02/25/jquery-get-formatted-date-from-returned-json-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery: Get the checked and unchecked items from list of checkboxes</title>
		<link>http://sushantp.wordpress.com/2009/02/23/jquery-get-the-checked-and-unchecked-items-from-list-of-checkboxes/</link>
		<comments>http://sushantp.wordpress.com/2009/02/23/jquery-get-the-checked-and-unchecked-items-from-list-of-checkboxes/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 09:47:34 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[checbox jquery]]></category>
		<category><![CDATA[checked count]]></category>
		<category><![CDATA[count non checked]]></category>
		<category><![CDATA[jquery selector]]></category>
		<category><![CDATA[not selector]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=156</guid>
		<description><![CDATA[In this post we will see the use of jQuery in finding the count of checked and unchecked items from a list of checkboxes along with their count. This is also one of the common problems I faced and looked into how to use not selector and also found that count comes as not expected many a times so whats the reason behind that.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=156&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this post we will see the use of jQuery in finding the count of checked and unchecked items from a list of checkboxes along with their count. This is also one of the common problems I faced and looked into how to use not selector and also found that count comes as not expected many a times so whats the reason behind that.</p>
<p>Let&#8217;s take a look at a generic example page where we have a list of checkboxes inside a table enclosed in a div (you can use any other scenario like a div having a list of checkbox elements only or a combination of checkboxes and other elements in it).</p>
<pre class="brush: xml;">
&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot;  CodeFile=&quot;Default.aspx.cs&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script src=&quot;jquery-1.2.6.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
    &lt;% if (false)
       { %&gt;
    &lt;script src=&quot;jquery-1.2.6-vsdoc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
    &lt;% }%&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
        //Write your code when Document is loaded
        $(document).ready(function() {
            $(&quot;#testChk&quot;).click(function() {
                alert($(&quot;#testCheck :checked&quot;).size());
                //function to print the value of each checked checkboxes
                $(&quot;#testCheck :checked&quot;).each(function() {
                    alert(&quot;value = &quot; + $(this).val());

            });

            $(&quot;#tblSub&quot;).click(function() {
                //show count of all not checked checkboxes only
                alert($(&quot;#testTB :input:not(:checked)&quot;).size());
                //show count of all not checked elements
                alert($(&quot;#testTB :not(:checked)&quot;).size());

                //function to print the value of each not checked checkboxes
                $(&quot;#testTB :input:not(:checked)&quot;).each(function() {
                    alert(&quot;value = &quot; + $(this).val());
                });
            });

        });
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
    &lt;div&gt;

        &lt;div id=&quot;testCheck&quot;&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;1&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;2&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;3&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;4&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;5&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;6&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;7&quot; /&gt;
        &lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;8&quot; /&gt;
    &lt;/div&gt;
    &lt;input id=&quot;testChk&quot; type=&quot;button&quot; value=&quot;Submit&quot; /&gt;

    &lt;table id=&quot;testTB&quot;&gt;
        &lt;thead&gt;
            &lt;tr&gt;
             &lt;th&gt;test&lt;/th&gt;
             &lt;th&gt;chk boxes&lt;/th&gt;
            &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
            &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;1&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;2&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;3&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;4&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;5&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
            &lt;tr&gt;&lt;td&gt;test&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;6&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
        &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;input id=&quot;tblSub&quot; type=&quot;button&quot; value=&quot;Submit&quot; /&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Since everything is present in UI so I am not giving the code behind as it would be default without any changes to verify how the above is working.</p>
<p>Here are few lines to take a look upon:<br />
                //show count of all not checked checkboxes only<br />
1)                alert($(&#8220;#testTB :input:not(:checked)&#8221;).size());<br />
                //show count of all not checked elements<br />
2)                alert($(&#8220;#testTB :not(:checked)&#8221;).size());</p>
<p>In the first one we get the count of all non checked checkboxes only because it uses an addition filter of &#8216;input&#8217; tag type which is how checkboxes get rendered in html. In case we dont use it as in 2) example then we get all the elements inside div testTB which dont have checked attribute so it return all the tr, td etc elements along with input elements thereby increasing the count of return set.</p>
<p>This is a simple example but would help you in case you are trying to find the non cheched elements and getting unexpected count. The reason there would be that all the checkboxes are not inside one container and hence you would have to use the input tag type. Also you might have to consider addition filtering in case the same container contains other input elements as then not will filter those also in result set causing unexpected count. Som the gist is that either you do the wrapping in such a way that these checkboxes are clubbed together or else you need to use additional filter to find the right result set.</p>
<p>Hope this helps!</p>
<p>bye for now.</p>
<p>-Sushant</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=156&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/02/23/jquery-get-the-checked-and-unchecked-items-from-list-of-checkboxes/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET &#8211; Fill and Show Dependent drop down list on Client side without server control and Postback</title>
		<link>http://sushantp.wordpress.com/2009/02/22/aspnet-fill-and-show-dependent-drop-down-list-on-client-side-without-server-control-and-postback/</link>
		<comments>http://sushantp.wordpress.com/2009/02/22/aspnet-fill-and-show-dependent-drop-down-list-on-client-side-without-server-control-and-postback/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 16:38:08 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ajax with jquery]]></category>
		<category><![CDATA[dependent drop down]]></category>
		<category><![CDATA[drop down without post back]]></category>
		<category><![CDATA[jQuery drop down]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[page methods]]></category>
		<category><![CDATA[second drop down]]></category>
		<category><![CDATA[web methods]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=149</guid>
		<description><![CDATA[In this post we will look into filling dependent drop down list(s) on client side without using server side asp:dropdownlist control and autopostback, which is the common way we see around. We will be using jQuery at the front end to do the drop down list marp-up generation and adding data to it. We will be using WebMethod to retrieve JSON data from the server where we can return simple data types or any Enumerable data types like List etc so it fills the regular or common way of server side implementation where we use a service method or so to retrieve object collection from DB or from application code itself. Read more...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=149&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this post we will look into filling dependent drop down list(s) on client side without using server side asp:dropdownlist control and autopostback, which is the common way we see around. We will be using jQuery at the front end to do the drop down list marp-up generation and adding data to it. We will be using WebMethod to retrieve JSON data from the server where we can return simple data types or any Enumerable data types like List etc so it fills the regular or common way of server side implementation where we use a service method or so to retrieve object collection from DB or from application code itself.</p>
<p>Please find the code snippet below which represents aspx page code behind file and app code file where collection is returned which can be replaced with a service layer call querying DB to get the collection back to presentation layer:</p>
<p>1) ASPX Page with jQuery Code</p>
<pre class="brush: xml;">

&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot;  CodeFile=&quot;Default.aspx.cs&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head id=&quot;Head1&quot; runat=&quot;server&quot;&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;script src=&quot;jquery-1.2.6.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
    &lt;% if (false)
       { %&gt;
    &lt;script src=&quot;jquery-1.2.6-vsdoc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
    &lt;% }%&gt;

    &lt;link href=&quot;DefaultStyleSheet.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;

        //Write your code when Document is loaded
        $(document).ready(function() {
            $(&quot;#ddl2&quot;).hide(0, function() { });
            //Code to append a drop down list at client end
            //$(&quot;#ddl1&quot;).append(&quot;&lt;option value=\&quot;new\&quot;&gt;new&lt;/option&gt;&quot;);            

            //event to be fired when an option\index gets changed for first drop down list
            $(&quot;#ddl1&quot;).change(function() {
                $(&quot;#ddl2&quot;).fadeOut(1500, function() { });
                var value = $(this).val();
                //alert(value);
                $(&quot;#waitingBlock&quot;).css({ &quot;margin-left&quot;: &quot;10px&quot; });
                $(&quot;#waitingBlock&quot;).html(&quot;&lt;img src='spinner.gif' alt='loading....' /&gt;&quot;)
                .fadeIn(1500)
                .insertAfter($(&quot;#ddl1&quot;));

                //Client side function call which will make ajax request for page method named FillDD to get json data
                FillDDProxy(&quot;FillDD&quot;, [&quot;selectedDDItem&quot;, value]);
            });
        });

        function FillDDProxy(methodName, paramArray, errorFunction) {
            var pagePath = window.location.pathname;
            var paramList = '';

            if (paramArray.length &gt; 0) {
                for (var i = 0; i &lt; paramArray.length; i += 2) {
                    if (paramList.length &gt; 0) paramList += ',';
                    paramList += '&quot;' + paramArray[i] + '&quot;' + ':' + '&quot;' + paramArray[i + 1] + '&quot;';
                }
            }
            paramList = '{' + paramList + '}';

            //Call the page method
            $.ajax({
                type: &quot;POST&quot;,
                url: pagePath + &quot;/&quot; + methodName,
                contentType: &quot;application/json; charset=utf-8&quot;,
                data: paramList,
                dataType: &quot;json&quot;,
                success: function(msg) {
                    successFunction(msg.d);
                }

            });
            return false;
        }

        function successFunction(msg) {

            $(&quot;#waitingBlock&quot;).fadeOut(1500, function() { });
            var list = msg.toString();
            var strArray = list.split(&quot;,&quot;);
            //clear previously filled second drop down.
            $(&quot;#ddl2&quot;).children().remove();
            if (strArray.length &gt; 0) {
                for (var i = 0; i &lt; strArray.length; i++) {
                    //Filling the second drop down on client side with returned json data
                    $(&quot;#ddl2&quot;).append('&lt;option value=\&quot;' + strArray[i] + '&quot;&gt;' + strArray[i] + '&lt;/option&gt;');
                }
            }
            $(&quot;#ddl2&quot;).show(1500, function() { });
        }
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
    &lt;div&gt;
    &lt;asp:DropDownList runat=&quot;server&quot; ID=&quot;ddl1&quot;&gt;
        &lt;asp:ListItem Value=&quot;d1v1&quot; Text=&quot;d1v1&quot;&gt;&lt;/asp:ListItem&gt;
        &lt;asp:ListItem Value=&quot;d1v2&quot; Text=&quot;d1v2&quot;&gt;&lt;/asp:ListItem&gt;
        &lt;asp:ListItem Value=&quot;d1v3&quot; Text=&quot;d1v3&quot;&gt;&lt;/asp:ListItem&gt;
        &lt;asp:ListItem Value=&quot;d1v4&quot; Text=&quot;d1v4&quot;&gt;&lt;/asp:ListItem&gt;
    &lt;/asp:DropDownList&gt;

    &lt;%--&lt;asp:DropDownList runat=&quot;server&quot; ID=&quot;ddl2&quot;&gt;&lt;/asp:DropDownList&gt;--%&gt;
    &lt;select id=&quot;ddl2&quot; &gt;&lt;/select&gt;

    &lt;span id=&quot;waitingBlock&quot;&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>2) Code behind C# file</p>
<pre class="brush: csharp;">
using System;
using System.Web.Services;
using System.Collections;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    [WebMethod]
    public static IEnumerable FillDD(string selectedDDItem)
    {
        //Instantiate your service class or call your service layer method directly in case it is also static
        lib serviceLib = new lib();
        return serviceLib.getDDValues(selectedDDItem);
    }
}
</pre>
<p>I have used App_Code to represent service layer method:</p>
<p>3) App_Code\lib.cs</p>
<pre class="brush: csharp;">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// &lt;summary&gt;
/// Summary description for lib
/// &lt;/summary&gt;
public class lib
{
	public lib()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public List&lt;string&gt; getDDValues(string currentValue)
    {
        //use the currentValue to get dependent DD values from DB
        //I am putting them here hardcoded to reprenst the same.

        List&lt;string&gt; listString = new List&lt;string&gt;();
        listString.Add(currentValue);
        listString.Add(&quot;Sushant&quot;);
        listString.Add(&quot;RampGroup&quot;);

        return listString;
    }
}
</pre>
<p>Overall this code results into a beutiful animated dependent drop down showing and fading from ui depending upon the selection of first drop down. This overall is more performant that the postback as round trip is save with partial trip and also the mode of data transfer is thin JSON. On the client side rendering of this JSON data, it can be achieved either by using jQuery as shown in my example or else using jTemplates and then setting as data for the template. I will share the code in another post with use of jTemplates which can be of great help in scenarios where server side data controls like repeater or data grids are used and which can be replaced by the usage of jTemplates and doing a client side binding of the same with thin JSON data.</p>
<p>So, If you are looking into doing a AJAX and JSON call this example can help you along with an implementation of filling a dependent drop down.</p>
<p>Hope this helps!</p>
<p>bye for now</p>
<p>-Sushant</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/149/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=149&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/02/22/aspnet-fill-and-show-dependent-drop-down-list-on-client-side-without-server-control-and-postback/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="spinner.gif" medium="image">
			<media:title type="html">loading....</media:title>
		</media:content>
	</item>
		<item>
		<title>HD View and Microsoft ICE &#8211; Generating and viewing high resolution Panoramas</title>
		<link>http://sushantp.wordpress.com/2009/01/15/hd-view-and-microsoft-ice-generating-and-viewing-high-resolution-panoramas/</link>
		<comments>http://sushantp.wordpress.com/2009/01/15/hd-view-and-microsoft-ice-generating-and-viewing-high-resolution-panoramas/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 06:19:35 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[gigapixel]]></category>
		<category><![CDATA[HD]]></category>
		<category><![CDATA[HD Silverligt]]></category>
		<category><![CDATA[HD SL]]></category>
		<category><![CDATA[HD View]]></category>
		<category><![CDATA[HD Viewer SL]]></category>
		<category><![CDATA[ICE]]></category>
		<category><![CDATA[Panorama]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=140</guid>
		<description><![CDATA[HD View is essentially an image viewer which helps in viewing high resolution images\very large images. Microsoft ICE is a software which can be used to stich multiple images to generate a very large panorama of the degree of gigapixels. Since you can have panorama of this degree hence you can achieve a full 360 degree view of subject. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=140&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>HD View is essentially an image viewer which helps in viewing high resolution images\very large images. Microsoft ICE is a software which can be used to stich multiple images to generate a very large panorama of the degree of gigapixels. Since you can have panorama of this degree hence you can achieve a full 360 degree view of subject.</p>
<p>This is a Microsoft Research project which uses capabilities of your graphics hardware to provide image smoothing and high level zooming to get a 3D illusion. HD View is available as activeX browser plugin for Firefox and IE. Having good graphics card helps in getting the full power of HD view. I tried installing it on my system where I didn&#8217;t had very good graphics card still I was able to get a real good view of panoramas. You need to have Direct3D installed (which gets installed as part of DirectX). You can get more details about HD View from <a href="http://research.microsoft.com/en-us/um/redmond/groups/ivm/hdview/hdgigapixel.htm" target="_blank">http://research.microsoft.com/en-us/um/redmond/groups/ivm/hdview/hdgigapixel.htm</a> and<a href="http://hdview.spaces.live.com/" target="_blank"> http://hdview.spaces.live.com/</a>.</p>
<p>Here is a view of zoom details from http://www.yosemite-17-gigapixels.com</p>
<div id="attachment_146" class="wp-caption alignnone" style="width: 460px"><a rel="attachment wp-att-146" href="http://sushantp.wordpress.com/2009/01/15/hd-view-and-microsoft-ice-generating-and-viewing-high-resolution-panoramas/hdview1/"><img class="size-full wp-image-146" title="hdview1" src="http://sushantp.files.wordpress.com/2009/01/hdview1.png?w=450&#038;h=358" alt="hd view" width="450" height="358" /></a><p class="wp-caption-text">hd view</p></div>
<p>HD for Silverlight is also available on codeplex which is a Silverlight application to show HD View. You can download it from <a href="http://www.codeplex.com/HDViewSL" target="_blank">http://www.codeplex.com/HDViewSL</a>. I tried the cool commandline tool hdmake to generate a high quality image. I downloaded Photoshop plugin of HD View and currently trying my hands on it. I will update about it in another post once I get something subtantial out of it.</p>
<p>But overall it looked very pomising and encouraging to me to see my panoramas with HD view with great details.</p>
<p>- Bye for now.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=140&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2009/01/15/hd-view-and-microsoft-ice-generating-and-viewing-high-resolution-panoramas/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2009/01/hdview1.png" medium="image">
			<media:title type="html">hdview1</media:title>
		</media:content>
	</item>
		<item>
		<title>Publish post from Microsoft Word 2007</title>
		<link>http://sushantp.wordpress.com/2008/12/15/publish-post-from-microsoft-word-2007/</link>
		<comments>http://sushantp.wordpress.com/2008/12/15/publish-post-from-microsoft-word-2007/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 18:21:13 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[offline blog posting]]></category>
		<category><![CDATA[offline blog publishing]]></category>
		<category><![CDATA[offline blogging]]></category>
		<category><![CDATA[publish post word]]></category>
		<category><![CDATA[word 2007]]></category>
		<category><![CDATA[word 2007 publish]]></category>
		<category><![CDATA[word blog post]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=125</guid>
		<description><![CDATA[This blog looks into blog publishing feature of Microsoft word 2007. REad this post to see setting up one for you and start using desktop or offline blogging.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=125&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Let&#8217;s take a look into on of the utilities\feature of Microsoft Word 2007 where you can write, edit and publish new or old posts to variety of blog service providers including wordpress and blogspot. In this post we will go step by step setting an wordpress account in my word document blog publish utility. This is actually called offline blogging or desktop blogging where you write a blog on some application offline and then publish them to web\blog service provider or providers at once whenever you want.</p>
<p>When you open a Word document click on File menu to find more options present there and then you can see a publish option present as shown in the image below:</p>
<p><a rel="attachment wp-att-129" href="http://sushantp.wordpress.com/2008/12/15/publish-post-from-microsoft-word-2007/blogpublish11/"><img class="alignnone size-full wp-image-129" title="blogpublish11" src="http://sushantp.files.wordpress.com/2008/12/blogpublish11.png?w=450&#038;h=316" alt="blogpublish11" width="450" height="316" /></a></p>
<p>You can then see another document getting opened with new menu items as publish, home etc and a pop-up window for creating a new account would come. You can setup word publish to work with wordpress, blogger, community server, sharepoint blog, typepad etc. This can be seen in the image below:</p>
<p><a rel="attachment wp-att-130" href="http://sushantp.wordpress.com/2008/12/15/publish-post-from-microsoft-word-2007/blogpublish21/"><img class="alignnone size-full wp-image-130" title="blogpublish21" src="http://sushantp.files.wordpress.com/2008/12/blogpublish21.png?w=450&#038;h=460" alt="blogpublish21" width="450" height="460" /></a></p>
<p>Once you select the blog service provider for setting an account you will proceed to the new window. I selected wordpress and then entered the blog url along with the credentials to use my wordpress account\data here in the offline mode. It works by the medium of webservices to get the data for you or load your data to your blog server provider. You can also provide your photo or imager server url to use the post images from.</p>
<p><a rel="attachment wp-att-127" href="http://sushantp.wordpress.com/2008/12/15/publish-post-from-microsoft-word-2007/blogpublish3/"><img class="alignnone size-full wp-image-127" title="blogpublish3" src="http://sushantp.files.wordpress.com/2008/12/blogpublish3.png?w=450&#038;h=632" alt="blogpublish3" width="450" height="632" /></a></p>
<p>Now, we are ready to write a new post in our word document and publish from the same page menu. We can get our older posts, review it, edit it and then republish the same. Click on Home page in the menu shows your blog home page, you can manage different accounts and then using it can publish the same post to multiple providers.</p>
<p>Hope this will help to some of you!!</p>
<p>Happy Blogging&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=125&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/12/15/publish-post-from-microsoft-word-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/12/blogpublish11.png" medium="image">
			<media:title type="html">blogpublish11</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/12/blogpublish21.png" medium="image">
			<media:title type="html">blogpublish21</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/12/blogpublish3.png" medium="image">
			<media:title type="html">blogpublish3</media:title>
		</media:content>
	</item>
		<item>
		<title>Group by All &#8211; keyword in t-sql</title>
		<link>http://sushantp.wordpress.com/2008/12/08/group-by-all-keyword-in-t-sql/</link>
		<comments>http://sushantp.wordpress.com/2008/12/08/group-by-all-keyword-in-t-sql/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 11:09:27 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[count as 0]]></category>
		<category><![CDATA[count as zero]]></category>
		<category><![CDATA[get count 0]]></category>
		<category><![CDATA[group by]]></category>
		<category><![CDATA[group by all]]></category>
		<category><![CDATA[sql query]]></category>
		<category><![CDATA[SQL server]]></category>
		<category><![CDATA[t-sql]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=120</guid>
		<description><![CDATA[This post looks in Group by All keyword which solves the problem of getting count as 0 for filtered values. People most of the time do it using a Left outer join or Union but can be done in just one line of code using group by all. Read more...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=120&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a problem I came across some time back where I was having a table with names (including duplicates) in it and had to get name, count(name) as an output with a where clause to eliminate some of the entries. Major output requirement was to include the eliminated name entries too in the output and show name, 0 for those entries. Please find below the problem and solutions in detail:</p>
<p><strong>Problem: </strong>There is a table having ID and Names like below and I need to return Name and Count of each Name.</p>
<p>Table: The table named Names looks like one provided below:</p>
<div>
<table style="border-collapse:collapse;height:121px;" border="0" width="197">
<col></col>
<col></col>
<tbody>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>ID</strong></td>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Name</strong></td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">1</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Sushant</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">2</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Pandey</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">3</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Sushant</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">4</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Sushant</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">5</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Scott</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">6</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Scott</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">7</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">Pandey</td>
</tr>
</tbody>
</table>
</div>
<p>We can get the required output by using this query: <span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">Select </span><span style="color:blue;">Name</span><span style="color:gray;">,</span> <span style="color:fuchsia;">Count</span><span style="color:gray;">(</span><span style="color:blue;">Name</span><span style="color:gray;">)</span> <span style="color:blue;">from</span> Names <span style="color:blue;">group</span> <span style="color:blue;">by</span> <span style="color:blue;">Name<br />
</span></span></p>
<p><span style="color:black;">The output will look like:</span></p>
<div>
<table style="border-collapse:collapse;height:61px;" border="0" width="187">
<col></col>
<col></col>
<tbody>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Name</strong></td>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Count</strong></td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Sushant</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">3</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Pandey</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">2</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Scott</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">2</td>
</tr>
</tbody>
</table>
</div>
<p>Now the real problem comes when we have to use a where clause which filters some entries. Clause is &#8216;<span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">where</span> <span style="color:blue;">Name</span> <span style="color:gray;">like</span> <span style="color:red;">&#8216;%S%&#8217;</span></span><span style="font-family:Times New Roman;">&#8216;</span>so if we use this clause in above query we would get the below result.<strong><br />
</strong></p>
<div>
<table style="border-collapse:collapse;height:46px;" border="0" width="116">
<col></col>
<col></col>
<tbody>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Name</strong></td>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Count</strong></td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Sushant</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">3</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Scott</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">2</td>
</tr>
</tbody>
</table>
</div>
<p>(Query: <span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">Select</span> <span style="color:blue;">Name</span><span style="color:gray;">,</span> <span style="color:fuchsia;">Count</span><span style="color:gray;">(</span><span style="color:blue;">Name</span><span style="color:gray;">)</span> <span style="color:blue;">from</span> Names <span style="color:blue;">where</span> <span style="color:blue;">Name</span> <span style="color:gray;">like</span> <span style="color:red;">&#8216;%S%&#8217;</span> <span style="color:blue;">group</span> <span style="color:blue;">by</span> <span style="color:blue;">Name</span></span>).</p>
<p>So, going by the original requirement of including entry &#8216;Pandey&#8217; also into the result showing count = 0 like</p>
<div>
<table style="border-collapse:collapse;height:61px;" border="0" width="202">
<col></col>
<col></col>
<tbody>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Name</strong></td>
<td style="padding-left:7px;padding-right:7px;border-top:solid black 1pt;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;"><strong>Count</strong></td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Sushant</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">3</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Scott</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">2</td>
</tr>
<tr>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 1pt;border-bottom:solid black 1pt;border-right:solid black 1pt;">Pandey</td>
<td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 1pt;border-right:solid black 1pt;">0</td>
</tr>
</tbody>
</table>
</div>
<p>We can get this by two ways mentioned below:</p>
<ol>
<li>
<div>Solution 1:  We can use union to get the above result. Though it seems to have more computation involved in it.</div>
<p style="margin-left:36pt;"><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">select </span><span style="color:blue;">Name</span><span style="color:gray;">,</span><span style="color:fuchsia;">count</span><span style="color:gray;">(</span><span style="color:blue;">Name</span><span style="color:gray;">)</span> <span style="color:blue;">as</span> [count] <span style="color:blue;">from</span> Names <span style="color:blue;">where Name </span><span style="color:gray;">in</span></span><span style="font-family:Courier New;font-size:10pt;"> <span style="color:gray;">(</span><span style="color:blue;">select </span><span style="color:blue;">Name</span> <span style="color:blue;">from</span> Names <span style="color:blue;">where</span> <span style="color:blue;">Name</span> <span style="color:gray;">like</span> <span style="color:red;">&#8216;%S%&#8217;</span><span style="color:gray;">)</span><span style="color:blue;">group</span> <span style="color:blue;">by</span></span><span style="font-family:Courier New;font-size:10pt;"> <span style="color:blue;">Name </span></span><span style="color:blue;font-family:Courier New;font-size:10pt;">union </span><span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">select</span> <span style="color:blue;">Name</span><span style="color:gray;">,</span> 0 <span style="color:blue;">as</span> [count] <span style="color:blue;">from</span> Names <span style="color:blue;">where Name</span> <span style="color:gray;">not</span> <span style="color:gray;">in</span> <span style="color:gray;">(</span><span style="color:blue;">select</span> <span style="color:blue;">Name</span> <span style="color:blue;">from</span> Names <span style="color:blue;">where</span> <span style="color:blue;">Name</span> <span style="color:gray;">like</span> <span style="color:red;">&#8216;%S%&#8217;</span><span style="color:gray;">)</span><span style="color:blue;">group</span> <span style="color:blue;">by</span> <span style="color:blue;">Name</span></span></p>
</li>
<li>Solution2:  There is a keyword for &#8216;Group By&#8217; clause where we can use &#8216;All&#8217; which make groups for all the entries even if they are filter out by a where clause. So the below query results in same output:  <span style="font-family:Courier New;font-size:10pt;"><span style="color:blue;">Select</span> <span style="color:blue;">Name</span><span style="color:gray;">,</span> <span style="color:fuchsia;">Count</span><span style="color:gray;">(</span><span style="color:blue;">Name</span><span style="color:gray;">)</span> <span style="color:blue;">from</span> Names <span style="color:blue;">where</span> <span style="color:blue;">Name</span> <span style="color:gray;">like</span> <span style="color:red;">&#8216;%S%&#8217;</span> <span style="color:blue;">group</span> <span style="color:blue;">by</span> <span style="color:gray;">all</span> <span style="color:blue;">Name<br />
</span></span></li>
</ol>
<p>So, after messing a lot I found that the solution lied in just one line query so thought of posting. Might be helpful to you.</p>
<p>Bye for now…</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=120&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/12/08/group-by-all-keyword-in-t-sql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>MSR Asirra &#8211; Alternate approach to CAPTCHA</title>
		<link>http://sushantp.wordpress.com/2008/11/29/msr-asirra-alternate-approach-to-captcha/</link>
		<comments>http://sushantp.wordpress.com/2008/11/29/msr-asirra-alternate-approach-to-captcha/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 13:28:20 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[alternate to captcha]]></category>
		<category><![CDATA[Asirra]]></category>
		<category><![CDATA[CAPTCHA]]></category>
		<category><![CDATA[CAPTCHA examples]]></category>
		<category><![CDATA[HIP]]></category>
		<category><![CDATA[Image Code Verificaiton]]></category>
		<category><![CDATA[MSR Asirra]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=97</guid>
		<description><![CDATA[Take a look at MSR's Asirra which can be seen as a cool alternate to CAPTCHA. We all have seen usage of CAPTCHA(Completely Automated Public Turing test to tell Computers and Humans Apart) or HIP (Human Interactive Proof) in several website preventing spams for comments or email, protecting web services from bot attacks where programs\bots tries to imitate humans and fool the server systems. Read more...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=97&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We all have seen usage of CAPTCHA(Completely Automated Public Turing test to tell Computers and Humans Apart) or HIP (Human Interactive Proof) in several website preventing spams for comments or email, protecting web services from bot attacks where programs\bots tries to imitate humans and fool the server systems. CAPTCHA is very well known way of using Alphanumeric character images in a distorted way and random orientation like below:</p>
<p><img class="alignnone" title="CAPTCHA" src="http://sushantp.files.wordpress.com/2008/08/captcha-example.png?w=239&amp;h=128&#038;h=128" alt="" width="239" height="128" /></p>
<p>You can take a look at my previous post on CAPTCHA at <a href="http://sushantp.wordpress.com/2008/08/25/captcha-image-code-verification/">http://sushantp.wordpress.com/2008/08/25/captcha-image-code-verification/</a></p>
<p>There are some issue which people are finding these days that the distortion is sometime such that its not human friendly but computers are able to read that.</p>
<p>There is an alternate HIP solution developing at MSR which is still in BETA phase and has been prototype by other universities too with the usage of images instead of text where a human can do the identification of images.</p>
<p>Here is how Asirra looks like on a page:</p>
<p><a href="http://sushantp.files.wordpress.com/2008/11/asirra.png"><img src="http://sushantp.files.wordpress.com/2008/11/asirra.png?w=450&#038;h=459" alt="Asirra" title="Asirra" width="450" height="459" class="alignnone size-full wp-image-99" /></a></p>
<p>Visit <a href="http://research.microsoft.com/asirra/">http://research.microsoft.com/asirra/</a> for complete details on Asirra and usage instructions.</p>
<p>To brief about Assira, this is a two way verification where javascript code gets the challenge and if user solves that correctly, gets a ticket from MSR&#8217;s server (also a success message\alert could be shown to user). This message is then passed along with form data as hidden field which is expected to be used by code behind and call a MSR Web Service to validate the Ticket. Repeated trials with the same ticket makes it fail.</p>
<p>In all this seems to be a encouraging way and should improve even more with the quality of images which come. Also there might be orientation changes for images for increased difficulty levels when it would come to machines. Also change in image size (random sized images in challenge) could be one of the improvements which we may find in the final versions.</p>
<p>Here is how the code looks like:</p>
<p><strong>ASP.NET Page</strong></p>
<pre class="brush: xml;">
&lt;%@ Page Language=&quot;C#&quot;
         AutoEventWireup=&quot;true&quot;
         CodeFile=&quot;asirra.aspx.cs&quot;
         Inherits=&quot;asirra&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;&lt;/title&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
    var passThroughFormSubmit = false;
    function MySubmitForm() {
        if (passThroughFormSubmit) {
            return true;
        }
        // Do site-specific form validation here, then...
        Asirra_CheckIfHuman(HumanCheckComplete);
        return false;
    }
    function HumanCheckComplete(isHuman) {
        if (!isHuman) {
            alert(&quot;Please correctly identify the cats.&quot;);
        }
        else {
            passThroughFormSubmit = true;
            formElt = document.getElementById(&quot;mainForm&quot;);
            formElt.submit();
        }
    }
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form runat=&quot;server&quot;
          method=&quot;get&quot;
          id=&quot;mainForm&quot;
          onsubmit=&quot;return MySubmitForm();&quot;&gt; 

    &lt;div style=&quot;margin:200px 0 0 20px;&quot;&gt;

      &lt;script type=&quot;text/javascript&quot;
              src=&quot;http://challenge.asirra.com/js/AsirraClientSide.js&quot;&gt;&lt;/script&gt;
       &lt;script type=&quot;text/javascript&quot;&gt;
        // You can control where the big version of the photos appear by
        // changing this to top, bottom, left, or right
           asirraState.SetEnlargedPosition(&quot;top&quot;);
           asirraState.SetEnlargedPosition(&quot;top&quot;);
        // You can control the aspect ratio of the box by changing this constant
        asirraState.SetCellsPerRow(4);
&lt;/script&gt;
        &lt;br /&gt;
        User Name: &lt;input type=&quot;text&quot;
                          name=&quot;UserName&quot; /&gt;
        Favorite Color: &lt;input type=&quot;text&quot;
                               name=&quot;FavoriteColor&quot; /&gt;
        &lt;input type=&quot;submit&quot;
               value=&quot;Submit&quot; /&gt;
    &lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>C# Code Behind</strong></p>
<pre class="brush: csharp;">
using System;
using System.Net;

public partial class asirra : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack)
        {
            string asr_tkr = Request.QueryString[&quot;Asirra_Ticket&quot;];
            if (string.IsNullOrEmpty(asr_tkr))
            {
                Response.Write(&quot;Asirra Ticket Value is not present&quot;);
            }
            else
            {
                string queryString = &quot;action=ValidateTicket&amp;ticket=&quot; + asr_tkr;

                WebClient wc = new WebClient();
                string resp = wc.DownloadString(&quot;http://challenge.asirra.com/cgi/Asirra?&quot; + queryString);
                if (resp.IndexOf(&quot;Pass&quot;, StringComparison.InvariantCultureIgnoreCase) &gt; -1)
                {
                    Response.Write(&quot;Got Asirra Ticket Verified&quot;);
                }
                else
                {
                    Response.Write(&quot;Asirra Ticket Not Verified&quot;);
                }
            }
        }
    }
}
</pre>
<p>Take a look at it and try. You may like it too like me!!</p>
<p>bye for now.</p>
<p><!-- Begin BlogToplist tracker code --><br />
<a href="http://www.blogtoplist.com/software/" title="Software"><br />
<img src="http://www.blogtoplist.com/tracker.php?u=68293" alt="Software" border="0" /></a><br />
<!-- End BlogToplist tracker code --></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=97&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/11/29/msr-asirra-alternate-approach-to-captcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/08/captcha-example.png?w=239&#38;h=128" medium="image">
			<media:title type="html">CAPTCHA</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/11/asirra.png" medium="image">
			<media:title type="html">Asirra</media:title>
		</media:content>

		<media:content url="http://www.blogtoplist.com/tracker.php?u=68293" medium="image">
			<media:title type="html">Software</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting started on JQuery</title>
		<link>http://sushantp.wordpress.com/2008/11/28/getting-started-on-jquery/</link>
		<comments>http://sushantp.wordpress.com/2008/11/28/getting-started-on-jquery/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 13:39:24 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[dynamic menu]]></category>
		<category><![CDATA[javascript animation]]></category>
		<category><![CDATA[javascript library]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery animation]]></category>
		<category><![CDATA[jquery get started]]></category>
		<category><![CDATA[jquery intellisense]]></category>
		<category><![CDATA[jquery menu]]></category>
		<category><![CDATA[jquery primer]]></category>
		<category><![CDATA[jquery slidedown]]></category>
		<category><![CDATA[round corners]]></category>
		<category><![CDATA[slidedown]]></category>
		<category><![CDATA[slideup]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=91</guid>
		<description><![CDATA[This post looks into what is DOM, what jQuery is and how can one get benefit by using it. This can be treated as a get started post with code samples covering animation, chaining, event handling, and some of plug-in support. Hope it would be a good read for all. Read more...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=91&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I started using JQuery just recently and liked it a lot the same time <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  In this post we will take a look at what is DOM, what jquery is and how can one get benefit by using it. We will also look into some tried examples with code. visit <a href="http://jquery.com/">http://jquery.com/</a> for complete information about JQuery.</p>
<p>So, DOM or Document Object Model is language and platform independent object model for representing HTML\XML formats. JavaScript works over DOM though the browser can render a page with different available models. Using Javascript we can play with the DOM of a page and make dynamic changes to page structure and change the browser rendering at run time. A very simple example to it is using Firebug in firefox and clicking on Inspect option. This opens the page DOM in the view panel from where a user can make changes to structure or style there by traversing page tree in any order i.e. parent to child or child to parent and see the effect of change instantaneously on browser. Javascript maintains the state of page by means of DOM.</p>
<p>JQuery is a concise, effective and dev friendly javascript library which allows to take advantage of DOM to its fullest by simplfying the element\object traversal, providing various animation options and simplifying ajax interactions. This library can be seen as a development effort towards supporting RAD (Rapid Application Development) where infact todays most of the developments are heading to. Good News for developers!! Write less do more is what JQuery says to us <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One of the cool things is usage of chaining thereby making code development very fast and hence we can traverse a node and its decendents or ancestor nodes just with one line of code. It supports Javascript\XPath expression to select an element (javascript object) or list of elements and then using a object oriented approach shows all the properties, functions or methods working on collections when we use a &#8220;.&#8221;, we will see this in the examples at the bottom of this post.</p>
<p>We can also see direct method for reading JSON data (javascript also supports it but with eval() where the JSON should be trusted else can cause an attack to your server) in form of getJson() etc. We will take a closer look into using JSON over XML for Ajax call in my coming post about JSON where we will look into using a html control to make a Ajax call and receiving data in form of JSON and then making appropriate change upon successful retrieval of data.</p>
<p>Microsoft announced that it will integrate JQuery in coming VSTS versions though we have already seen integration support in terms of Javascript intellisense for JQuery in Visual Studio 2008 SP1. Read <a href="http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx">http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx</a> post for complete details. This patch enables Visual Studio to look for &#8220;-vsdoc.js&#8221; in the same directory where Jquery.js file is linked to. If you find any problems installing it and want to have intellisense support then you can add the code below to get the support</p>
<pre class="brush: xml;">
&lt;% if(false) { %&gt;
    &lt;script src=&quot;jquery-1.2.6-vsdoc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
    &lt;% }%&gt;
</pre>
<p>read more about it at <a href="http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx">http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx</a>.</p>
<p>Some Examples of JQuery usage:</p>
<p>The code below shows example usage of jQuery Slidedown, Rounded corners, Dynamic menu, Drop down value change dynamically, behavior change of anchor tags etc.</p>
<pre class="brush: xml;">
&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;Default.aspx.cs&quot; Inherits=&quot;_Default&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;Untitled Page&lt;/title&gt;

    &lt;script src=&quot;jquery-1.2.6.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;jcorners.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

    &lt;% if (false)
       { %&gt;

    &lt;script src=&quot;jquery-1.2.6-vsdoc.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

    &lt;% }%&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;

        //Function When window is loaded
        window.onload = function() { alert(&quot;Welcome&quot;); }

        //Write your code when Document is loaded
        $(document).ready(function() {
            alert(&quot;Welcome Again&quot;);

            //rounded corner using JCorners plugin
            $.jcorners(&quot;#round&quot;, { radius: 10 });

            //Animate anchor
            $(&quot;a&quot;).click(function(event) {
                alert(&quot;Thanks for visiting!&quot;);

                event.preventDefault(); //Change default Click event of all anchors on page
                $(this).hide('slow');   //hides slowly
            });

            //Dynamic Menu
            $(&quot;#menu li ul&quot;).hide();
            $(&quot;#menu li&quot;).hover(function() {
                $(this).children().show('slow')
            }, function() {
                $(this).children().hide('slow')
            });

            //Slide Down and Slide up animation
            $(&quot;input.buttonSlideDown&quot;).click(function() { $(&quot;div.content&quot;).find(&quot;p.firstParagraph:hidden&quot;).slideDown(&quot;slow&quot;); });
            $(&quot;input.buttonSlideUp&quot;).click(function() { $(&quot;div.content&quot;).find(&quot;p.firstParagraph:visible&quot;).slideUp(&quot;slow&quot;); });
        });

        //Play with Dropdown List
        function replace() {
            var opt = $('#myselect').children().eq(2);
            //text(&quot;text&quot;) sets value for text element.
            //If you want to keep the original value then you can store it in some var
            opt.text(&quot;sushant&quot;);
            alert(opt.text());
        }
    &lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
    &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
&lt;div style=&quot;margin-bottom:20px;&quot;&gt;
&lt;div class=&quot;content&quot; style=&quot;overflow: hidden; display: block; height: 101px;&quot;&gt;

                Hi this is first paragraph.

                Hi this is second paragraph&lt;/div&gt;
&lt;input type=&quot;button&quot; class=&quot;buttonSlideDown&quot; value=&quot;SlideDown&quot; /&gt;
        &lt;input type=&quot;button&quot; class=&quot;buttonSlideUp&quot; value=&quot;SlideUp&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;width: 50px; margin-bottom:20px;&quot;&gt;
        &lt;a href=&quot;http://jquery.com/&quot;&gt;jQuery&lt;/a&gt;&lt;/div&gt;
&lt;select id=&quot;myselect&quot; style=&quot;margin-bottom:20px;&quot;&gt;
        &lt;option value=&quot;1&quot;&gt;TD1&lt;/option&gt;
        &lt;option value=&quot;2&quot;&gt;TD2&lt;/option&gt;
        &lt;option value=&quot;3&quot;&gt;TD3&lt;/option&gt;
        &lt;option value=&quot;4&quot;&gt;TD4&lt;/option&gt;
        &lt;option value=&quot;5&quot;&gt;TD5&lt;/option&gt;
    &lt;/select&gt;
    &lt;input type=&quot;button&quot; value=&quot;Get Value&quot; onclick=&quot;alert($('#myselect').val())&quot; /&gt;
    &lt;input type=&quot;button&quot; value=&quot;Get Text Value&quot; onclick=&quot;alert($('#myselect option:selected').text())&quot; /&gt;
    &lt;input type=&quot;button&quot; value=&quot;Replace&quot; onclick=&quot;replace()&quot; /&gt;
&lt;div style=&quot;width: 150px; margin-bottom:20px;&quot;&gt;
&lt;ul id=&quot;menu&quot;&gt;
	&lt;li class=&quot;menu&quot;&gt;Menu 1
&lt;ul&gt;
	&lt;li&gt;Item 1&lt;/li&gt;
	&lt;li&gt;Item 2&lt;/li&gt;
	&lt;li&gt;Item 3&lt;/li&gt;
	&lt;li&gt;Item 4&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
	&lt;li class=&quot;menu&quot;&gt;Menu 2
&lt;ul&gt;
	&lt;li&gt;Item 1&lt;/li&gt;
	&lt;li&gt;Item 2&lt;/li&gt;
	&lt;li&gt;Item 3&lt;/li&gt;
	&lt;li&gt;Item 4&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div id=&quot;round&quot; style=&quot;width: 100px; height: 100px; border: 1px solid;&quot;
        runat=&quot;server&quot;&gt;
        This is a big Rounded div&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>So what we see is that everything in jQuery is either a object it self or property or function of that object. The return of a function in jQuery is again an Object hence allowing us to do chaining operations\calls and write real less code to achieve what we want.</p>
<p>There&#8217;s a lot involved in playing with jQuery, writing plug-ins for it and utilizing\testing currently available cool plug-ins. Adding your custom plugin to jQuery is a very straight forward and simple process. Take a look at <a href="http://docs.jquery.com/Plugins/Authoring">http://docs.jquery.com/Plugins/Authoring</a> if you want to write your own plugin.</p>
<p>Hope this post would help those looking to start on jQuery.</p>
<p>Keep quering with jQuery <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks.</p>
<p><a href="http://www.superblogdirectory.com/">Superblog Directory</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=91&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/11/28/getting-started-on-jquery/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>Write a Screen Scrapper or Html Scrapper</title>
		<link>http://sushantp.wordpress.com/2008/11/13/write-a-screen-scrapper-or-html-scrapper/</link>
		<comments>http://sushantp.wordpress.com/2008/11/13/write-a-screen-scrapper-or-html-scrapper/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 09:34:52 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[retrieve urls from a web page]]></category>
		<category><![CDATA[scrape]]></category>
		<category><![CDATA[scrapper]]></category>
		<category><![CDATA[scrapping]]></category>
		<category><![CDATA[screen scrapping]]></category>
		<category><![CDATA[web page urls]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=82</guid>
		<description><![CDATA[Today I developed a small app which does what is called as screen scrapping or html scrapping. We will look into specific development and also what these terms mean. HtmlScrapping means to download web page data which is same as what we see when we do a view source on a web page. This allows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=82&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I developed a small app which does what is called as screen scrapping or html scrapping. We will look into specific development and also what these terms mean. HtmlScrapping means to download web page data which is same as what we see when we do a view source on a web page. This allows us to extract different information like link urls, image urls and data of course which can then be saved into a database and is ready for use via text, xml or database itself.</p>
<p>This app when tries to scrape google.com this is how is appears on local machine.</p>
<p><a href="http://sushantp.files.wordpress.com/2008/11/htmlscrapper.png"><img class="alignnone size-full wp-image-83" title="htmlscrapper" src="http://sushantp.files.wordpress.com/2008/11/htmlscrapper.png?w=450&#038;h=364" alt="htmlscrapper" width="450" height="364" /></a></p>
<p>I am sharing the code which you can use and then play with the web page data in your own way:</p>
<p>UI Part:</p>
<p><em>&lt;body&gt;<br />
&lt;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;&gt;<br />
&lt;div style=&#8221;margin-left:10px;&#8221;&gt;<br />
&lt;asp:Button ID=&#8221;btn&#8221; runat=&#8221;server&#8221; OnClick=&#8221;Btn_Click&#8221; Text=&#8221;Click to Download WebPage&#8221; /&gt;<br />
&lt;asp:DataGrid ID=&#8221;dg&#8221; runat=&#8221;server&#8221; Caption=&#8221;Image URLs&#8221; BorderColor=&#8221;Green&#8221; BorderWidth=&#8221;2pt&#8221; BorderStyle=&#8221;Solid&#8221; &gt;&lt;/asp:DataGrid&gt;<br />
&lt;asp:Literal runat=&#8221;server&#8221; id=&#8221;lbl&#8221; &gt;&lt;/asp:Literal&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;</em></p>
<p>this includes a button which triggers the web page retrieval, a datagrid to show img urls (can be used to show any custom data) and a literal to display the data\page (you can use label or any control here to display data). This can be customized as per the requirement.</p>
<p>Code Behind (C#):</p>
<p>I am just providing btn_click function as other part would remain same in the code behind file.</p>
<pre class="brush: csharp;">
protected void Btn_Click(object sender, EventArgs e)
{

//Create a WebClient object and provide the url to be used
WebClient wc = new WebClient();
string url = &quot;http://www.google.co.in/&quot;;

byte[] urlData = wc.DownloadData(url);
UTF8Encoding utf = new UTF8Encoding();
string completeData = utf.GetString(urlData);

//Used ArrayList to fill extracted info which eventually would be binded to datagrid

ArrayList a = new ArrayList();

//RegEx to match img src=&quot;&quot;. The same can be used to match a href=&quot;&quot; also. Needs some modification to include styling where image has been provided as backgroud url()

Regex r = new Regex(&quot;img src\\s*=\\s*(?:(?:\\\&quot;(?&lt;url&gt;[^\\\&quot;]*)\\\&quot;)|(?&lt;url&gt;[^\\s]* ))&quot;, RegexOptions.IgnoreCase);
MatchCollection mc = r.Matches(completeData);

string value;
foreach (Match mt in mc)
{
foreach (Group gp in mt.Groups)
{
value = gp.Value;
if (!gp.Value.StartsWith(url) &amp;&amp; (!gp.Value.StartsWith(&quot;img src&quot;)))
{
value = url + value;
//This code is up to you to change as the replacement is not as straightforward everytime as it looks below.
completeData = completeData.Replace(gp.Value, value);
}

a.Add(value);
}
}

lbl.Text = completeData;&lt;/em&gt;

&lt;em&gt;dg.DataSource = a;
dg.DataBind();

//Saving the retrieved data to a text file on server

StreamWriter sw = new StreamWriter(HttpContext.Current.Server.MapPath(&quot;test.txt&quot;));
sw.Write(completeData);
sw.Close();

}
</pre>
<p>Hope this would help you if you are planning to get started on writing a HtmlScrapper. You can play with the data in terms of tags, atrributes and styles and then generate xml which would represent your page DOM.</p>
<p>bye for now&#8230;</p>
<p><a href="http://www.bloglisting.net">Blog Listings</a>   <a href="http://www.bloggapedia.com/" title="Blog Directory"><img src="http://www.bloggapedia.com/bp_small_images/blog-gapedia9.png" border="0" alt="Blog Directory" /></a>  <a href="http://www.globeofblogs.com/"><img src="gob_gob.gif" border="0"></a> <a href="http://www.blogcatalog.com/directory/computers">http://www.blogcatalog.com/directory/computers</a> <a href="http://www.blogarama.com/" title="blogarama - the blog directory">blogarama.com</a> <a href="http://www.zimbio.com/member/sushantp"> <img alt="My Zimbio" title="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=sushantp" border="0" /></a><br />
<a href="http://www.topblogarea.com/technology/" title="Technology blogs"><img border="0" src="http://www.topblogarea.com/tracker.php?do=in&amp;id=67536" alt="Technology blogs"></a><br />
<a href="http://www.kosmetisktandvard.se/tandblekning.html">tandblekning</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=82&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/11/13/write-a-screen-scrapper-or-html-scrapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/11/htmlscrapper.png" medium="image">
			<media:title type="html">htmlscrapper</media:title>
		</media:content>

		<media:content url="http://www.bloggapedia.com/bp_small_images/blog-gapedia9.png" medium="image">
			<media:title type="html">Blog Directory</media:title>
		</media:content>

		<media:content url="gob_gob.gif" medium="image" />

		<media:content url="http://www.zimbio.com/images/badges/badgeBlue.png?u=sushantp" medium="image">
			<media:title type="html">My Zimbio</media:title>
		</media:content>

		<media:content url="http://www.topblogarea.com/tracker.php?do=in&#38;id=67536" medium="image">
			<media:title type="html">Technology blogs</media:title>
		</media:content>
	</item>
		<item>
		<title>Why Do you Leave a Company?</title>
		<link>http://sushantp.wordpress.com/2008/10/20/why-do-you-leave-a-company/</link>
		<comments>http://sushantp.wordpress.com/2008/10/20/why-do-you-leave-a-company/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 13:14:58 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[changing job]]></category>
		<category><![CDATA[company]]></category>
		<category><![CDATA[job problems]]></category>
		<category><![CDATA[leaving my company]]></category>
		<category><![CDATA[leaving the job]]></category>
		<category><![CDATA[making a move in career]]></category>
		<category><![CDATA[work culture]]></category>
		<category><![CDATA[work life balance]]></category>
		<category><![CDATA[work satisfaction]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=79</guid>
		<description><![CDATA[Let’s take a look into this interesting question which almost all us go through, any or many number of times. So, in your career if you have moved from one company to another then you would also have seen one of the many possibilities of moving from a company. I looked into it from satisfaction and role perspective of an employee and a company. read more...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=79&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Let’s take a look into this interesting question which almost all us go through, any or many number of times. So, in your career if you have moved from one company to another then you would also have seen one of the many possibilities of moving from a company. I looked into it from satisfaction and role perspective of an employee and a company. Satisfaction – It means different to different people but typically it can be put into a few categories like – Work Satisfaction, Growth Satisfaction (growing within the org) and the Butter part – your cheque. </p>
<p>Get your people involved with interesting and challenging work. Since this is not possible for everybody and every time  hence encourage them to look into new technologies and come up with some demo, paper etc which can later be presented and rewarded on merit basis. Growth satisfaction in terms of ladder or whatever you call it is another important area which affects an employee since it gives you recognition. There are quite a lot cross arguments on this too and I too can write negatives about it but still it affects the majority. Give the right people deserving growth – as simple as that. Third area to look at is you cheque or compensation. This depends on the previous two areas too. An employee’s growth should be aligned to company’s growth and hence compensation should be set such that the negative point shouldn’t come to a persons mind.</p>
<p>So, do people change jobs because of getting a salary hike only? I think it’s not the case most of the time because people want to do good work and if they do good work then they expect growth in all terms. So the reasons could fall under any of just said two things. Sometimes you get pissed off sitting on bench and find yourself handicapped as far as working knowledge is concerned. This makes you look for a change. These days Services companies are hiring like anything without giving due joining date to the prospective employee. This helps them to show more strength and hence helping themselves either with new projects or lease land or even SEZs etc. Once the objective is met sometimes a lot of shedding are seen which we have found to be increased in past one year. This creates some sort of fear in fellow colleagues and then an employee might rush for a safer place.</p>
<p>There’s one more perspective which is very important here to look at and which affects to all of us. THE COMPANY means your manager most of the time. Hence the kind of support you get from your manager, the kind of interest you find in him\her for your career plays a significant role in making you stay longer or shorter in a company. The interpersonal skills of a manager needs to be really great and should put employee’s growth as one of the important priority too. </p>
<p>Your best output comes only when you love your work and if you feel emotionally attached with the company and its growth then you reach the height of what people say ‘giving more than 100%’. Once you find a person in this mode then as a manager you need to be very careful because then this mode should not break or the attachment should not go down otherwise it badly affects the performance and might result into a change of job for your employee. In this case the employee needs to be properly rewarded and encouraged for the good work done. Keep the motivation level up of yourself and your employees.</p>
<p>So, In the end I would like to say both an employee and company needs to understand one others requirements and then compliment each others growth because company is nothing but its people and it can grow only when its most important assets – its employees grow.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=79&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/10/20/why-do-you-leave-a-company/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>BarCamp7 – Computation on Cloud 9 (SaaS, PaaS, Virtualization and more…)</title>
		<link>http://sushantp.wordpress.com/2008/10/03/barcamp7-%e2%80%93-computation-on-cloud-9-saas-paas-virtualization-and-more%e2%80%a6/</link>
		<comments>http://sushantp.wordpress.com/2008/10/03/barcamp7-%e2%80%93-computation-on-cloud-9-saas-paas-virtualization-and-more%e2%80%a6/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 13:29:47 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[amloc]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[barcamp7]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[cloud9]]></category>
		<category><![CDATA[google app]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[PAAS]]></category>
		<category><![CDATA[platform as a service]]></category>
		<category><![CDATA[SAAS]]></category>
		<category><![CDATA[software as a service]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=76</guid>
		<description><![CDATA[Seventh in the series of BarCamp – BarCamp7 was hosted by Amazon Dev Center, Hyderabad on 30th Aug 2008. The theme of BarCamp this time was Computation on Cloud 9 (SaaS, PaaS, Virtualization and more…). There were more than 180 registrations and around 100 participants with 10 sessions including presentations, demos and talks. It was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=76&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Seventh in the series of BarCamp – BarCamp7 was hosted by Amazon Dev Center, Hyderabad on 30th Aug 2008. The theme of BarCamp this time was Computation on Cloud 9 (SaaS, PaaS, Virtualization and more…). There were more than 180 registrations and around 100 participants with 10 sessions including presentations, demos and talks. It was informative in a few sessions but some of the presentations were not so interesting and hence I saw 40% of the crowd moving out by mid event. Anyways, let’s look into the sessions individually – </p>
<p>1)	Introduction Session and Cloud Computing by Ramesh Loganathan – Since the event start a bit late hence all sessions were cut down to 20mins. This session was quick and looked into what Saas\PaaS\Virtualization is and what is Cloud. I found this as a good start to BarCamp.</p>
<p>2)	Grid Computing and Hadoop by Jyoti from Yahoo Research – This session too went well, a bit longer but informative (at least for a few like me ). This was about Grid computing and what a Map Reduce is, which can be found with Hadoop (http://hadoop.apache.org ). </p>
<p>3)	Demo on Google app engine SDK – This was a quick Demo session from Googlers about writing small app using Google App Engine SDK for development and Google Infrastructure for deployment. Google App Engine come under PaaS (Platform as a Service).</p>
<p>4)	Progress – Salesforce introduction –  This session was taken by Salesforce to take the audience to a deeper level into the DB changes which they can make. </p>
<p>5)	Amloc from 3i Infotech – This was all theoretical session on why 3i infotech chose multi tenancy for their banking solution for their client banks.</p>
<p>6)	Demo on EC2 and EBS by a Hyderad based startup – This was all practical and demo based session showing how you actually use an image on EC2 and was one of the best sessions. This was though hit by low internet speed which again was unexpected at Amazon.</p>
<p>This was the last session I attended and then came out. I found Grid computing as most interesting more because it looked into making Grids and looking into search space. Cloud computing is spreading very rapidly because of its core strength – cloud. It can reduce the actual infrastructure cost to minimal in a few scenarios, one of the examples could be testing space where you need large chunk of test machines\server but for less amount of time and once the work is complete the machines are dump and then are required again when some other test pass comes. Here cloud based solutions could be helpful.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=76&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/10/03/barcamp7-%e2%80%93-computation-on-cloud-9-saas-paas-virtualization-and-more%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Aggregation: It’s a one STOP get All</title>
		<link>http://sushantp.wordpress.com/2008/09/29/web-aggregation-it%e2%80%99s-a-one-stop-get-all/</link>
		<comments>http://sushantp.wordpress.com/2008/09/29/web-aggregation-it%e2%80%99s-a-one-stop-get-all/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 08:49:39 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Aggregation]]></category>
		<category><![CDATA[aggregator]]></category>
		<category><![CDATA[all emails at one place]]></category>
		<category><![CDATA[all services at one stop]]></category>
		<category><![CDATA[blog aggregator]]></category>
		<category><![CDATA[blog aggregators]]></category>
		<category><![CDATA[meebo]]></category>
		<category><![CDATA[messenger aggreagation]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[web aggregation]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=68</guid>
		<description><![CDATA[This posts looks into aggregation and how it came into picture. Read more...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=68&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:10pt;line-height:115%;font-family:&quot;">What is there in a shopping mall? It’s a one stop shop kind of thing where you have various options available for whatever you want to buy, of course the mall should be selling what you are planning to buy. </span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;">Now let’s move to the internet world which actually is a forest and then we have several websites offering same services. This made people to think on why not try to take the pain of maintaining similar service on multiple site from the user and help them with the concept of shopping mall. The outcome was called Web Aggregation. Its there from quite a while.</span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;">Lets take a few examples like meebo which aggregates you IM\Messenger and there you can maintain all you messenger simultaneously. A plugin also comes to add this to your blog so that you can chat with your reader. Blogging has taken quite a good place in our internet life hence we cant ignore the blog aggregators. </span></p>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;">Other example could be on the email side where even as of now we can view different email on our desktop client. Though it might also look awesome to have over the web provided the complexity has been handled properly along with nice UI. We find a lot of social websites, travel sites, e-commerce websites and this list is very long to be put here though the point is basically to work on taking them to a common platform and let the user manage them easily on you aggregator.</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=68&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/09/29/web-aggregation-it%e2%80%99s-a-one-stop-get-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>CAPTCHA (Image Code Verification)</title>
		<link>http://sushantp.wordpress.com/2008/08/25/captcha-image-code-verification/</link>
		<comments>http://sushantp.wordpress.com/2008/08/25/captcha-image-code-verification/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 17:41:43 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CAPTCHA]]></category>
		<category><![CDATA[captcha code]]></category>
		<category><![CDATA[image code verification]]></category>
		<category><![CDATA[image verification]]></category>
		<category><![CDATA[login verification]]></category>
		<category><![CDATA[reduce spam]]></category>
		<category><![CDATA[spam comment stop]]></category>
		<category><![CDATA[verification]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=43</guid>
		<description><![CDATA[This post looks in CAPTCHA as what it does and how can you use it in your website. To know about CAPTCHA read the post...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=43&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this post we will take a look on image code matching functionality which we can see in numerous web sites now days. So what is CAPTCHA? Well, CAPTCHA is technique of showing some random alphanumeric text image to user and verify that the user has entered the same text in the verification box or not.</p>
<p>The term CAPTCHA (for Completely Automated Turing Test To Tell Computers and Humans Apart) came in 2000 and was first developed at CMU for Yahoo.</p>
<p>This is very useful technique to stop abusive comments by bots, spams at a lot of places like any site registration, forums, blogs etc. where bots (automated programes) imitate real user and try to spam your product or any sort of information where you are expecting real users </p>
<p>In order to have your website, page CAPTCHA enabled you can write the code by your self for generating the random images and then doing post validation or you can get already written code from net. You can either use it as a dll from codeplex where you can add this to your toolbox and use it as a Control and then do some modifications related to randomization of images, styles, orientation etc in your web.config. Here is the link for CodePlex captcha code as well as the documentation (<a href="http://www.codeplex.com/CAPTCHAGenerator">http://www.codeplex.com/CAPTCHAGenerator</a> ).</p>
<p>The second way is to get the code from web and use it. Here you can make some modifications too as per your requirement. BUT in both the scenarios take a look at the license and then only use it. You should not fall into any issues later </p>
<p>You can also download CAPTCHA from reCAPTCHA by visiting <a href="https://admin.recaptcha.net/accounts/login/?next=/recaptcha/createsite">https://admin.recaptcha.net/accounts/login/?next=/recaptcha/createsite</a>  and signing in.</p>
<p>Below is a snapshot of CAPTCHA looks like etc.</p>
<p> <img class="alignnone size-full wp-image-46" src="http://sushantp.files.wordpress.com/2008/08/captcha-example.png?w=239&#038;h=128" alt="" width="239" height="128" /></p>
<p>CAPTCHA Example</p>
<p><img class="alignnone size-full wp-image-46" src="http://sushantp.files.wordpress.com/2008/08/captcha-example1.gif?w=314&#038;h=125" alt="" width="314" height="125" /></p>
<p>ReCaptcha Example.</p>
<p>Hope this will help you. bye for now.</p>
<p>visit my team at <a href="http://global.rampgroup.com">http://global.rampgroup.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=43&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/08/25/captcha-image-code-verification/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/08/captcha-example.png" medium="image" />

		<media:content url="http://sushantp.files.wordpress.com/2008/08/captcha-example1.gif" medium="image" />
	</item>
		<item>
		<title>IPhone optimized web application development</title>
		<link>http://sushantp.wordpress.com/2008/07/23/iphone-optimized-web-application-development/</link>
		<comments>http://sushantp.wordpress.com/2008/07/23/iphone-optimized-web-application-development/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 18:29:29 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IPhone]]></category>
		<category><![CDATA[IPhone development]]></category>
		<category><![CDATA[IPhone web app]]></category>
		<category><![CDATA[IPhone web development]]></category>
		<category><![CDATA[onorientationchange]]></category>
		<category><![CDATA[window scroll]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=38</guid>
		<description><![CDATA[This post looks into IPhone optimized web application development. To know more details read the blog...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=38&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I got a chance to work on a demo for an IPhone only web app and hence while working on it came to know how we can make optimal use of the screen and develop accordingly. Many a website use IPhone optimized pages and you can find them as iphone.websitename.com like flickr, bank of america etc. We can either play with our CSS to customize our present website to work optimally with IPhone or build a new page which is IPhone optimized.</p>
<p>With IPhone optimization I simply mean that we should be presenting only important informaiton and that too intelligently since we have a small screen with us to work on. IPhone comes with Safari browser hence you can get the same experience opening any website as you do on your pc\laptop. It is just that it is not build specifically for IPhone you normal see full page in the small screen which make you to use the multi touch zoom to expand the page and view the area which you are interested in. This generated the need of building pages which fit in this screen size.</p>
<p>Iphone can be used in both &#8220;portrait&#8221; and &#8220;landscape&#8221; mode where the screen dimension becomes 320X480 px and 480X320 px accordingly. We should take care of this orientation change too in our development.</p>
<p><a href="http://sushantp.files.wordpress.com/2008/07/iphone.jpg"><img class="alignnone size-medium wp-image-40" src="http://sushantp.files.wordpress.com/2008/07/iphone.jpg?w=300&#038;h=300" alt="" width="300" height="300" /></a></p>
<p>Important points while developing a web app for IPhone:</p>
<p>1) Try running your application on full screen mode this give you more flexibility in terms of space. You need to call a small javascript function from body onload</p>
<p> </p>
<p> </p>
<p>function initFlow() {</p>
<p>window.scrollTo(0, 1);</p>
<p>}</p>
<p>call this from &lt;body onload=&#8221;initFlow()&#8221;&gt; in order to get you page opened in full screen mode.</p>
<p>2) Using IPhone specific stylesheet. There are several media types which can be used with CSS, including print, handheld, and screen. iPhone ignores print and handheld media queries because these types do not supply high-end web content. Therefore, use the screen media type query for iPhone.</p>
<p>To specify a style sheet that is just for iPhone without affecting other devices, use the only keyword in combination with the screen keyword in your HTML file. Older browsers ignore the only keyword and won’t read your iPhone style sheet. Use device-width, max-device-width, and min-device-width to describe the screen size.</p>
<p>For example, to specify a style sheet for iPhone, use an expression similar to the following:</p>
<p>&lt;link media=&#8221;only screen and (max-device-width: 480px)&#8221; href=&#8221;small-device.css&#8221; type= &#8220;text/css&#8221; rel=&#8221;stylesheet&#8221;&gt;</p>
<p> </p>
<p>3) Use Safari specifc (Web Kit) style keywords to take the best use of rendering and effects. You can find all the styles supported by safari at <a href="http://developer.apple.com/internet/safari/safari_css.html">http://developer.apple.com/internet/safari/safari_css.html</a> and <a href="http://developer.apple.com/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-SW1">http://developer.apple.com/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-SW1</a></p>
<p>4) In case you have different content like you have in FAQ and help page then using fieldset or targeting the div id with # and then using relative and absolute position can make the bottom div not coming on main screen and once clicked will come on focus. You need to push the above content with padding in -110px etc to move it this much on the left side such that it is again not visible on the screen.</p>
<p>5) Use big buttons as people need to use fingers rather than mouse to click.</p>
<p>6) IPhone opens the number keypad if you use &#8220;zipcode&#8221; in the name field of a input text box rather than default text keypad.</p>
<p>7) Use the OnOrientatioChange event to catch the orientation change of IPhone and use the CSS accordingly.</p>
<p>Rest of the development can be done either wth HTML\JS\ASP.NET etc as you do regularly. You can use IUI library to use pre written javascript for page titles, page size setup etc.</p>
<p>Hope this helps in case you are planning to develop a web app targetting IPhone.</p>
<p>bye for now.</p>
<p>visit my team at <a href="http://india.rampgroup.com">http://india.rampgroup.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=38&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/07/23/iphone-optimized-web-application-development/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/07/iphone.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Add Flickr Photos on my Website or Blog</title>
		<link>http://sushantp.wordpress.com/2008/07/17/add-flickr-photos-on-my-website-or-blog/</link>
		<comments>http://sushantp.wordpress.com/2008/07/17/add-flickr-photos-on-my-website-or-blog/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 06:29:00 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[add images to my blog]]></category>
		<category><![CDATA[blog photos]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[flickr photos]]></category>
		<category><![CDATA[photos blogs]]></category>
		<category><![CDATA[photos on blog]]></category>
		<category><![CDATA[photos website]]></category>
		<category><![CDATA[pics customization]]></category>
		<category><![CDATA[pictobrowser blog]]></category>
		<category><![CDATA[putting pics on my blog]]></category>
		<category><![CDATA[putting pics on my website]]></category>
		<category><![CDATA[slideshow on my website]]></category>
		<category><![CDATA[vuvox blog]]></category>
		<category><![CDATA[vuvox website]]></category>
		<category><![CDATA[website photos]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=25</guid>
		<description><![CDATA[If you are looking to add Flickr photos to your website or blog you can do so in a few ways. Please read the blog for complete details...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=25&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was looking for adding my flickr photos to my website and hence searched flickr. If you want to add a filmstrip or badge to your website you need to have a Flickr account, some photos added to it and then visit <a href="http://www.flickr.com/badge.gne">http://www.flickr.com/badge.gne</a> to complete a 4 step process of generating strip. It is customizable by default to vertical or horizontal and comes with html or flash type strip.</p>
<p>Once you get the code to be added to you website then add it under any container and if its not as per what you are looking for you can change the style which come with the code and make it as per your choice.</p>
<p>Flickr by default gives you strip but sometime you might be looking for a slideshow or preview mode of your photos on your website or blog. I found pictobrowser (<a href="http://pictobrowser.com/">http://pictobrowser.com/</a>) to be doing it really good as well as found a really nice Beta studio called VuVox ( <a href="http://www.vuvox.com/">http://www.vuvox.com/</a>) where again you can create customize your picture galery, if you are looking for it too. I am presenting a sample of how a slideshow code generated from pictobrowser looks like:</p>
<div id="attachment_30" class="wp-caption alignnone" style="width: 460px"><a href="http://pandeysushant.blogspot.com/2008/07/add-flickrs-photos-on-my-website-or.html"><img src="http://sushantp.files.wordpress.com/2008/07/pictobrowser.png?w=450&#038;h=483" alt="Flickr photos using pictobrowser" width="450" height="483" class="size-full wp-image-30" /></a><p class="wp-caption-text">Flickr photos using pictobrowser</p></div>
<p>If you want to get a slideshow for youself click on pictorbrowser link in the image above and then you can follow a 3 step process to get your flickr photos on your website or blog. As of now it doesnt work with picasaweb. Vuvox works both with picasaweb and flickr.</p>
<p>Hope this helps in case you are looking for something similar.</p>
<p>bye for now.</p>
<p>keep an eye.<br />
visit my team @ <a href="http://india.rampgroup.com/">http://india.rampgroup.com/</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=25&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/07/17/add-flickr-photos-on-my-website-or-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://sushantp.files.wordpress.com/2008/07/pictobrowser.png" medium="image">
			<media:title type="html">Flickr photos using pictobrowser</media:title>
		</media:content>
	</item>
		<item>
		<title>Ramp Dev Xplode aka RDX &#8211; Ramp&#8217;s Annual R&amp;D event</title>
		<link>http://sushantp.wordpress.com/2008/07/13/ramp-dev-xplode-aka-rdx-ramps-annual-rd-event/</link>
		<comments>http://sushantp.wordpress.com/2008/07/13/ramp-dev-xplode-aka-rdx-ramps-annual-rd-event/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 19:31:28 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Dev event]]></category>
		<category><![CDATA[dev mashup]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[exciting environment]]></category>
		<category><![CDATA[good company]]></category>
		<category><![CDATA[R&D event]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[Technical event]]></category>
		<category><![CDATA[workplace]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=22</guid>
		<description><![CDATA[Ramp India has started a new culture in itself to promote, recongnize and award out of box thinker by starting annual R&#38;D event. We kicked off the first event Today and its going to be mind racing\grilling 24 hours to come up with a prototype, patentable idea, software :), technical article, solution to business problem, process improvement proposals etc.

<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=22&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ramp India has started a new culture in itself to promote, recongnize and award out of box thinker by starting annual R&amp;D event. We kicked off the first event Today and its going to be mind racing\grilling 24 hours to come up with a prototype, patentable idea, software <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , technical article, solution to business problem, process improvement proposals etc.</p>
<p>I found great response from fellow Rampers towards the event and as many as 11 teams registered for the event and all 23 participants seem to be fighting for the Title. Its around 1 AM and still these freeks dont want to take rest. It gives me a pleasure to sense the success of our first step.</p>
<p>People are working on Google Maps annotation with social networking and local services incorporation, Single page Book Mangement System using CMS and presented with Silverlight, Image Folder compression, Toolkit to enable drag-n-drop for Ajax Server Control and making a peronalized home page, Enabling Search from within VS for mouse down and up actions, Categorized Search Engine prototype, Localized intranet chat, Intranet machine monitoring system, Complex RegEx builder and checker etc</p>
<p>I am looking forward to see all of these getting as much completed as possible in this one day and then attend the presentation by all team. I am excited to be part of RDX&#8230; lets see who wins!! fingers crossed.</p>
<p>keep an eye&#8230;</p>
<p>bye for now.</p>
<p>visit my team at <a href="http://global.rampgroup.com">http://global.rampgroup.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=22&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/07/13/ramp-dev-xplode-aka-rdx-ramps-annual-rd-event/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>Ramp India&#8217;s 2nd Anniversary &#8211; 4th July 2008</title>
		<link>http://sushantp.wordpress.com/2008/07/08/ramp-indias-2nd-anniversary-4th-july-2008/</link>
		<comments>http://sushantp.wordpress.com/2008/07/08/ramp-indias-2nd-anniversary-4th-july-2008/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 15:03:18 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[exciting work]]></category>
		<category><![CDATA[great place to work at]]></category>
		<category><![CDATA[my company]]></category>
		<category><![CDATA[Ramp]]></category>
		<category><![CDATA[ramp india]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[startups in hyderabad]]></category>
		<category><![CDATA[work culture]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=21</guid>
		<description><![CDATA[Today I take this opportunity to say that I am proud to be part of Ramp India and contributing towards its growth and success. We are small but strong team aiming high with the right skills and focus...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=21&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>On 4th of July we completed 2 years as a company and celebrated the auspicious day in style. We went to Araku valley and spend a joyous weekend there. Its a small but strong team which is aiming high and have right skills and focus to achieve it.</p>
<p>I have been the part of this journey from past one year where I have seen a lot of exciting and challenging work and a great set of talent to work with. Let me take this opportunity to describe the last one year for me and from me.</p>
<p>I joined Ramp in Sep ’07 and it has been an amazing journey since then. I found a young, vibrant, fun loving, energetic and inspiring team to be associated with. I came here from Microsoft IDC where I worked for 2 and half years, with aspiration of growing fast, facing new challenges, working in a startup environment and becoming one of it’s pillars in development.</p>
<p>Among all, the best thing which I cherish a lot in Ramp is the amount of freedom an individual has got to present his\her idea, talent and opinion along with the respect which is given to every opinion. It’s all ‘WE’ here because of the believe that we are the ‘Company’ and it’s not a separate entity. This keeps all other factors, which you look for in a company to work at, on the positive side. We always try to set a bar for us in every aspect of work we do because we feel that ‘Scope of improvement is ever’.</p>
<p>I see some really exciting work going on in the direction of Sharepoint Services, LINQ, Silverlight apart from different domain specific ASP.NET\C# development.</p>
<p>I see the coming year to be even more growth yielding and taking us to the next level. I am excited and looking forward for another good innings&#8230;</p>
<p>bye for now.</p>
<p>visit my team at <a href="http://global.rampgroup.com">http://global.rampgroup.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=21&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/07/08/ramp-indias-2nd-anniversary-4th-july-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>Tip for Visual Studio &#8211; part 2</title>
		<link>http://sushantp.wordpress.com/2008/06/19/tip-for-visual-studio-part-2/</link>
		<comments>http://sushantp.wordpress.com/2008/06/19/tip-for-visual-studio-part-2/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 16:16:29 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[make solution visible]]></category>
		<category><![CDATA[show solution always]]></category>
		<category><![CDATA[solution hide]]></category>
		<category><![CDATA[solution not visible]]></category>
		<category><![CDATA[vs 2005 tips]]></category>
		<category><![CDATA[vs 2008 tips]]></category>
		<category><![CDATA[vs tips]]></category>
		<category><![CDATA[VS tips and tricks]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=18</guid>
		<description><![CDATA[This post looks into providing a tip in case you find you solution file missing in the solution explorer which you try to add a project to it. Please read the blog to find the solution for it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=18&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>This post is about a simple tip in using Visual Studio while creating a new website or project.</p>
<p>Some time you create a blank solution and then add say a website to it. What you see is that the website is shown in the solution explorer but there is no solution. Now you want to add another project but there is no solution hence you wonder where the solution is and how can I add a new project to my solution with the already opened website attached to it.</p>
<p>What happens actually is that showing solution option which is by default turned off causes the solution to take back seat once a project is associated to it. To enable the same go to tools -&gt; options -&gt; Projects settings and find always show solution options.</p>
<p>The image below shows the same:</p>
<p><a href="http://bp2.blogger.com/_mDuWqJiJyXE/SFqEL2Kj44I/AAAAAAAAAUU/cJZDnXMZHx0/s1600-h/Solution.png"><img style="cursor:hand;" src="http://bp2.blogger.com/_mDuWqJiJyXE/SFqEL2Kj44I/AAAAAAAAAUU/cJZDnXMZHx0/s320/Solution.png" border="0" alt="" /></a></p>
<p>This helps a lot when you are creating a blank solution, adding a website and other library proects to it and have to later add the solution to a version control system.</p>
<p>Hope this helps!!</p>
<p>bye for now.<br />
visit my team @ <a href="http://india.rampgroup.com/">http://india.rampgroup.com/</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=18&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/06/19/tip-for-visual-studio-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://bp2.blogger.com/_mDuWqJiJyXE/SFqEL2Kj44I/AAAAAAAAAUU/cJZDnXMZHx0/s320/Solution.png" medium="image" />
	</item>
		<item>
		<title>What if you have an Idea but Technology involved is not yet ripe?</title>
		<link>http://sushantp.wordpress.com/2008/06/14/what-if-you-have-an-idea-but-technology-involved-is-not-yet-ripe/</link>
		<comments>http://sushantp.wordpress.com/2008/06/14/what-if-you-have-an-idea-but-technology-involved-is-not-yet-ripe/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 06:22:10 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[idea and technology]]></category>
		<category><![CDATA[market research]]></category>
		<category><![CDATA[product]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=17</guid>
		<description><![CDATA[Some times this happens that we got some cool idea where we see a good market too but then we find that we are thinking a bit ahead and the present technology involved with our idea is present but not in the beset of its shape, so what shall we do? shall we just plunk our idea or is there something more which we can think about.
Read my views in this post...
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=17&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I found this question somewhere on linkedIn and hence thought of putting my views on this in the current post. Some times this happens that we got some cool idea where we see a good market too but then we find that we are thinking a bit ahead and the present technology involved with our idea is present but not in the beset of its shape, so what shall we do? shall we just plunk our idea or is there something more which we can think about.</p>
<p>In my view, in most of the scenarios the same work could be done using alternate technology (because mostly the new technology would be providing more of automation, some features to help the development along with say some new features about which you are not sure because they are not stablalized).</p>
<p>If the target technology is path breaking whose alternate is not there (very less chance indeed) then also you can go ahead if have a very strong belief on your idea. The best you can do here is to get some patents done on the idea, implementation etc so that you also evolve as the technology and the patents will help you in getting the fruits later.</p>
<p>If the alternate technology is there go ahead use that and complete the product. You can make the development scalable and flexible enough to even adopt the new technology you are talking about later, once it ripe.</p>
<p>Also, when you go about actual working for an idea to a product, at any point of time you always have a lot of options to choose from in terms of both product and technology. It&#8217;s more about your firmness and belief for the product or idea, how good the market reseach has gone and how good your business, revenue and growth plans are.</p>
<p>Put in your comments and views too on this.</p>
<p>bye for now.</p>
<p>visit my team at <a href="http://global.rampgroup.com">http://global.rampgroup.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=17&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/06/14/what-if-you-have-an-idea-but-technology-involved-is-not-yet-ripe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
		<item>
		<title>TFS 2008 &#8211; Source Control Annotation</title>
		<link>http://sushantp.wordpress.com/2008/06/13/tfs-2008-source-control-annotation/</link>
		<comments>http://sushantp.wordpress.com/2008/06/13/tfs-2008-source-control-annotation/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 13:17:59 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[annotate VSTS]]></category>
		<category><![CDATA[source annotation]]></category>
		<category><![CDATA[Source control annotation]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[TFS 2008]]></category>
		<category><![CDATA[TFS annotate]]></category>
		<category><![CDATA[TFS Source annotation]]></category>
		<category><![CDATA[VSTS annotation]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=16</guid>
		<description><![CDATA[This post looks into the annotation feature which can be used with VSTS 2005 with installation of TFS power tools or with VSTS 2008 with installation of TFS 2008. Using annotation feature we can get line level information about the last check-in made. This helps in finding the check-in which caused either a build to fail, application to crash or any other error to occur.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=16&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
This post will look into the Source Control Annotation feature in VSTS 2005 using TFS power tool or in VSTS 2008 using TFS 2008.</p>
<p>The annotation feature gives me the changeset information for each line of a source file. Hover over the changeset give me detail about the changeset as who did the check-in for that changeset and when was this checked-in.</p>
<p>You will find the same changeset numbers for different lines because the annotation presentation is based on the source file perspective. We see the changeset hence for each line of code.</p>
<p>It looks like:</p>
<p><a href="http://bp3.blogger.com/_mDuWqJiJyXE/SFJxG90kQwI/AAAAAAAAAUM/9wR2EG2ooXQ/s1600-h/Annotate.png"><img style="cursor:hand;" src="http://bp3.blogger.com/_mDuWqJiJyXE/SFJxG90kQwI/AAAAAAAAAUM/9wR2EG2ooXQ/s320/Annotate.png" border="0" alt="" /></a></p>
<p>Double clicking respective changeset give me all the files included in it via a file viewable wizard. We can see what the file was and also compare it with the latest ones or with a particular version file.</p>
<p>Main thing to observer here is that you will only see changeset corresponding to the last change for that file and not all the changeset&#8217;s i.e. Changeset history. You can always check the history by looking into the history option though.</p>
<p>I find this annotate useful in finding particular changeset details in case the code fails or any error comes even at the line level. If you are debugging a failure you would find it very useful and also your QA team would be happy in case they do some white box testing and find some bug. Bug can be exactly filed for person who actually caused that bug to surface.</p>
<p>I will be blogging on more aspects of TFS 2008 in near future.</p>
<p>bye for now.</p>
<p>visit my team @ <a href="http://global.rampgroup.com/">http://global.rampgroup.com</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=16&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/06/13/tfs-2008-source-control-annotation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_mDuWqJiJyXE/SFJxG90kQwI/AAAAAAAAAUM/9wR2EG2ooXQ/s320/Annotate.png" medium="image" />
	</item>
		<item>
		<title>TFS 2008 Installation &#8211; IIS Settings</title>
		<link>http://sushantp.wordpress.com/2008/05/30/tfs-2008-installation-iis-settings/</link>
		<comments>http://sushantp.wordpress.com/2008/05/30/tfs-2008-installation-iis-settings/#comments</comments>
		<pubDate>Fri, 30 May 2008 07:16:25 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS 6.0 Compatibility mode]]></category>
		<category><![CDATA[IIS 7.0 and TFS 2008]]></category>
		<category><![CDATA[Installing SQL Server 2005 on Windows Server 2008]]></category>
		<category><![CDATA[TFS 2008]]></category>
		<category><![CDATA[TFS 2008 on Windows Server 2008]]></category>
		<category><![CDATA[TFS Install issues]]></category>
		<category><![CDATA[TFS installation]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=15</guid>
		<description><![CDATA[This post looks into installation issues with TFS 2008 on Windows Server 2008, SQL Server 2005, WSS 3.0 platform. We need to enable IIS 6.0 Compatibility mode on the Windows Server so that SQL Server 2005 understands that IIS 6.0 is present and hence can enable Reporting Services required during TFS 2008 installation.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=15&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>
<div>This post will look into TFS 2008 installation on Windows Server 2008 where IIS 6.0 has to play a role too. If you are installing TFS 2008 on Windows Server 2008, WSS 3.0, SQL Server 2008 you would need to have IIS 6.0 compatibility mode on as SQl Server 2007 doesnt know about IIS 7.0 and thinks that no IIS is installed on system. This will cause the TFS installation stop at system compatibility check.</p>
<p>Go to Server Manager -&gt; Server Roles -&gt; Add Role -&gt; Select Web Server (IIS 7.0) there. This will install Web server.<br />
Now go to Server Manager -&gt; Roles -&gt; WEb Server -&gt; Add Role Features -&gt; Select IIS 6.0 Compatibilty option and other IIS 6.0 related options from the list.</p>
<p>The figure below shows Server Explorer on Windows Server 2008 with IIS 6.0 enabled as part of Role Services.</p>
<p><a href="http://bp2.blogger.com/_mDuWqJiJyXE/SETRy7SB0VI/AAAAAAAAAUE/8tegqiXYqi0/s1600-h/IIS_Setting.png"><img style="cursor:hand;" src="http://bp2.blogger.com/_mDuWqJiJyXE/SETRy7SB0VI/AAAAAAAAAUE/8tegqiXYqi0/s320/IIS_Setting.png" border="0" alt="" /></a></p>
<p>Once you are done with the changes, Save them and your SQL Server will now be able to find IIS 6.0 installed on the system. Run the TFS 2008 set up and see if it passes the system compatibility check.</p>
<p>Hope this will help you in case you find installation issues with TFS 2008 on WS 2008, SQL Server 2005, Windows Sharepoint Server 3.0.</p>
<p>bye for now.<br />
visit my team @ <a href="http://global.rampgroup.com/">http://global.rampgroup.com/</a></div>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=15&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/05/30/tfs-2008-installation-iis-settings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>

		<media:content url="http://bp2.blogger.com/_mDuWqJiJyXE/SETRy7SB0VI/AAAAAAAAAUE/8tegqiXYqi0/s320/IIS_Setting.png" medium="image" />
	</item>
		<item>
		<title>3D Computer and 3D Experience &#8211; my random thoughts</title>
		<link>http://sushantp.wordpress.com/2008/05/20/3d-computer-and-3d-experience-my-wild-thoughts/</link>
		<comments>http://sushantp.wordpress.com/2008/05/20/3d-computer-and-3d-experience-my-wild-thoughts/#comments</comments>
		<pubDate>Tue, 20 May 2008 10:17:56 +0000</pubDate>
		<dc:creator>sushantp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[3D Computer]]></category>
		<category><![CDATA[3D desktop]]></category>
		<category><![CDATA[3D Experience]]></category>
		<category><![CDATA[3D monitor]]></category>
		<category><![CDATA[3D screen]]></category>
		<category><![CDATA[3D technology]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[hologram]]></category>
		<category><![CDATA[hologram computer]]></category>
		<category><![CDATA[Silverlight Theme]]></category>
		<category><![CDATA[spherical shape for 3D computer]]></category>
		<category><![CDATA[Windows Desktop 3D]]></category>

		<guid isPermaLink="false">http://sushantp.wordpress.com/?p=14</guid>
		<description><![CDATA[3D Experience on your Desktop, Can we make a 3D exhibiting device using software changes or even by using completely different hardware or devices. There are several area we can look upon like hologram computer, 3D Computer from Spherical object and some gas or laser effect, using Themes to change Desktop, or using Monitor to emulate 3D for 2D objects.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=14&subd=sushantp&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><em><span style="color:#3366ff;">3D Experience on your Desktop, Can we make a 3D exhibiting device using software changes or even by using completely different hardware or devices <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></em></p>
<p>In this post I will try to put my views, ideas, random thoughts towards having a 3D experience on windows desktop as well as for some apps.</p>
<p>Can’t we treat our desktop as on of the 6 faces of a cube which can help us in taking the current desktop to 6 more dimensions you can say with giving 3D like experience in 2D world itself. A cursor drag at the corners of desktop would cause the other face to slide in or clicking on a arrow button at the corners would do the same or clicking on 2D matrix views of complete cube will take you the particular face of cube which was clicked by a user on the 2D matrix. The hover effect on the 2D matrix will enable the user to view an enlarged image of a particular face of cube. Now am I asking for a windows desktop code to change <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  yes and no, yes to get the experience from the base (Windows), No – you can enable a theme which would do things for you, here you would need to design the other 5 faces as windows just give you one (which you will any how override with your theme.</p>
<p>We can talk of having a 3D experience on your computer screen itself with the help of specially designed monitors where you can use a glass to get the 3D experience of desktop and can switch to normal 2D experience. The mixed mode of this experience would give a user an extra dimension of digital lifestyle experience.</p>
<p>Ok, let’s look at this thought and try to think and put your comments. What could be the shape of monitor, surface if you want a real 3D experience and which technology would you go with? CRT – with electron not hitting the screen rather hitting some gas like helium or other which or some sort of laser experience to give a real 3D experience using an open air tool or a closed window box. I can think of spherical shape would be good to have length; width; height components for any object and would help you to take a look of that object from rear and sides tooJ. This also needs to have great calculations of for proper ratio for relative distance of things as well as the best of graphics, Comp Vision and virtual reality. Let’s see if people are looking into these.</p>
<p>Hologram, looks different from different angles giving the impression of 3D and well orientation change. I know that research is going on in the direction of using Hologram for achieving 3D Computer at all. If we can dynamically put objects on a hologram surface we would certainly be able to get 3D experience going on. This needs a closer look into hologram image and impressions.</p>
<p>Put in your thoughts and comments and lets try to get something useful out of this post <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Bye for now.<br />
my team @ <a href="http://india.rampgroup.com/">http://india.rampgroup.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sushantp.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sushantp.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sushantp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sushantp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sushantp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sushantp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sushantp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sushantp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sushantp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sushantp.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sushantp.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sushantp.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sushantp.wordpress.com&blog=3558222&post=14&subd=sushantp&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sushantp.wordpress.com/2008/05/20/3d-computer-and-3d-experience-my-wild-thoughts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/79258bda4e467537dcb029cce08ce520?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">sushantp</media:title>
		</media:content>
	</item>
	</channel>
</rss>