Skip to main content


Showing posts from October, 2010

Google Search

Custom Search

Live Search

Yahoo Search

Search the web Search this site

Piano + Guitar = Harpejji

Are you interested in musical instruments? If so have you seen an instrument which combines the Piano and the Guitar? It is manufactured by a company named Marcodi and is named as Harpejji. The sounds from it is truly fascinating, experience the sounds for you self by visiting their site. For people who would like to buy it the pricing and ordering details are also there in the site.Click this link to see the event of presenting Harpejji first time to the great musician A. R. Rahman.

MaxLength property not Working in TextBox

If you are involved in coding using .Net sooner or later you will notice that when the TextMode of a TextBox is changed to MultiLine the MaxLength property will stop working. What this means is in the textbox users will be able to type as many character as they want. When searching the web for a fix for this I found several ideas to solve this. Following is the code which I modified for my requirement. Hope this helps.ASPX

<htmlxmlns=""><headrunat="server"><scripttype="text/javascript">function RestrictLength(textBox) {/* Get the Max Length attribute's value. */var allowedLength = textBox.getAttribute('MaximumLength');/* Check for the number of characters typed in by the user. */if (textBox.value.length > allowedLength) {/* If it is more than the allowed limit remove the additional text. */            textBox.value = textBox.value.substring(0, allowedLength);/*  Show a message to user with the to…