Im trying to create a editpanel plugin and only want to display it on one page type. The same way as the EPiServer Form Data plugin works.
How do i do this?
/Peter Ragndahl
You can see the source for the Form Data plugin in the SDK, under source\EPiServer\edit\formpostings.ascx.cs.
However, the code for the forms plugin do not test for a spesific page type, but rather the presence of any properties of type PropertyForm.
You could test CurrentPage.PageTypeID or PageTypeName instead.
Steve