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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Download Button on DataGrid

Thread ID:





144054 Apr 16,2019 09:18 AM UTC Apr 17,2019 06:48 AM UTC ASP.NET Core - EJ 2 1
Tags: DataGrid
Karl McGeough
Asked On April 16, 2019 09:18 AM UTC

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"

Thavasianand Sankaranarayanan [Syncfusion]
Replied On 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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon