Archive for the ‘Programming’ Category

Transfer focus to button at run-time, if you have more than one buttons

Tuesday, December 15th, 2009
Code for ASP.Net in C#.Net:
TextBox1.Attributes.Add(“onkeydown”, “if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById(‘” + Button1.UniqueID + “‘).click();return false;}} else {return true}; “);

What is OpenID?

Friday, February 22nd, 2008

OpenID eliminates the need for multiple usernames across different websites, simplifying your online experience. With one OpenID you can login to all your favorite websites and forget about online paperwork.

You get to choose the OpenID Provider that best meets your needs and most importantly that you trust. At the same time, your OpenID can stay with you, no matter which Provider you move to. And best of all, the OpenID technology is not proprietary and is completely free.

OpenID Foundation announced that Google, IBM, Microsoft, VeriSign, and Yahoo! have joined the board. Here are some places you can visit to see where you can use your OpenID to log in today:

Fill HTML DropDown Using Javascript

Sunday, October 7th, 2007

function FillDropDown()
{

How to print contents of DataGridView

Friday, October 5th, 2007

Hi all,

I am developing a windows based application in C#.Net and using

JavaScript to Check Characters in a String

Friday, October 5th, 2007

//The function given below is use to validate the string in correct format or not. In case of correct format the function will return true as result otherwise will return false.

<script language=’javascript’ type=’text/javascript’>

function IsLettersDigitsChars(strString)
{