EditableDisplay in CurrentPage

Dec 16, 2008 at 1:45 PM
Hi, I would be glad to learn where and how an EditableDisplay Control is injected into CurrentPage so that the OnInit event of EditableDisplay is raised? Thanks in advance.
Coordinator
Dec 16, 2008 at 10:16 PM
The EditableDisplay control is usually added to aspx code and added by asp.net. If you wonder how the editor gets there why not look for yourself in the code.
Dec 17, 2008 at 8:39 AM
Edited Dec 17, 2008 at 10:09 AM
Thanks for the reply and for this successful CMS project. I've learned many things while debugging source and I found my answer in masterpage.
---------------------------------------------------------
<n2:EditableDisplay ID="dte" PropertyName="Text" SwallowExceptions="true" runat="server" />
---------------------------------------------------------
I missed that when no content is defined in a page, the content in the selected masterpage is displayed as default