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 idea of using FileUpload control. Then at the button Client event we have to add … [Read more...] about How to filter uploader control using client side script in asp.net
Java script
how to check all check boxes on gridview in asp.net using javascript
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 on the header for ur check boxes field in item tamplate of grid … [Read more...] about how to check all check boxes on gridview in asp.net using javascript