Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
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.