This is a migrated thread and some comments may be shown as answers.

Applying an HTML helper method in a template (MVC)

1 Answer 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 2
Ian asked on 12 Jul 2013, 06:22 PM
I have a simple grid and need to apply some formatting from the server onto the rendering:

This code below doesn't do any formatting strange, it just displays the value:

columns.Bound(e => e.MarketValue).Title("Mkt. Value ($)")
         .Template(@<text>@Formatters.FormatCurrency(item.MarketValue)</text>)
Is there another way to apply this server function to the MarketValue ?

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 16 Jul 2013, 09:49 AM
Hi Ian,

 
Could you please provide your current  Grid code - this would help us better understand what is the current setup that you have and provide you with better solution. 

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Ian
Top achievements
Rank 2
Answers by
Vladimir Iliev
Telerik team
Share this question
or