So, I have a user widget with public property with default value described in constructor.
This default value must be current page name.
pageTitle = new PageManager().GetPageNode(new Guid(SiteMapBase.GetCurrentProvider().CurrentNode.Key)).Title
pageTitle = SiteMapBase.GetActualCurrentNode().Title
is working until I click "Edit" link for this widget.
Seems that Edit window asks my widget and
is being calculated again. But I see that
are null. Probably because
is of type
. How can I get
in this case and will it help me to get current page title?