For any client side action we have to choose a scripting language to build our logic. Let us go for JavaScript. When use a file control we have to use a button control for doing the uploading action. It is better to refer to Anand’s article CodeSnip: Working with FileUpload Control to get the basic [...]
Archive for the ‘Java script’ Category
How to filter uploader control using client side script in asp.net
Posted in .net framework 2, Java script, asp.net 1.1, asp.net 2, tagged asp.net 1.1, asp.net 2, c#, javascript on April 8, 2008 | 2 Comments »
how to check all check boxes on gridview in asp.net using javascript
Posted in Java script, asp.net 2 on July 21, 2006 | 6 Comments »
please paste the following code in your java script area
function CheckAllDataViewCheckBoxes( checkVal)
{ for(i = 0; i < document.forms[0].elements.length; i++)
{elm = document.forms[0].elements[i]if (elm.type == ‘checkbox’)
{
{elm.checked = checkVal }
}
}
}
and following line [...]