New to Telerik UI for ASP.NET MVCStart a free 30-day trial

Displaying Audio Files within the Grid

Environment

ProductTelerik UI for ASP.NET MVC Grid
Progress Telerik UI for ASP.NET MVC versionCreated with the 2022.2.621 version

Description

How can I display audio files within the Telerik UI for ASP.NET MVC Grid?

Solution

  1. Utilize a Column Template
  2. Within the template, add the conventional audio element that is primarily utilized for displaying an audio file on a the web page.
  3. Specify the file name and extension using the Template Syntax.
Model.cs

    public class EmployeeViewModel
    {
        public string Sound { get; set; } //stores both the file name and extension
    }

For a complete implementation of the suggested approach, refer to the following GitHub Project.

More ASP.NET MVC Grid Resources

See Also