I have the requirement to not allow users to export my custom web part.

How do I disable/hide the Export menu option?
|
I have the requirement to not allow users to export my custom web part.
How do I disable/hide the Export menu option? |
|||
|
|
|
See the WebPartExportMode Enum. You will set this enum when adding the user control to the page. You can allow no properties to be exported.
|
|||||
|
|
@Tim's answer was what I needed. I ended up using an override and I have a Web Part Property (
|
|||
|
|