We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Download Button on DataGrid

Hi i am trying to create a download button allowing the user to click the button and download the file stored. I am trying to write a script template but cannot seem to get it to work. Any ideas? this is what i have at the minute..

<script id="document" type="text/x-template">
    <a asp-action="Download" class="btn blue-assembly"

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team April 17, 2019 06:48 AM UTC

Hi Karl, 

Greetings from Syncfusion support. 

Based on your query we suspect that you want to insert a custom button inside Grid column. We have already discuss about “how to render a custom button inside a Grid column” query in the following documentation. 

Please let us know if you need further assistance on this.  

Thavasianand S. 

Live Chat Icon For mobile
Up arrow icon