Yearly Archives: 2010

Can’t drag and drop Song/Video file in iTunes

Usually I just drag and drop music(mp3) files into itune when want to add  music file into my iPhone 4.  But suddenly I can not drag and drop songs in iTunes after updating iTune software to version 10.1.  The only

Posted in Liesure Tagged with:

Howto: Set page focus to message after Ajax update

There are so many good things about AJAX but we need to tweak it some times to make it even user experience. Let me explain my situation first.  I have a datagrid that has a edit button tied to each

Posted in Microsoft Technology Tagged with: ,

File upload control fails first time, then works on subsequent submits

As everybody knows that FileUpload control doesn’t work inside update panel, there are some work around and in fact I have posted post about that as well.   Here is my post link just in case you got here and

Posted in Microsoft Technology Tagged with:

Join Video files(mpg, flv) using DOS command

I have downloaded couples flv files and I wanted to join those files so that I can watch video file by just opening one video file.  I was looking for freeware software I can use to join mpg or flv

Posted in Microsoft Technology Tagged with:

ASP.NET color converter tool

Wants to convert HEX to RGB or RGB to HEX in C# ASP.NET application? I have created Color Converter ASP.NET application.  You can convert HEX color code values to RGB Color.  It’s free tool.  I have also included source code

Posted in Microsoft Technology Tagged with: ,

why does Modalpopup close on postback?

ads: Watch Indian TV Serials Online I thought modalpopup control is very easy to use but it’s not.  It took me whole day to figure it out why ModalPopup Extender closes down during page postback. You should have to keep

Posted in Microsoft Technology Tagged with: ,

Response.Redirect() throws an error when called inside Update Panel

When I tried to call Response.Redirect() inside a UpdatePanel, it was throwing me an AJAX error. Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls

Posted in Microsoft Technology Tagged with: ,

How to define Enum in JavaScript

Everybody familiar with Enum in server side scripting language.  I was wondering if we can define Enum type in JavaScript and I found that we can define type as Enum. Here is the syntax to define Enum. Here is example

Posted in Microsoft Technology Tagged with:

How to: Bind Jagged array or Single dimension array to repeater control

In this article I will show you how you can bind Jagged array or single dimension array to the repeater control. 1) Jagged array Let’s create Jagged array first. Create repeater control on the aspx page. Bind Jagged array to

Posted in Microsoft Technology Tagged with:

Session is null in ASHX handler

I was trying to access session inside ASHX page but I was getting a null reference exception.  I think session should be available on every request but it’s not the case with ASHX handler.  I was wrong there. If you

Posted in Microsoft Technology Tagged with: ,