I'm attempting to completely hide a custom web part I'm writing under specific circumstances. What I'm not finding a lot of help on is actually hiding the complete web part. Using:
this.Hide = true;
will hide the content of the web part, but it appears to leave the Chrome behind. I can't change the Chrome display, so that's not an option right now. Is there a more complete way to hide the complete web part using C#?