web.config preview transform Not working.

i was working with one of my old Projects Web.config transformation files.

The preview transform in visual studio 2012 suddenly stopped working for one of the project.

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">


Then I find out the old web.config file got this settings I removed the xmlns part solved the problem.


Hope this tip helpful for some one.

Tagged , , ,

No Sound in Google Chrome 23 Flash Video.

I recently updated to google chrome 23 and sound stopped working again in flash player.

its because of the bug in chrome 23. To fix it follow these steps.

Click on the Windows Start button > Control Panel > Sound > select the speaker/playback device and click the Configure button > in theSpeaker Setup dialog that appears, if you have multiple audio channels listed, please test the Stereo configuration, and let us know what happens. select stereo option if any other option selected.

More details here.

update : Still no permanent solution from Google and  the sound quality also not good in chrome. So I installed IE Tab, a google chrome extension which helps me to open the flash player sites in chrome itself (with out opening internet explorer) and no need to change the sound settings.

update2: Still no solution from google. I uninstalled latest version of google chrome and installed the old version(22) from here in which flash sound is working fine. Never go to about google chrome in the menu, otherwise it will update it to the latest version of google chrme.

Tagged , , ,

Check / Uncheck All checkboxes in Listview / Gridview with checkbox on header using JQuery.


I was trying to write a code to Check / Uncheck All checkboxes in Listview with checkbox on header using JQuery.


This is the first version of my code.


