Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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.