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
protected void dubugprop() { DynamicPropertyCollection props = DynamicProperty.ListForPage(CurrentPage.PageLink); foreach(DynamicProperty prop in props) { Response.Write("Property " + prop.PropertyValue.Name + " is"); switch(prop.Status) { case DynamicPropertyStatus.Defined: Response.Write(" set on this page to " + prop.PropertyValue.ToString()); break; case DynamicPropertyStatus.Inherited: Response.Write(" inhertied from " + prop.InheritedPageLink.ToString() + " with value " + prop.PropertyValue.ToString()); break; case DynamicPropertyStatus.Undefined: Response.Write(" not defined."); break; } Response.Write("
If the status is Inherited the property value is not printed."); }