What class is the Container object?

Vote:
 
The container in all page based templates is the PageTemplateContainer class.
#13512
Mar 25, 2008 18:37
Vote:
 
Thanks!
#13513
Mar 25, 2008 18:37
Vote:
 
I was looking at doing the same thing here and I managed it... Its too bad there was no code to share with the forum so here's mine: Works well with a repeater control etc... suggestions on a better way welcome :) aspx: <%#GetProperty(Container.DataItem,"WriterName")%> code behind: protected string GetProperty(Object page, string prop) { PageData oPage = page as PageData; if (oPage == null) return string.Empty; return oPage.Property[prop].ToString(); }
#13514
Mar 25, 2008 18:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.