Hi again,
I have tried to use the following lines of code to access the node, in which the control is located in the backend, but they throw an exception:
Code:Node currentNode = Node.GetCurrent();
litBannerText.Text = currentNode.Name;
Following is the exception:
Code:[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.presentation.nodeFactory.Node.GetCurrent() +64
umbracoControls.FlashBanner.Page_Load(Object sender, EventArgs e) +167
Can anybody help???
Thanks in advance :o)
Kim