Is there a way for a web part to figure out the hosting page is being loaded into SharePoint Designer ?
R – Detect page is loaded into Sharepoint Designer
sharepointsharepoint-designer
sharepointsharepoint-designer
Is there a way for a web part to figure out the hosting page is being loaded into SharePoint Designer ?
Best Answer
Assuming WSS 3.0 / MOSS 2007, Yes:
or, depending on your context,
Update: A cruder way might be to peek at the HttpRequest headers - I'm sure SPD sents a header.
-Oisin