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?

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.
this.Page.FindControl(“SPRibbon”).Visible = false

B.
SPRibbon.GetCurrent(me.Page).CommandUIVisible = false

C.
SPRibbon.GetCurrent(me.Page).Dispose()

D.
this.Page.FindControl(“SPRibbon”).Dispose()



Leave a Reply 0

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