Try our conversational search powered by Generative AI!

What class is the Container object?

The container in all page based templates is the PageTemplateContainer class.
Oct 09, 2003 17:24
Oct 10, 2003 15:00
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(); }
Nov 26, 2004 15:26
* 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.