| Author: Ramesh 25 Jul 2008 | Member Level: Bronze | Rating: Points: 2 |
just replace button with the link(server anchor tag) and apply the link to that file which is to be downloaded...
|
| Author: Rishanthan 25 Jul 2008 | Member Level: Bronze | Rating: Points: 3 |
<script type ="text/javascript" > function clk() { this.document.execCommand('SaveAs',null,'test.csv'); return false; } </script> call this function in onclientclick
|