Inside GenericWebPart - IAttributeAccessor
Posted by: MarkItUp - Thinking Products,
on 22 Nov 2005 |
View original
Within the web part framework there is a powerful feature that allows us to turn ordinary web controls into web parts simply by dropping them onto a zone. The real beauty of this is that we can even treat the web control as a web part in markup. The following snippet of code shows a Label being assigned an ExportMode property value:
<asp:Label id="Label1" runat="server" ExportMode="NonSensitiveData" />
Clearly the Label control has no such property so how is it that...