November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
PageData osloPage = GetPage(new PageReference(osloPageId));
int meldingId = (int)osloPage["MeldingID"]
--Jeremy.
if (!IsPostBack) { PageReference pl = ((PropertyPageReference)CurrentPage.Property["ViktigMeldingID"]).PageLink; VikitgMeldingControl.PageLink = pl; VikitgMeldingControl.DataBind(); }
I can use CurrentPage.Property because the page loaded is default.aspx and it has a property called "ViktigMeldingID". But I cannot use this for the page Oslo, as this page is never shown and only used for structuring pages in Edit mode. I do however know the Page ID as this is retrieved for showing (sub) menu items.