Display

Topics: Customizing Orchard
Dec 8, 2011 at 5:40 AM

Hi,

 

I want go through Display method, Which class has this method? 

 @Display(item) i want know whats Display inside

 

lakmal

 

Coordinator
Dec 9, 2011 at 1:14 AM

Display is the result of DisplayHelperFactory.CreateHelper(ViewContext, this). It is a dynamic object, a DisplayHelper.

This is a fairly complex piece of code. What is it exactly that you're trying to do or understand?

Dec 9, 2011 at 2:10 AM

Its regarding this post

http://orchard.codeplex.com/discussions/281306

Display method exract Title from router part. I want know how it does. 

Dec 9, 2011 at 7:20 AM

OK, I have fix that. I use following 

item.Title

and for Id

item.ContentItem.Id