How can I render a model without transformations?

Bryan Drenner asked on February 21, 2014 10:18

I have a model, either from a custom document type or a custom table. That model is rendered in a unique way on a particular page template. That rendering of the model, or view, is strongly associated with the larger page template. Therefore, it makes sense to include the model's view-markup on the page's template. However, Kentico repeaters require me to separate this markup from the page template, in the form of transformations.

Is there a way to bypass transformations, and instead render a model directly on the page template using <ItemTemplate> or some similar feature?

Recent Answers


Juraj Ondrus answered on February 25, 2014 02:47

Hi,

I am not sure if you are talking about MVC models and views or the ASPX view engine. Anyway, in Kentico there is no such a feature to do exactly what you need. I am sorry for this inconvenience.

Best regards, Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.