Adding Custom Properties to Usercontrol
Hello, Im new to sitefinity, I've been having trouble pulling a property set on my page in the cms from a usercontrol. Looking online I should be able to do this:
this._CurrentPage = new PageManager().GetPageNode(new Guid(SiteMapBase.GetCurrentProvider().CurrentNode.Key));
imgToolbox.ImageUrl = this._CurrentPage.GetValue("Thumbnail");
But PageNode apparently doesnt contain GetValue though the forum posts ive seen show it does??!
Any help would be much appreciated.
Thanks
Phil
Hello,
Could you detail a bit what you're trying to achieve? Using a small sample I was able to get some page attributes using PageNode.Attributes, but I am not sure this is what you are looking for.
Also, could you provide the link to the forum post you're mentioning?
Regards,
Sitefinity Laurent
Telerik