04 Aug 2007
21 Mar 2008
Link to this post
First, I apologize for so many posts today, but I'm in the thick of it and a deadline is approaching. Unfortunately, I find the help CHM just a little to sketchy on "real world" samples. I wish there were better documentation with regard to the API.
Anyway, is there a way from a custom user control to get a reference to the parent "cmsPage"? I ask this because my client has asked that for several pages, she would like a "last modified" date to appear on the page - automatically. So, I see that in the PageInfo object there is indeed a date modified (whether it's the published date or not - well, that's a different story). Additionally, with other objects or interfaces (like IPage), I see some interesting info, but I do not know how to set that reference from the user control's perspective.
Thanks in advance for you help.