Display values in comma separated format in ASP.Net MVC

mahesh213
 
on Oct 05, 2021 03:20 AM
459 Views

Hi,

In below code values are displaying in list format

<script type="text/kendo" id="Name">
    <ul>
        #for(var i=0;i<data.length;i++){#
            <li> #.data[i].Name#</li>
        #}#
    </ul>
</script>

my requirement is that display values in comma separed format A,B,C

Can you please help me

Download FREE API for Word, Excel and PDF in ASP.Net: Download
mahesh213
 
on Oct 06, 2021 11:43 PM

I resolved this issue by creating one field in model and join those values in csv format  in c# and finally bind to view by usng client template function