kentico_jurajo
-
5/11/2009 3:24:11 PM
RE:CurrentDocument not available when referenced from Custom Form Control
Hi,
On the FORM tab, when editing the document you cannot use the CurrentDocument property since you are not on the document but on the Form tab, so therefore it is null.
You can try to use this: CMS.FormControls.BasicForm.EditedObject and in this property is the information about the edited document.
Best Regards, Juraj Ondrus
|