I currently have a "Dashboard" full of CEWPs and DFWPs. It is required that the user can see the last update DateTime for each web part, which I would define as the greatest Modified DateTime of the list items displayed in each web part.
I would like to display this "Last Updated" DateTime in the Title of the WebPart.
I have build a VisualWebPart project in VS2010 that does this.
Now, I need to figure out how to extend this functionality to any web parts on the "Dashboard" or on any sites in general. Am I going down the correct path here? Is there a way for me to extend the base WebPart class so that all webpart types inherit this functionality.
Or...would it be better for me to simply write some client side script to iterate through all web parts on the page and then iterate through all of their list items, calculating the greatest Modified DateTime and then writing it to the Title bar.