asp.net mvc - MVC 4 Custom HTML Helper Vs Custom Display Template -


so, i've obj structure below.

comparedobject:

public list<string> objs { get; set; } public string propname { get; set; } 

modelobj:

public list<comparedobject> cobjs { get; set; } 

i've scenario in need loop through "cobjs" , render comparison table of list<string> object lengh 3 records (in row).

i've achieved using custom html helper make generic enough used in other screens. but, told custom display template faster , better @ performance in scenario.

please explain best option , why.

thanks in advance!!


Comments