Which code segment should you include in the Web Part?

You need to create a Web Part that hides the out-of-the-box Ribbon on the current page.
Which code segment should you include in the Web Part?
A. SPRibbon.GetCurrent(this.Page).CommandUIVisible = false;
B. SPRibbon.GetCurrent(this.Page).Dispose();
C. this.Page.FindControl("SPRibbon").Dispose();
D. this.Page.FindControl("SPRibbon").Visible = false;

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.