$("#<%=listviewName.ClientID %> 
        table tbody tr th:last input:checkbox").live('click', function () { 
   var checkedStatus = this.checked; 
    $("#<%=listviewName.ClientID %>        
       table tbody tr td:last-child input:checkbox").each(function () { 
                   this.checked = checkedStatus; 

This is the second version of my code.


$(document).ready(function () {  $('#<%=listviewName.ClientID%>     
    input[id*="chkselectAll"]:checkbox').live('click', function () {         
          input[id*="chkselect"]:checkbox').attr('checked', this.checked);           


I finally end up with this version.


$("[id$='chkSelectAll']").live('click', function () {
    $("[id$='chkSelect']").attr('checked', this.checked);


Note: just make sure to set clientmode to Static in the checkbox.

<asp:CheckBox ID="chkSelectAll" ClientIDMode="Static" 
      EnableViewState="false" runat="server" />


Just wondering how many lines of code needed to write the same in JavaScript? By the way, Any one got better version?

Tagged , , , , , ,

How to easily share your photos, videos, movies on every device ( TV, phone, tablet, Laptop, pc, Xbox, play station etc. ) wirelessly in your home?


For a long time, I was looking for easy , free and best solution to share my hard disk contents (photos,videos,movies) across different devices in my home like my Samsung TV, My Android Phone, Android Tablet, My PC, Laptop Etc. with out any Complex wires. I got 1 TB of external hard disc connected to my main PC which got all my personal digital collections. I usually share the root folder of my External hard disk and access the photos, videos from my Laptops.


But I find it difficult to play them on my tablet and my TV. Every time i Need to connect My Laptop to the TV to watch movies on TV, even though my TV got internet connection. There’s no easy solution to access my photos and videos using my mobile or tablet. You can solve this problem by storing your photos and videos on the cloud. But i don’t want to store all my personal stuff on the cloud and i don’t want to wait for my files to be uploaded to the cloud.


There are lots of solutions to this problem. I was looking for easy , best and "Free" solution for this problem. You can share your photos, videos across different devices on your network using Microsoft media player. But the problem is, its not supporting all the video formats.you can also set up your own windows media server on home. But i don’t want to spent money on New hardware and software.

The best Solution

I was goggling for best solution for my problem and came to know about the term "DLNA" . Here’s the encyclopaedia definition for DLNA.

"The Digital Living Network Alliance (DLNA) is a non-profit collaborative trade organization established by Sony in June 2003, that is responsible for defining interoperability guidelines to enable sharing of digital media between consumer devices such as computers, printers, cameras, cell phones, and other multimedia devices.

DLNA uses Universal Plug and Play (UPnP) for media management, discovery and control.[4] UPnP defines the types of device that DLNA supports ("server", "renderer", "controller") and the mechanisms for accessing media over a network."

I came to know that, If you set up a DLNA server on your pc,then its easy to share your digital contents across the devices connected to your home network. I checked My devices in my home, My Samsung TV in home supports DLNA. MY Android Phone and Tablet, I can install UPnP client from the Google play. You can search "UPnP client" on Google play aka Android market. My Pc or Laptop, I can still access the folders, since i am using windows OS every where.

So, i decided to set up a Media server on my pc and i found out there are plenty of free ones available. you can check the list here . I tried many of them in the list and finally found the Best one. Serviio!!!

How to?

The best One worked very well for me is Serviio. You can download Serviio from here  . All you need to do is, download Serviio and install it on your pc and point your Media folder to Serviio. That’s it. Restart your pc or wireless router if you face any connection issues.  Now My Samsung TV automatically detects my UPnP server and shows all my photos, Videos and Movies. I was able to access my media content from my Phone and my tablet as well, using UPnP Client installed. The same also works for iOS devices but i never tested. if you have Xbox or play station, then you can also access your media content, since they also supports UPnP. Even if you don’t have Xbox or play station, Most of the cheap blue ray players nowadays supports UPnP.  So you can easily access your Media contents using Your remote and watch it on big screen.

The main reason, I choose Serviio among all others are, its free. its got very good forum support.  it streams most of the video formats unlike Microsoft media player. it also supports playing live media content using RSS feed. if you can watch any live video on your pc, you can watch that on your TV with out any cables using Serviio. This live TV streaming part need some technical knowledge but doable. For more details check the Serviio forum. It also got los of plugins like YouTube, BBC iPlayer etc. using that you can watch videos on your TV with out any annoying advertisements on your player. My little daughter loves her YouTube baby rhymes on big TV.


I am using Serviio for the past 3 months. so far so good. if i have any connectivity problem, I just restart the Serviio or my router solves the problem.  Only thing i hate about Serviio is, its developed using java and not on Open source.  So I need to wait for the bugs and new features to be added to the server. I Mostly developed c# applications in my career and I was searching for any open source c# implementation of  UPnP server. Found one.  Mono-UPnP .  Unfortunately, its still in early stage of development.  So looking forward to test it or to contribute towards it.


For a long time, I was thinking of doing some useful blog post. Finally done it. Hope this is useful for any one like to share photos, videos, movies on every device ( TV, phone, tablet, Laptop, pc, Xbox, play station ) in your home. if you have any problem setting up the same environment on your home, ask me on the comments, I am ready to help!!!. Thanks.

blogging again!!!

I didn’t blog for a long time due to personal reasons and lazy too. Now planning to start blogging again. Installed Live writer and some cool extension on my laptop. Hope I will blog often. Planning to write about the technical stuff i fancy and some solution to my day to day technical problems. Le’s see how it goes!!.

Skype Now supports 5-way group video call

Just tested the skype beta version. Its really cool. skype beta now supports 5-way group video call.

skype group video

oovoo is the one previously supported the group video call on windows. But they changed to Premium paid service.

Hope Skype Wont change this cool feature as a premium service.

How to run Android on Iphone 3gs?

Check this cool youtube video how to run the android on iphone 3gs?

For More details check this website http://linuxoniphone.blogspot.com/

How to Convert Your Laptop into Tablet PC for 40 USD?

Check out the video first.

Cool isn’t it? if you are in US, you can buy this one for 40 USD on http://www.woot.com/
Only Today(21st apr 2010).

Hope you guys Know about Woot. Woot sells some cool stuff every day with lesss price. Only Available in US. Some times they ship internationally with etc postage fee.

if you are using google chrome browser for daily usage, check this cool extension by chrome

using this you check can daily the woot productson chrome itself. Woot!!!! Woot! I like this idea of woot!!! any one wana start this in some other country?

How to Import .ICS file into your google Calender?

I am always fed up my .ics files from events opening in Microsoft outlook. I mostly use Google calendar. I tried google calendar Import. Didn’t work. And as usual asked the help from google Baba and found this interesting codeplex app to slove my problem.

First Download the Following File.

Steps from Codeplex Doc

Pre requisites
Windows computer with .NET Framework v2.0 or newer installed. 
Internet connection 🙂

Installation and use
To use the software you need to complete two basic tasks; first configure the application to use your GCal account and second configure windows to use this application to open .ics files. To fulfill these tasks follow these steps:

1. Configure the application to use your GCal account

Download the software and copy it to a folder in your hard disk (it doesn’t need installation).
Open the file gcalicsimporter.exe.config with your favorite text editor and replace:
{User Name Here} with your google user name (or full email if you are using a Google hosted domain).
{User Password Here} with your google account password.
{Your calendar URL here} with your calendar URL. For this URL use:

https://www.google.com/calendar/hosted/{Your domain here}
if you are using Google hosted domains


if you are using a calendar on a gmail.com account.

2. Configure Windows to use this aplication to handle .ics files

Using Windows Explorer right click over an .ics file and choose the “Open With…” (or “Choose default program…” if you are using Windows 7) menu option.
Locate the “gcalicsimporter.exe” file in the folder you chose before and mar the “Always use the selected program to open this kind of file” check box, then click OK.

From that moment on, whenever you double click a .ics file or click a link to one in an application, that file will be opened with the “gcalicsimporter.exe” application and it will read the contents of the file, importing the EVENTS data it finds on it to the Google calendar that you configured.

THe biggest problem with this tool is leaving your
gmail account password on config file with out encryption. Hope soon
google will find some permanent solution. 
if any one knows better solution share it on comments section.

The iPad Can Also Run Windows 95

Cool Hack. Windows 95 on IPAD. check it out the youtube video above.