Apr 24, 2014, 10:25 AM
How to use the same named template in multiple DataViews? (mvc razor)
Hi!
I can't find an example for my problem. I have a rather complex item template with lots of html markup. I would like to use it in many DataViews, referenced by an ID, instead of copying it several times.
Something like this:
Thanks much!
I can't find an example for my problem. I have a rather complex item template with lots of html markup. I would like to use it in many DataViews, referenced by an ID, instead of copying it several times.
Something like this:
X.Dataview().ItemTpl("IDofMyComplexItemTemplate")...
Is this possible somehow?Thanks much!